代码优化
This commit is contained in:
parent
4145bb9e5a
commit
1d26fbb535
|
|
@ -103,7 +103,7 @@
|
|||
<image src="../../static/images/me/shuqian.png" style="height: 60rpx;" mode=""></image>
|
||||
</view>
|
||||
<view class="swipers-items-right-item-txt">
|
||||
追剧{{index}}
|
||||
追剧
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -428,6 +428,10 @@
|
|||
});
|
||||
// #endif
|
||||
|
||||
|
||||
|
||||
},
|
||||
onReady() {
|
||||
httpsRequest.getT("app/announcement", {}).then(res => {
|
||||
if (res.code == 0) {
|
||||
if (res.data && res.data.state == 1) {
|
||||
|
|
@ -437,7 +441,6 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
onReachBottom() {
|
||||
if (this.page < this.pages) {
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@
|
|||
this.isAndroid= true
|
||||
// #endif
|
||||
}
|
||||
this.isWxIosPay = uni.getStorageSync('isWxIosPay')
|
||||
// this.isWxIosPay = uni.getStorageSync('isWxIosPay')
|
||||
this.kmPaySel = this.$queue.getData('kmPaySel');
|
||||
this.numCount = uni.getStorageSync('numCount')
|
||||
this.isVips = uni.getStorageSync('isVips') ? uni.getStorageSync('isVips') : '否'
|
||||
|
|
|
|||
|
|
@ -711,10 +711,10 @@
|
|||
data.dyShow = 1
|
||||
// #endif
|
||||
|
||||
if(this.page==1&&$cache_video.videoList){
|
||||
this.videoList=$cache_video.videoList
|
||||
return
|
||||
}
|
||||
// if(this.page==1&&$cache_video.videoList){
|
||||
// this.videoList=$cache_video.videoList
|
||||
// return
|
||||
// }
|
||||
this.$Request.getT('/app/course/selectCourseDetailsList', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.pages = res.data.totalPage
|
||||
|
|
|
|||
Loading…
Reference in New Issue