修改我的喜欢我的追剧,调用优化方案

This commit is contained in:
duan
2025-01-04 15:10:24 +08:00
parent 18f3badfa1
commit f3d8894974
5 changed files with 426 additions and 189 deletions

View File

@@ -98,8 +98,7 @@
</view>
</view> -->
<!-- 钱包 -->
<view class="money" v-if="isWxIosPay == true" style="position: relative;">
<view class="money" v-if="isWxIosPay == '是'" style="position: relative;">
<view
style="position: relative;background-color: #f2b5b5;width: 700rpx;height: 74rpx;padding:20rpx;border-radius: 14rpx 14rpx 0rpx 0rpx;position: absolute;left: 0;top: 0;display: flex;align-items: center;justify-content: space-between;">
<view class="df">
@@ -118,8 +117,8 @@
</view>
</view>
<view v-if="isiosExamine" style="margin-top: 40rpx;">观看历史</view>
<view v-if="isiosExamine" class="df" style=" margin-top: 28rpx;">
<view style="margin-top: 40rpx;">观看历史</view>
<view class="df" style=" margin-top: 28rpx;">
<view style="border-radius:21rpx 21rpx 21rpx 21rpx;margin-left: 28rpx" v-for="(item,index) in list" :key="(item,index)"
@tap="seVideo(item)">
<image :src="item.titleImg"
@@ -526,9 +525,9 @@
limit: 1,
classify: 2
}
this.$Request.getT('/app/courseCollect/selectByUserId', data).then(res => {
this.$Request.getT('/app/courseCollect/collectVideoSummary', data).then(res => {
if (res.code === 0) {
this.myLoveNum = res.data.total
this.myLoveNum = res.data.likeCount
} else {
this.myLoveNum = 0
}
@@ -541,9 +540,9 @@
limit: 1,
classify: 1
}
this.$Request.getT('/app/courseCollect/selectByUserId', data).then(res => {
this.$Request.getT('/app/courseCollect/collectVideoSummary', data).then(res => {
if (res.code === 0) {
this.myZhui = res.data.total
this.myZhui = res.data.collectCount
} else {
this.myZhui = 0
}