panhui 5 yıl önce
ebeveyn
işleme
d59c2d86d5
2 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  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>