liuyu hace 4 años
padre
commit
2d66bdafbb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/layout/live/detailInfo.vue

+ 1 - 1
src/layout/live/detailInfo.vue

@@ -127,7 +127,7 @@
             <div :id="forId(item.userid)" class="video-box col-div lookvideo" style="justify-content: flex-end"></div>
             <p>
               <i class="el-icon-user"></i>
-              <span class="selfColor">{{ item.username }}</span>
+              <span class="selfColor">{{ item.username }}({{ item.isonline === '1' ? '在线' : '离线' }})</span>
               <span v-if="item.switchrole === 'anchor'">
                 <el-button type="danger" size="mini" @click="lookuserUpdate(item.id, 'audience')">移除</el-button>
                 <el-button type="primary" size="mini" @click="roomshangmai(item.userid)">主讲</el-button>