Browse Source

:heavy_minus_sign: 注释图片上传

limengbo 3 years ago
parent
commit
acb6fb5923
6 changed files with 16 additions and 6 deletions
  1. 2 1
      app.json
  2. 2 2
      pages/art/art.wxml
  3. 1 1
      pages/index/index.wxml
  4. 2 2
      pages/science/science.wxml
  5. 2 0
      project.config.json
  6. 7 0
      sitemap.json

+ 2 - 1
app.json

@@ -25,5 +25,6 @@
     "navigationBarBackgroundColor": "#fff",
     "navigationBarTitleText": "小学王者班",
     "navigationBarTextStyle": "black"
-  }
+  },
+  "sitemapLocation": "sitemap.json"
 }

+ 2 - 2
pages/art/art.wxml

@@ -17,7 +17,7 @@
             materialData="{{courseData.lessonPage.list}}"
             height="{{previewHeight}}"/>
 
-            <chat id="upload"
+            <!-- <chat id="upload"
                 ind="7"
                 id="chat"
                 productionData="{{productionData}}" 
@@ -28,7 +28,7 @@
                 bind:myevent="onMyEvent"
                 bind:getHeight="onGetHeight"
                 data-type="2"
-                more="{{productionMore}}"/>
+                more="{{productionMore}}"/> -->
 
             <chat id="questions"
                 productionData="{{questionsData}}" 

+ 1 - 1
pages/index/index.wxml

@@ -34,7 +34,7 @@
               <view class='personal'>
                 <view class="particulars">
                     <text>登录天数</text>
-                    <text>{{data.users.loginDay}}</text>
+                    <text>{{data.users.loginDay || 0}}</text>
                 </view>
                 <view class="particulars">
                   <text>TV端学习时长</text>

+ 2 - 2
pages/science/science.wxml

@@ -17,7 +17,7 @@
             materialData="{{courseData.lessonPage.list}}"
             height="{{previewHeight}}"/>
 
-            <chat id="upload"
+            <!-- <chat id="upload"
                 id="chat"
                 productionData="{{productionData}}" 
                 title="作品展示"
@@ -27,7 +27,7 @@
                 bind:getHeight="onGetHeight"
                 bind:myevent="onMyEvent"
                 data-type="2"
-                more="{{productionMore}}"/>
+                more="{{productionMore}}"/> -->
 
 
             <chat id="questions"

+ 2 - 0
project.config.json

@@ -11,6 +11,8 @@
 	"libVersion": "1.6.6",
 	"appid": "wx7b5ea6422847ea64",
 	"projectname": "%E5%B0%8F%E5%AD%A6%E7%8E%8B%E8%80%85%E7%8F%AD",
+	"simulatorType": "wechat",
+	"simulatorPluginLibVersion": {},
 	"condition": {
 		"search": {
 			"current": -1,

+ 7 - 0
sitemap.json

@@ -0,0 +1,7 @@
+{
+  "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
+  "rules": [{
+  "action": "allow",
+  "page": "*"
+  }]
+}