bayi 2 年之前
父節點
當前提交
198925d884
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      pages/reading/index.js
  2. 1 1
      pages/reading/index.wxml

+ 1 - 0
pages/reading/index.js

@@ -475,6 +475,7 @@ Page({
 
     });
     uploadTask.onProgressUpdate((res) => {
+      console.log('作品上传进度', res.progress);
       this.setData({
         percent: res.progress
       })

+ 1 - 1
pages/reading/index.wxml

@@ -131,7 +131,7 @@
     <view class="uploadBox">
       <view class="upload">
         <image src="/static/uploadTips.png" class="tipsImg" />
-        <view>作品上传中,小朋友请耐心等待哦~</view>
+        <view>{{readingType=='pk'?'挑战结算中,小朋友请耐心等待哦~':'作品上传中,小朋友请耐心等待哦~'}}</view>
         <view class="speed">
           {{percent}}%
         </view>