Jelajahi Sumber

1.console埋点,2.优化年纪筛选后页面

bayi 2 tahun lalu
induk
melakukan
5b47ba783e

+ 1 - 0
components/uploadFile/index.js

@@ -111,6 +111,7 @@ Component({
         "intonation": _data.tone,
         "score": _data.myOverall
       })
+      console.log(scoreRes,'scoreRes');
       this.setData({
         uploadFlag: false,
         uploadState: true,

+ 1 - 0
pages/index/index.js

@@ -152,6 +152,7 @@ Page({
     this.resetData()
     this.getCategoryList()
     this.getBannerList()
+    this.selectComponent('#activityList').getActivities()
   },
   selectType({
     target

+ 1 - 1
pages/index/index.wxml

@@ -31,7 +31,7 @@
   <view class="{{isFixed?'brace':''}}" />
   <!-- 优秀作品展播及官方推荐列表组件 -->
   <worksList id="worksList" wx:if="{{currentType=='2'}}" worksList="{{list}}" videoType="public" tabBarPadding='true' />
-  <activityList classify='2' wx:if="{{currentType=='7'}}" />
+  <activityList id="activityList" classify='2' wx:if="{{currentType=='7'}}" />
   <authority worksList="{{list}}" wx:if="{{currentType=='1'}}" />
 </view>
 <canvas id='share' type="2d"> </canvas>

+ 1 - 0
pages/reading/index.js

@@ -368,6 +368,7 @@ Page({
       aBg: this.data.videoInfo.userReadExtend.resourcesType == 1 ? this.data.videoInfo.userReadExtend.backgroundVirtualImg : '',
       originVideo: this.data.videoInfo.userRead.originVideo
     }
+    console.log('评测结果', detail);
     this.setReadDetail(detail)
     if (this.data.readingType == 'public' || this.data.readingType == 'readMatch') {
       wx.navigateTo({

+ 2 - 2
utils/request.js

@@ -10,8 +10,8 @@ if (envVersion == 'develop') {
   baseUrl = 'https://reader-api.efunbox.cn/wx'
   oldUrl = 'https://reader-api.efunbox.cn'
 } else {
-baseUrl = 'https://reader-api.ai160.com/wx'
-oldUrl = 'https://reader-api.ai160.com'
+  baseUrl = 'https://reader-api.ai160.com/wx'
+  oldUrl = 'https://reader-api.ai160.com'
 }
 
 function request(url, method, data, oldBaseUrl = false) {