panhui há 5 anos atrás
pai
commit
d59c2d86d5
2 ficheiros alterados com 6 adições e 2 exclusões
  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",
     "backgroundTextStyle":"light",
-    "navigationStyle": "custom"
+    "navigationStyle": "custom",
+    "backgroundColorTop":'#FF6C00',
+    "backgroundColorBottom":'#ffffff'
 }
 </config>
 <template>

+ 3 - 1
src/pages/mine.vue

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