zhibodetail.vue 4.0 KB
<template>
  <div class="container">
    <div class="sharetop flextwo">
      <div class="leftrow">
        <img src="../../../assets/leftrow.png" alt />
      </div>
      <div class="sharemiddle">直播</div>
      <div class="sharebtn">
        <img src="../../../assets/sharebtn.png" alt />
      </div>
    </div>
    <div class="messagelist">
      <div class="messageitem flexone">
        <div class="messageitemleft">
          <img src="../../../assets/touxiang.png" alt />
        </div>
        <div class="messageitemright">
          <div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
        </div>
      </div>

      <div class="messageitem messageitemk flexone">
        <div class="messageitemrightk">
          <div class="messagecontentk">亲,在的</div>
        </div>
        <div class="messageitemleftk">
          <img src="../../../assets/touxiang.png" alt />
        </div>
      </div>
      <div class="messageitem flexone">
        <div class="messageitemleft">
          <img src="../../../assets/touxiang.png" alt />
        </div>
        <div class="messageitemright">
          <div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
        </div>
      </div>

      <div class="messageitem messageitemk flexone">
        <div class="messageitemrightk">
          <div class="messagecontentk">亲,在的</div>
        </div>
        <div class="messageitemleftk">
          <img src="../../../assets/touxiang.png" alt />
        </div>
      </div>
      <div class="messageitem flexone">
        <div class="messageitemleft">
          <img src="../../../assets/touxiang.png" alt />
        </div>
        <div class="messageitemright">
          <div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
        </div>
      </div>

      <div class="messageitem messageitemk flexone">
        <div class="messageitemrightk">
          <div class="messagecontentk">亲,在的</div>
        </div>
        <div class="messageitemleftk">
          <img src="../../../assets/touxiang.png" alt />
        </div>
      </div>
      <div class="messageitem flexone">
        <div class="messageitemleft">
          <img src="../../../assets/touxiang.png" alt />
        </div>
        <div class="messageitemright">
          <div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
        </div>
      </div>

      <div class="messageitem messageitemk flexone">
        <div class="messageitemrightk">
          <div class="messagecontentk">亲,在的</div>
        </div>
        <div class="messageitemleftk">
          <img src="../../../assets/touxiang.png" alt />
        </div>
      </div>
    </div>
    <div class="messagebot flexone">
      <div class="messagebotleft">
        <img src="../../../assets/yuyin.png" alt />
      </div>
      <div class="writermessage">
        <input type="text" placeholder="写留言" />
      </div>
      <div class="send">发送</div>
    </div>

    <!-- 直播结束了 -->
    <div class="register" v-if="iszhibo">
      <div class="zhiboover">
        <div class="zhibovoertop">讲师结束了直播</div>
        <div class="zhiboque" @click="overvideo">确认</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      iszhibo: false
    }
  },
  created() {
    document.title = '唐元集公众号'
  },
  methods: {
    overvideo() {
      this.iszhibo = false
    }
  }

}
</script>

<style scoped>
.zhiboover {
  width: 6.22rem;

  background: #ffffff;
  border-radius: 0.08rem 0.08rem 0 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.zhibovoertop {
  padding: 0.68rem 0;
  box-sizing: border-box;
  border-bottom: 1px solid #f5f5f5;
  color: #323233;
  font-size: 0.28rem;
  text-align: center;
}
.zhiboque {
  color: #599158;
  font-size: 0.32rem;
  text-align: center;
  padding: 0.24rem 0;
  box-sizing: border-box;
}
</style>