Преглед изворни кода

style: 修改公共背景样式

liangan пре 1 месец
родитељ
комит
8410f75427

+ 4 - 0
src/pages.json

@@ -91,6 +91,10 @@
         "navigationStyle": "custom"
       }
     },
+    {
+      "path": "pages/missionCenter/missionCenter",
+      "type": "page"
+    },
     {
       "path": "pages/search/search",
       "type": "page",

+ 0 - 6
src/pages/income/income.vue

@@ -185,12 +185,6 @@ function queryList(pageNo, pageSize) {
   </z-paging>
 </template>
 
-<style>
-page {
-  background: #f5f5f5;
-}
-</style>
-
 <style lang="scss" scoped>
 :deep(.wd-radio-group) {
   background: transparent;

+ 6 - 0
src/pages/index/index.vue

@@ -205,3 +205,9 @@ function queryList(pageNo, pageSize) {
     </view>
   </z-paging>
 </template>
+
+<style>
+page {
+  background: #fff;
+}
+</style>

+ 0 - 6
src/pages/mine/mine.vue

@@ -113,9 +113,3 @@ function queryList(pageNo, pageSize) {
     </view>
   </view>
 </template>
-
-<style>
-page {
-  background: #f5f5f5;
-}
-</style>

+ 6 - 0
src/pages/search/search.vue

@@ -132,6 +132,12 @@ function queryList(pageNo, pageSize) {
   </z-paging>
 </template>
 
+<style>
+page {
+  background: #fff;
+}
+</style>
+
 <style lang="scss" scoped>
 :deep() {
   .wd-navbar__title {

+ 1 - 0
src/style/index.scss

@@ -10,6 +10,7 @@
 
 :root,
 page {
+  background: #f5f5f5;
   font-size: 28rpx;
   // 修改按主题色
   --wot-color-theme: #e61b28;