bayi 2 سال پیش
والد
کامیت
1f967b3ff6
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      pages/pkPage/index.wxml
  2. 3 3
      pages/reading/index.js

+ 1 - 1
pages/pkPage/index.wxml

@@ -26,7 +26,7 @@
       </view>
     </scroll-view>
   </view>
-  <view class="footer">
+  <view class="footer" wx:if="{{isShare}}">
     <view class="stBtn" bindtap="jumpIndex">回到首页</view>
   </view>
   <Comment id="comment" bind:addCommentNum="addCommentNum" />

+ 3 - 3
pages/reading/index.js

@@ -66,8 +66,8 @@ Page({
     }
   },
   onLoad(options) {
+    console.log(options);
     let videoId = options.videoId
-    console.log(videoId);
     this.getreadInfo(videoId, options.reset)
     this.setData({
       readingReset: options.reset || false,
@@ -247,7 +247,7 @@ Page({
         attachAudioUrl: 1,
         result: {
           details: {
-            gop_adjust: -0.2
+            gop_adjust: -0.1
           }
         }
       },
@@ -318,7 +318,7 @@ Page({
     const tone = Math.floor(result.tone); // 语调声调
     const accuracy = Math.floor(result.accuracy); // 准确度 发音分
     const fluency = Math.floor(result.fluency.overall); //流利度
-    let myOverall = Math.floor(integrity * 0.3 + accuracy * 0.5 + fluency * 0.1 + tone * 0.1);
+    let myOverall = Math.floor(integrity * 0.45 + accuracy * 0.35 + fluency * 0.1 + tone * 0.1);
     let detail = {
       integrity,
       tone,