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

@@ -25,7 +25,7 @@
</view>
<!-- 跳转式视频播放 -->
<view v-else @tap="playVideo" class="video-container">
<view v-else @tap.stop="playVideo" @click.stop="playVideo" class="video-container">
<view class="video-cover-wrap" :style="coverStyle">
<image class="video-cover" :src="$util.img(value.coverUrl)" mode="aspectFill"></image>
<view class="channel-play-btn" v-if="showPlayBtn" :style="playBtnStyle">
@@ -180,8 +180,12 @@ export default {
finderUserName: this.finderUserName
}
console.log('playload', playload);
this.$emit('video-play', playload);
// #endif
this.$emit('video-play', playload);
// #endif
// #ifdef H5
this.$emit('video-play', this.value);
// #endif
}
}
};