chore(电子名片): 支持点击视频号视频,观看次数+1
This commit is contained in:
@@ -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) {
|
||||
// 实现视频播放逻辑
|
||||
|
||||
Reference in New Issue
Block a user