Parcourir la source

feature: 首页变更

梦辉 il y a 1 semaine
Parent
commit
1f565841b9

+ 9 - 3
src/pages.json

@@ -19,12 +19,18 @@
       }
     },
     {
-      "path": "pages/home/home",
+      "path": "pages/digitalDoorIndex/index",
       "style": {
         "navigationBarTitleText": "奉化数字门牌"
       }
     },
     {
+      "path": "pages/home/home",
+      "style": {
+        "navigationBarTitleText": "奉化数字门牌-承诺列表"
+      }
+    },
+    {
       "path": "pages/home/webView",
       "style": {
         "navigationBarTitleText": ""
@@ -44,7 +50,7 @@
     }
   ],
   "preloadRule": {
-    "pages/home/home": {
+    "pages/digitalDoorIndex/index": {
       "network": "all",
       "packages": [
         "subPages"
@@ -301,7 +307,7 @@
     "backgroundColor": "#ffffff",
     "list": [
       {
-        "pagePath": "pages/home/home",
+        "pagePath": "pages/digitalDoorIndex/index",
         "text": "首页",
         "iconPath": "/static/images/barIcon/home.png",
         "selectedIconPath": "/static/images/barIcon/home-selected.png"

+ 1 - 1
src/pages/blank/blank.vue

@@ -277,7 +277,7 @@ export default {
 
             app.globalData.openid = exemptionRes.data.userInfo.id;
             uni.reLaunch({
-              url: "/pages/home/home",
+              url: "/pages/digitalDoorIndex/index",
             });
           }else {
             this.$toast('获取用户信息失败')

+ 13 - 0
src/pages/digitalDoorIndex/index.vue

@@ -0,0 +1,13 @@
+<script>
+
+</script>
+
+<template>
+<view>
+测试
+</view>
+</template>
+
+<style scoped lang="scss">
+
+</style>

BIN
src/static/images/digitalDoor/composite.png


BIN
src/static/images/digitalDoor/enterprise.png


BIN
src/static/images/digitalDoor/house.png


BIN
src/static/images/digitalDoor/interest.png


BIN
src/static/images/digitalDoor/person.png


+ 1 - 1
src/subPages/pages/register/register.vue

@@ -448,7 +448,7 @@ export default {
                 btnValue: '编辑'
             });
             uni.navigateTo({
-                url: '/pages/home/home'
+                url: '/pages/digitalDoorIndex/index'
             });
         },
 

+ 2 - 2
src/subPages/pages/scanCode/scanCode.vue

@@ -83,7 +83,7 @@ export default {
             };
             // app.globalData.NBID = params.NBID;
             uni.switchTab({
-              url: '/pages/home/home'
+              url: '/pages/digitalDoorIndex/index'
             });
           } else {
             uni.showToast({
@@ -119,7 +119,7 @@ export default {
         code: id
       }
       uni.switchTab({
-        url: '/pages/home/home'
+        url: '/pages/digitalDoorIndex/index'
       });
     }
   },