| | |
| | | <cover-image :src="item.check?'../../static/aixinRed.png':'../../static/aixin.png'" |
| | | class="img" @click.stop="tapLove"></cover-image> |
| | | <text class="right-text">{{item.like}}</text> |
| | | <cover-image v-if="item.iscomment == '1'" src="../../static/xiaoxi.png" class="img" @click.stop="tapMsg"></cover-image> |
| | | <text v-if="item.iscomment == '1'" class="right-text">{{item.comment}}</text> |
| | | <cover-image src="../../static/xiaoxi.png" class="img" @click.stop="tapMsg"></cover-image> |
| | | <text class="right-text">{{item.comment}}</text> |
| | | <cover-image :src="item.iscollect?'../../static/collectred.png':'../../static/collect.png'" |
| | | class="img" @click.stop="tapCollect"></cover-image> |
| | | <text class="right-text">{{item.collect}}</text> |
| | |
| | | tapMsg(e) { |
| | | e.stopPropagation(); |
| | | if (this.distanceX != 0) return |
| | | console.log(this.videoList[this.index]) |
| | | if(this.videoList[this.index].iscomment == "0" || this.videoList[this.index].iscomment == ""){ |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: `当前视频不支持评论` |
| | | }); |
| | | return; |
| | | } |
| | | uni.getSubNVueById('comment').show('none', 0, () => { |
| | | uni.$emit('showComment', this.videoList[this.index]) |
| | | }); |