tangning 9 maanden geleden
bovenliggende
commit
8eda0ddb8d
3 gewijzigde bestanden met toevoegingen van 17 en 8 verwijderingen
  1. 13 6
      components/tabbar/index.vue
  2. 2 1
      pages/home/webview.vue
  3. 2 1
      store/index.js

+ 13 - 6
components/tabbar/index.vue

@@ -134,6 +134,13 @@ export default {
       },
       list: [
         {
+          active: 'https://4dscene.4dage.com/new4dkk/deng/static/img/icon_home_active.png',
+          dark: 'https://4dscene.4dage.com/new4dkk/deng/static/img/icon_home_dark.png',
+          light: 'https://4dscene.4dage.com/new4dkk/deng/static/img/icon_home_light.png',
+          name: '首页',
+          url: "https://sit-nanhuacs.4dage.com/web/index.html#/home",
+        },
+        {
           active: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_scan_active@2x.png",
           dark: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_scan_dark@2x.png",
           light: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_scan_light@2x.png",
@@ -161,12 +168,12 @@ export default {
           name: "妙笔生花",
           url: "https://sit-nanhuacs.4dage.com/web/index.html#/composite",
         },
-        {
-          active: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_user_active@2x.png",
-          dark: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_user_dark@2x.png",
-          light: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_user_light@2x.png",
-          name: "我的",
-        },
+        // {
+        //   active: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_user_active@2x.png",
+        //   dark: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_user_dark@2x.png",
+        //   light: "https://4dscene.4dage.com/new4dkk/deng/static/img/icon_user_light@2x.png",
+        //   name: "我的",
+        // },
       ],
       title: "Hello",
     };

+ 2 - 1
pages/home/webview.vue

@@ -47,6 +47,7 @@ export default {
 
 .webview {
   flex: 1;
-  height: 300rpx;
+  width: 100%;
+  height: 100vh;
 }
 </style>

+ 2 - 1
store/index.js

@@ -50,7 +50,8 @@ const store = new Vuex.Store({
                         uni.setStorageSync('userInfo', JSON.stringify(res.user));
                         uni.$u.route("/pages/home/webview",
                             {
-                            url: 'https://sit-nanhuacs.4dage.com/web/index.html#/home',
+                            // url: 'https://sit-nanhuacs.4dage.com/web/index.html#/home',
+                            url: 'http://192.168.0.20:8800/#/home',
                             data: 20
                         });
                     })