Commit 1214c8bf authored by jyx's avatar jyx

修复整剧解锁未刷新状态,推荐剧跳转慢,首页加载 100 条数据

parent 6bd5d396
...@@ -166,7 +166,14 @@ ...@@ -166,7 +166,14 @@
}, },
// 支付完成回调 // 支付完成回调
paySuccess(largeType) { paySuccess(largeType) {
if (largeType == 'vip') {
this.unlockAll(); this.unlockAll();
} else if (largeType == 'point') {
// 解锁单集
this.pm.setCurrentUnlock();
} else if (largeType == 'vedio') {
this.unlockAll();
}
this.pm.toggleCustomDialog(); this.pm.toggleCustomDialog();
}, },
......
...@@ -103,9 +103,6 @@ ...@@ -103,9 +103,6 @@
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
</view> </view>
</uni-popup> </uni-popup>
</view> </view>
......
...@@ -182,7 +182,8 @@ ...@@ -182,7 +182,8 @@
style="width: 30rpx;height: 30rpx;display: flex;align-items: right;margin: 10rpx;" style="width: 30rpx;height: 30rpx;display: flex;align-items: right;margin: 10rpx;"
src="../../static/index/ic_quit_white.png" mode="aspectFill"></image> src="../../static/index/ic_quit_white.png" mode="aspectFill"></image>
<view @click="handleBottomPlay(newRecordBean)" <view @click="handleBottomPlay(newRecordBean)"
style="width: 160rpx;height: 50rpx;line-height: 50rpx;text-align: center;background-color: red;border-radius:30rpx;color: white;font-size: 24rpx;margin-right: 20rpx;"> 继续观看 style="width: 160rpx;height: 50rpx;line-height: 50rpx;text-align: center;background-color: red;border-radius:30rpx;color: white;font-size: 24rpx;margin-right: 20rpx;">
继续观看
</view> </view>
</view> </view>
...@@ -234,7 +235,7 @@ ...@@ -234,7 +235,7 @@
boxImgUrl: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png', boxImgUrl: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png',
clientHeight: 0, clientHeight: 0,
page: 1, page: 1,
size: 10, size: 100,
loadStatus: 'loadmore' loadStatus: 'loadmore'
}; };
}, },
...@@ -413,7 +414,6 @@ ...@@ -413,7 +414,6 @@
let that = this; let that = this;
let loadEpisode_id = uni.getStorageSync('tt_episode_id') || ''; let loadEpisode_id = uni.getStorageSync('tt_episode_id') || '';
let loadAlbum_id = uni.getStorageSync('tt_album_id') || ''; let loadAlbum_id = uni.getStorageSync('tt_album_id') || '';
setTimeout(() => {
that.post({ that.post({
url: '/vedio/firstVedio/douyin', url: '/vedio/firstVedio/douyin',
data: { data: {
...@@ -440,7 +440,6 @@ ...@@ -440,7 +440,6 @@
} }
} }
}); });
}, 800);
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment