chore(电子名片): 支持点击视频号视频,观看次数+1

This commit is contained in:
2026-01-12 17:46:15 +08:00
parent 3f894bcb20
commit 02e9cfa313
3 changed files with 28 additions and 6 deletions

View File

@@ -101,8 +101,8 @@
<diy-channel-list :value="{
showStyle: 'fixed',
rowCount: 1,
list: channelList
}" />
list: channelList,
}" @channel-video-click-play="onChannelVideoClickPlay"/>
</view>
<!-- 地图 -->
@@ -289,6 +289,20 @@ export default {
shareUtil.shareFile(file);
},
onChannelVideoClickPlay(item) {
this.$api.sendRequest({
url: '/api/member/incrementChannelViewCount',
data: {
channel_id: item.channelId
},
success: res => {
},
fail: res => {
}
});
},
// 播放视频
playVideo(video) {
// 实现视频播放逻辑