huangxw 1 月之前
父節點
當前提交
99a5155708
共有 4 個文件被更改,包括 9 次插入2 次删除
  1. 3 2
      src/main.ts
  2. 3 0
      src/plant/base/base-edit/models/base-info/base-info.vue
  3. 3 0
      src/uni.scss
  4. 0 0
      stats.html

+ 3 - 2
src/main.ts

@@ -4,14 +4,14 @@ import * as Pinia from 'pinia';
 import 'uno.css';
 import { selectDictLabel, selectDictLabels } from './utils/ruoyi';
 import { useDict } from '@/utils/dict';
-import uviewPlus from 'uview-plus';
+import uviewPlus, { setConfig } from 'uview-plus';
 import { navigateBackOrHome, showToast } from '@/utils/common';
 import routerGuard from '@/uni_modules/hh-router-guard/src/index';
 const uviewProps: any = {
     config: {
         loadFontOnce: true,
         color: {
-            primary: '#714B22',
+            primary: '#37A954',
         },
     },
     props: {
@@ -36,6 +36,7 @@ const uviewProps: any = {
 export function createApp() {
     const app = createSSRApp(App);
     app.use(Pinia.createPinia());
+    setConfig(uviewProps)
     app.use(uviewPlus, () => {
         return {
             options: {

+ 3 - 0
src/plant/base/base-edit/models/base-info/base-info.vue

@@ -5,6 +5,9 @@
                 <up-alert type="primary" description="description"></up-alert>
                 <view>xx</view>
             </view>
+            <template #bottom>
+                <up-button text="月落" type="primary"></up-button>
+            </template>
         </z-paging>
     </view>
 

+ 3 - 0
src/uni.scss

@@ -17,6 +17,9 @@
 @import '@/assets/styles/public.scss';
 @import '@/assets/styles/common.scss';
 @import '@/assets/styles/uview-plus.scss';
+$u-primary: #37A954;
+$u-primary-dark: #37A954;
+$up-primary: #37A954;
 /* 行为相关颜色 */
 $uni-color-primary: #37A954;
 $uni-color-success: #4cd964;

File diff suppressed because it is too large
+ 0 - 0
stats.html


Some files were not shown because too many files changed in this diff