代码优化

This commit is contained in:
GaoHao
2025-01-03 18:43:25 +08:00
parent 4145bb9e5a
commit 1d26fbb535
4 changed files with 10 additions and 7 deletions

View File

@@ -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>

View File

@@ -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) {

View File

@@ -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') : '否'

View File

@@ -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