ソースを参照

:heavy_minus_sign: 取消评论和图片上传

limengbo 4 年 前
コミット
30593dccc0

+ 2 - 1
app.json

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

+ 5 - 4
pages/art/art.wxml

@@ -16,9 +16,9 @@
             <preview 
             materialData="{{materialData}}"
             height="{{previewHeight}}"/>
-            
+            <!--
             <view id="upload-position">
-                <chat id="upload"
+                 <chat id="upload"
                     ind="7"
                     id="chat"
                     productionData="{{productionData}}" 
@@ -32,7 +32,7 @@
                     more="{{productionMore}}"
                     timeList="{{timeList}}"
                     teacher="{{teacher}}"
-                    />
+                    /> 
             </view>
             <view id="questions-position">
                 <chat id="questions"
@@ -48,7 +48,7 @@
                     teacher="{{teacher}}"/>
             </view>
 
-            <view class="upload-one" data-id="upload-position" bindtap="location">
+             <view class="upload-one" data-id="upload-position" bindtap="location">
                 <image src="../image/works.png" ></image>
             </view>  
 
@@ -56,6 +56,7 @@
                 <image src="../image/q_discuss.png" ></image>
                 <text class="row" wx:if="{{questionsdian > 0}}"></text>
             </view>
+             -->
           </view>
       </scroll-view>
   </view>

+ 2 - 2
pages/chinese/chinese.wxml

@@ -17,7 +17,7 @@
             materialData="{{materialData}}"
             height="{{previewHeight}}"/>
 
-            <chat id="questions"
+            <!-- <chat id="questions"
                 productionData="{{questionsData}}" 
                 title="答疑讨论"
                 query="我有疑问"
@@ -33,7 +33,7 @@
             <view class="questions-one" data-id="questions" bindtap="location">
                 <image src="../image/q_discuss.png" ></image>
                 <text class="row" wx:if="{{questionsdian > 0}}"></text>
-            </view>
+            </view> -->
           </view>
       </scroll-view>
   </view>

+ 2 - 2
pages/english/english.wxml

@@ -17,7 +17,7 @@
             materialData="{{materialData}}"
             height="{{previewHeight}}"/>
 
-            <chat id="questions"
+            <!-- <chat id="questions"
                 productionData="{{questionsData}}" 
                 title="答疑讨论"
                 query="我有疑问"
@@ -33,7 +33,7 @@
             <view class="questions-one" data-id="questions" bindtap="location">
                 <image src="../image/q_discuss.png" ></image>
                 <text class="row" wx:if="{{questionsdian > 0}}"></text>
-            </view>
+            </view> -->
           </view>
       </scroll-view>
   </view>

+ 2 - 2
pages/language/language.wxml

@@ -17,7 +17,7 @@
             materialData="{{materialData}}"
             height="{{previewHeight}}"/>
 
-            <chat id="questions"
+            <!-- <chat id="questions"
                 productionData="{{questionsData}}" 
                 title="答疑讨论"
                 query="我有疑问"
@@ -33,7 +33,7 @@
             <view class="questions-one" class="questions-one" data-id="questions" bindtap="location">
                 <image src="../image/q_discuss.png" ></image>
                 <text class="row" wx:if="{{questionsdian > 0}}"></text>
-            </view>
+            </view> -->
           </view>
       </scroll-view>
   </view>

+ 2 - 2
pages/mathematics/mathematics.wxml

@@ -17,7 +17,7 @@
             materialData="{{materialData}}"
             height="{{previewHeight}}"/>
 
-            <chat id="questions"
+            <!-- <chat id="questions"
                 productionData="{{questionsData}}" 
                 title="答疑讨论"
                 query="我有疑问"
@@ -33,7 +33,7 @@
             <view class="questions-one" class="questions-one" data-id="questions" bindtap="location">
                 <image src="../image/q_discuss.png" ></image>
                 <text class="row" wx:if="{{questionsdian > 0}}"></text>
-            </view>
+            </view> -->
           </view>
       </scroll-view>
   </view>

+ 3 - 3
pages/my/my.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>
@@ -104,7 +104,7 @@
               height="{{height}}"/>
             </view>
             <!-- 上传作品 -->
-            <chat id="upload"
+            <!-- <chat id="upload"
               id="chat"
               productionData="{{productionData}}" 
               title="我的作品"
@@ -112,7 +112,7 @@
               columnType="6"
               bind:getHeight="onGetHeight"
               bind:myevent="onMyEvent"
-              more="{{productionMore}}"/>
+              more="{{productionMore}}"/> -->
             <!-- 更改年级 -->
             <setGrade 
              id="set-grade"

+ 2 - 3
pages/science/science.wxml

@@ -16,7 +16,7 @@
             <preview 
             materialData="{{materialData}}"
             height="{{previewHeight}}"/>
-            <view id="upload-position">
+            <!-- <view id="upload-position">
                 <chat id="upload"
                     id="chat"
                     productionData="{{productionData}}" 
@@ -51,10 +51,9 @@
                 <image src="../image/q_discuss.png" ></image>
                 <text class="row" wx:if="{{questionsdian > 0}}"></text>
             </view>
-
             <view class="upload-one" data-id="upload-position" bindtap="location">
                 <image src="../image/works.png" ></image>
-            </view>
+            </view> -->
           </view>
       </scroll-view>
   </view>

+ 2 - 0
project.config.json

@@ -11,6 +11,8 @@
 	"libVersion": "2.4.3",
 	"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": "*"
+  }]
+}