|
@@ -51,7 +51,7 @@
|
|
<div id="main-video" class="video-box col-div" style="justify-content: flex-end"></div>
|
|
<div id="main-video" class="video-box col-div" style="justify-content: flex-end"></div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6" class="two">
|
|
<el-col :span="6" class="two">
|
|
- <el-col :span="24" class="twoOne" v-for="(item, index) in zjrList" :key="index">
|
|
|
|
|
|
+ <el-col v-show="zjrshow" :span="24" class="twoOne" v-for="(item, index) in zjrList" :key="index">
|
|
<p>
|
|
<p>
|
|
<span class="zjr-sel-info">{{ item.zjrname }}</span>
|
|
<span class="zjr-sel-info">{{ item.zjrname }}</span>
|
|
<span class="twobtn">
|
|
<span class="twobtn">
|
|
@@ -186,6 +186,7 @@ export default {
|
|
showbtn_: false,
|
|
showbtn_: false,
|
|
roomdetail: {},
|
|
roomdetail: {},
|
|
zjrList: [],
|
|
zjrList: [],
|
|
|
|
+ zjrshow: false,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -231,6 +232,9 @@ export default {
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
console.log(res.data);
|
|
console.log(res.data);
|
|
this.$set(this, `roomdetail`, res.data);
|
|
this.$set(this, `roomdetail`, res.data);
|
|
|
|
+ if (res.data.anchorid === this.user.uid) {
|
|
|
|
+ this.zjrshow = true;
|
|
|
|
+ }
|
|
for (const elm of res.data.zjr) {
|
|
for (const elm of res.data.zjr) {
|
|
const ru = await this.roomuserfetch(elm);
|
|
const ru = await this.roomuserfetch(elm);
|
|
if (this.$checkRes(ru)) {
|
|
if (this.$checkRes(ru)) {
|