panhui 5 年之前
父節點
當前提交
d59c2d86d5
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 3 1
      src/pages/Home.vue
  2. 3 1
      src/pages/mine.vue

+ 3 - 1
src/pages/Home.vue

@@ -2,7 +2,9 @@
 {
 {
     "navigationBarTextStyle": "white",
     "navigationBarTextStyle": "white",
     "backgroundTextStyle":"light",
     "backgroundTextStyle":"light",
-    "navigationStyle": "custom"
+    "navigationStyle": "custom",
+    "backgroundColorTop":'#FF6C00',
+    "backgroundColorBottom":'#ffffff'
 }
 }
 </config>
 </config>
 <template>
 <template>

+ 3 - 1
src/pages/mine.vue

@@ -5,7 +5,9 @@
     "usingComponents": {
     "usingComponents": {
         "van-grid": "/vant/grid/index",
         "van-grid": "/vant/grid/index",
         "van-grid-item": "/vant/grid-item/index"
         "van-grid-item": "/vant/grid-item/index"
-    }
+    },
+    "backgroundColorTop":'#ffffff',
+    "backgroundColorBottom":'#f2f4f5'
 }
 }
 </config>
 </config>
 <template>
 <template>