直播的评论和视频的原因
This commit is contained in:
parent
9f03f3b3cc
commit
1cca2b754c
@ -14,7 +14,7 @@
|
||||
<div class="num">{{(score+'').split('.')[1]?score:score+'.0'}} {{lan.$t('fen')}}</div>
|
||||
</div>
|
||||
<div class="all" @click="findall(replyid)" >
|
||||
<span>={{lan.$t('suoyouhuifu')}}</span>
|
||||
<span>{{lan.$t('suoyouhuifu')}}</span>
|
||||
<img src="@/static/images/arrowdownblue.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -118,13 +118,20 @@ export default defineComponent({
|
||||
},
|
||||
setup(prop,context){
|
||||
const lan: any = useI18n();
|
||||
const reviewlist=ref({})
|
||||
const reviewlist=ref<any>({data: []})
|
||||
const commentval=ref<string>('')
|
||||
const uinfo=ref<any>({})
|
||||
const replylist =ref({})
|
||||
const videoid=ref(useRoute().query.id)
|
||||
const url = useRoute().path
|
||||
onMounted(async () => {
|
||||
reviewlist.value=await getcommentlist({type: 2,id: videoid.value})
|
||||
let type = 1;
|
||||
if(url == '/regime/livedetail'){
|
||||
type = 1;
|
||||
}else{
|
||||
type = 2;
|
||||
}
|
||||
reviewlist.value=await getcommentlist({type: type,id: videoid.value})
|
||||
})
|
||||
console.log(useRoute().query)
|
||||
console.log(store.state.userinfo.memberid,"userifno")
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
<LiveCount :info="liveinfo.studentlist" :livestatus="liveinfo.livestatus" :zid="liveinfo.liveid"></LiveCount>
|
||||
</div>
|
||||
<VideoReview class="review" v-if="liveinfo.livestatus == 2 && liveinfo.score != '0.0'" :videoinfo="liveinfo.score"></VideoReview>
|
||||
<VideoReview class="review" v-if="liveinfo.livestatus == 2" :videoinfo="liveinfo.score"></VideoReview>
|
||||
</div>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
|
Loading…
x
Reference in New Issue
Block a user