跳转直播

This commit is contained in:
luyuan 2020-08-15 18:03:52 +08:00
parent 176501939d
commit 94dc78555a
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -4,7 +4,7 @@
<view class="info">
<view class="avatar">
<image :src="item.member_avatar" mode="aspectFill"></image>
<view class="posi-type" v-if="item.live_status != 0">
<view class="posi-type" v-if="item.live_status != 0" @click="tozhibo">
<view>
<u-icon name="play-right-fill" color="#fff" size="20rpx"></u-icon>
</view>
@ -136,6 +136,16 @@ export default {
deep: true
},
methods: {
tozhibo(){
this.$u.route({
url:"/pages/zhibo/index",
params:{
url:item.url,
id:item.live_id,
rid:item.chatroom_id
}
})
},
//
openPro() {
this.is_open = !this.is_open;