zhaoxiaohai 2 年之前
父节点
当前提交
a63ef5e327
共有 3 个文件被更改,包括 19 次插入2 次删除
  1. 16 0
      app.json
  2. 1 0
      pages/college/index.wxml
  3. 2 2
      pages/tabbar/home/index.wxml

+ 16 - 0
app.json

@@ -26,6 +26,22 @@
         "pages/threadedTree/index",
         "pages/threadedTree/details/index"
     ],
+    "subpackages": [
+        {
+            "root": "packageA",
+            "pages": [
+                "contacts/index"
+            ]
+        }
+    ],
+    "preloadRule": {
+        "pages/tabbar/home/index": {
+            "packages": [
+                "packageA"
+            ],
+            "network": "all"
+        }
+    },
     "usingComponents": {
         "My_card": "/components/My_card/index",
         "My_switch": "/components/My_switch/index",

+ 1 - 0
pages/college/index.wxml

@@ -19,5 +19,6 @@
             <view class="read line-1">{{item.readcount}}</view>
         </view>
     </navigator>
+    <My_empty wx:if="{{list.length==0}}" />
     <view style="height: 40px;" />
 </My_listBox>

+ 2 - 2
pages/tabbar/home/index.wxml

@@ -34,7 +34,7 @@
         <view wx:if="{{item.count}}" class="badge">{{item.count}}</view>
     </navigator>
 </My_card>
-<!-- 数据概况 -->
+<!-- 数据概况 
 <block wx:if="{{per.query(subassembly,'homedatadisplay')}}">
     <view class="general-situation">
         <view class="title">
@@ -50,7 +50,7 @@
         </view>
     </My_card>
 </block>
-
+-->
 <!-- 通告 -->
 <My_card wx:if="{{annunciateList.length>0 && per.query(subassembly,'homenoticelist')}}" title='最新通告' class="annunciate">
     <view class="unread" slot='title-r' bindtap="toAnnunciate">