|
@@ -13,6 +13,9 @@
|
|
|
<image :src="comment_img" mode="aspectFill"/>
|
|
|
<text>{{info.comment_total>0?info.comment_total:''}}</text>
|
|
|
</view>
|
|
|
+ <view class="item" v-if="info.report_id" @click="goReport" style="text-align:right" >
|
|
|
+ <image :src="report_img" mode="aspectFill"/>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="list-commnet-box" v-if="info.comment_list.length>0">
|
|
|
<template class="item" v-for="(item,index) in info.comment_list" >
|
|
@@ -88,6 +91,7 @@ export default {
|
|
|
like_img: require('@/static/question/like.png'),
|
|
|
like_act_img: require('@/static/question/like_act.png'),
|
|
|
comment_img: require('@/static/question/comment.png'),
|
|
|
+ report_img:require('@/static/report-btn.png'),
|
|
|
|
|
|
isShowComment: false,
|
|
|
comment_cont: '',
|
|
@@ -215,6 +219,17 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
+ //跳转至报告详情
|
|
|
+ goReport(){
|
|
|
+ if(this.videoInfo.fromPage==='report'){
|
|
|
+ uni.navigateBack()
|
|
|
+ }else{
|
|
|
+ uni.navigateTo({url: `/pages-report/reportDetail?reportId=${this.videoInfo.report_id}&fromPage=video`})
|
|
|
+ }
|
|
|
+
|
|
|
+ //uni.navigateTo({url:'/pages-report/reportDetail?reportId='+item.report_id})
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
</script>
|