<template>
  <div style="width:100%;height:100%;background-color: #000000;margin:0 auto;    position: relative;    display: flex;
    align-items: center;
    justify-content: center;">
    <div v-if="issignal" style="display: flex;
        width: 100px;
        height: 100px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;">
      <img src="@/assets/monitorsystem/spjk_wxh.png" />
      <div style="    font-family: 'Arial Normal', 'Arial';
        font-weight: 400;
        font-style: normal;
        font-size: 20px;
        color: #949494;">暂无信号</div>
    </div>
    <div class="buttons-box" id="buttonsBox">
      <div class="buttons-box-left">
        <img src="@/assets/monitorsystem/ting_u2031.png" class="iconfont jessibuca-btn">
      </div>
      <div class="buttons-box-right">
        <!-- <img src="@/assets/monitorsystem/u2021.png" class="iconfont jessibuca-btn"> -->
        <img title="截取视频" src="@/assets/monitorsystem/u2027.png" class="iconfont jessibuca-btn">
        <img src="@/assets/monitorsystem/u2024.png" class="iconfont jessibuca-btn" @click="RefreshClick">
        <img src="@/assets/monitorsystem/u2019.png" class="iconfont jessibuca-btn">
        <img  v-if="issignal" src="@/assets/monitorsystem/spjk_gb.png" class="iconfont jessibuca-btn" @click.stop="closeClick" >
        <img  v-if="!issignal" src="@/assets/monitorsystem/spjk_gb1.png" class="iconfont jessibuca-btn" >
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'jessibucaindex',
  data() {
    return {
    }
  },
  watch:{
    issignal(){
    }
  },
  props: ['issignal','VideoInfo','_uid'],
  mounted() {
  },
  methods: {
    RefreshClick(){
      this.$emit('RefreshLoad',this.VideoInfo)
    },
    closeClick: function (){
      this.$emit("closeVideo",this._uid -1)
    },
  }
}
</script>

<style>
.buttons-box {
  width: 100%;
  height: 28px;
  background-color: rgba(43, 51, 63, 0.7);
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  left: 0;
  bottom: 0;
  user-select: none;
  z-index: 10;
}

.jessibuca-btn {
  width: 20px;
  color: rgb(255, 255, 255);
  line-height: 27px;
  margin: 0px 10px;
  padding: 0px 2px;
  cursor: pointer;
  text-align: center;
  font-size: 0.8rem !important;
}
.buttons-box-left{
  display: flex;
  align-items: center;
}
.buttons-box-right {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  height: 28px;
}
.jessibuca-container.jessibuca-controls-show{
  height: 100% !important;
}
</style>
