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