<template>
  <div class="app-container">
    <div v-show="viewState == 1">
      <!-- <button-bar view-title="视频中心" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> -->
      <div class="main-content">

        <div class="shipinlisttop">
            <el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="110px" class="tab-header">
              <el-form-item label="选择仓库">
                <el-select v-model="listQuery.params.cangku" filterable clearable placeholder="请选择仓库">
                  <el-option v-for="item in cangku_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/>
                </el-select>
              </el-form-item>
              <el-form-item label="选择楼栋">
                <el-select v-model="listQuery.params.supplierType" filterable clearable placeholder="请选择楼栋">
                  <el-option v-for="item in loudong_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/>
                </el-select>
              </el-form-item>
              <el-form-item label="选择楼层">
                <el-select v-model="listQuery.params.supplierType" filterable clearable placeholder="请选择楼层">
                  <el-option v-for="item in supplierType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/>
                </el-select>
              </el-form-item>
            </el-form>

          <div class="mores" >
              <div class="more">
                <p class="bluezi">正常</p>
                <span class="myiconfont iconbox bluezibg">&#xe63e;</span>
              </div>
              <div class="more">
                <p class="huizi">离线</p>
                <span class="myiconfont iconbox huizibg">&#xe63e;</span>
              </div>
              <div class="more"  v-show="showRuqinbaojing||showMenjinguanli||showDianziweilan == true">
                <p class="redzi">报警</p>
                <span class="myiconfont iconbox redzibg">&#xe63e;</span>
              </div>
          </div>
          <!-- <div class="mores"  v-show="showShipinjiankong == true">
              <div class="more">
                <p class="bluezi">正常</p>
                <span class="myiconfont iconbox bluezibg">&#xe63e;</span>
              </div>
              <div class="more">
                <p class="huizi">离线</p>
                <span class="myiconfont iconbox huizibg">&#xe63e;</span>
              </div>
          </div> -->
          <!-- 11 -->
        </div>
        <div class="shipinscon">

          <div class="shipinstu">
            <!-- 111入侵报警 -->
            <div class="ruqinbaojing" v-show="showRuqinbaojing">
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang1"  @click="openshipinRuqinbaojing()">&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang2">&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang3" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang4" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang5" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang6" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang7" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang8" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang9" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang10" >&#xe63e;</div>
              <div class="myiconfont bluezibg jingicon ruqin_zhengchang11" >&#xe63e;</div>

              <div class="myiconfont huizibg jingicon ruqin_lixian1" >&#xe63e;</div>
              <div class="myiconfont huizibg jingicon ruqin_lixian2" >&#xe63e;</div>

              <div class="myiconfont redzibg jingicon ruqin_baojing1">&#xe63e;</div>
              <div class="myiconfont redzibg jingicon ruqin_baojing2">&#xe63e;</div>
              <div class="myiconfont redzibg jingicon ruqin_baojing3">&#xe63e;</div>
              <div class="myiconfont redzibg jingicon ruqin_baojing4">&#xe63e;</div>
              <!-- 显示文字 -->
              <div class="seencons ruqin_zhengchang1b" v-show="seenshipinRuqinbaojing">
                <p @click="toMore()">布防</p>
                <p @click="toMore()">撤防</p>
                <p @click="toMore()">报警确认</p>
                <p @click="toMore()">旁路</p>
              </div>
            </div>
            <!-- 111end -->
            <!-- 222视频监控 -->
            <div class="ruqinbaojing" v-show="showShipinjiankong">
              <div class="myiconfont bluezibg jingicon shipin_zhengchang1" @mouseover="enter"  @mouseleave="leave"  @click="openshipinShipinjiankong()">&#xe644;</div>

              <div class="myiconfont huizibg jingicon shipin_lixian1" >&#xe644;</div>

              <div class="myiconfont redzibg jingicon shipin_baojing1">&#xe644;</div>
              <!-- 显示文字 -->
              <div class="seencons shipin_zhengchang1b" v-show="seenshipinShipinjiankong">
                <p @click="toMore()">实时视频</p>
                <p @click="toMore()">回放视频</p>
              </div>
              <!-- 鼠标移入显示文字 -->
              <div class="seenconsc shipin_zhengchang1c" v-show="seen_shubiaoShipinjiankong">
                <p>设备名称：1号楼1F西侧走廊像机1</p>
                <p>设备编号：HK023123</p>
                <p>设备IP：192.168.1.2</p>
              </div>
            </div>
            <!-- 2222end -->
            <!-- 333门禁管理 -->
            <div class="ruqinbaojing" v-show="showMenjinguanli">
              <div class="myiconfont bluezibg jingicon menjin_zhengchang1"  @click="openshipinMenjinguanli()">&#xe60b;</div>

              <div class="myiconfont huizibg jingicon menjin_lixian1" >&#xe60b;</div>

              <div class="myiconfont redzibg jingicon menjin_baojing1">&#xe60b;</div>
              <!-- 显示文字 -->
              <div class="seencons menjin_zhengchang1b" v-show="seenshipinMenjinguanli">
                <p @click="toMore()">开门</p>
              </div>
            </div>
            <!-- 333end -->
            <!--444门电子围栏-->
            <div class="ruqinbaojing" v-show="showDianziweilan">
              <div class="myiconfont bluezibg jingicon Dianziweilan_zhengchang1"  @click="openshipinDianziweilan()">&#xe6b8;</div>

              <div class="myiconfont huizibg jingicon Dianziweilan_lixian1" >&#xe6b8;</div>

              <div class="myiconfont redzibg jingicon Dianziweilan_baojing1">&#xe6b8;</div>
              <!-- 显示文字 -->
              <div class="seencons Dianziweilan_zhengchang1b" v-show="seenshipinDianziweilan">
                <p @click="toMore()">布防</p>
                <p @click="toMore()">撤防</p>
                <p @click="toMore()">报警确认</p>
                <p @click="toMore()">旁路</p>
              </div>
            </div>
            <!-- 444end -->

          </div>
            <!-- 下部机构导航 -->
            <div class="tabhead">
              <!-- <el-checkbox-group v-model="departmentTypeArray" @change="getList">
                <el-checkbox-button v-for="(item,index) in jigounavType" :key="index" :label="item.value" :value="item.value">
                  <span class="iconfontyuan myiconfont" :class="icontu[index]"></span>
                  {{item.label}}
                </el-checkbox-button>
              </el-checkbox-group> -->
              <!-- <el-checkbox-group v-model="departmentTypeArray">
                <el-checkbox-button label="1" checked><div  @click="openruqinbaojing()"><span  class="iconfontyuan myiconfont redziyuan icon-intruder-alarm"></span>入侵报警</div></el-checkbox-button>
                <el-checkbox-button label="2"><div  @click="openshipinjiankong()"><span class="iconfontyuan myiconfont greenziyuan icon-shipin1"></span>视频监控</div></el-checkbox-button>
                <el-checkbox-button label="3"><div  @click="openmenjinguanli()"><span class="iconfontyuan myiconfont yellowziyuan icon-menjin"></span>门禁管理</div></el-checkbox-button>
                <el-checkbox-button label="4"><div  @click="opendianziweilan()"><span class="iconfontyuan myiconfont blueziyuan icon-dianziweilan2"></span>电子围栏</div></el-checkbox-button>
              </el-checkbox-group> -->
            </div>
          <!-- 列表结束 -->
        </div>

      </div>
    </div>

    <!-- 查看视频 -->
    <el-dialog title="查看视频" :visible.sync="dialogImage" width="800px">
      <div class="shipin">
        <video :preload="preload" autoplay :height="height" :width="width" align="center" :controls="controls">
            <source :src="videoSrc" type="video/mp4">
          </video>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar'
// import { typeValues, getOrgSidByPath } from '@/api/cheliang/dictcommons'
// import baojingchaxunAdd from './baojingchaxunAdd'
// import baojingchaxunInfo from './baojingchaxunInfo'
// import req from '@/api/baojingchaxun/baojingchaxun'

export default {
  name: 'shipinzhongxin',
  components: {
    Pagination,
    pageye,
    ButtonBar

  },
  data() {
    return {   checkList: ['选中且禁用','复选框 A'],
      btndisabled: false,
      btnList: [
        // {
        //   type: 'primary',
        //   size: 'small',
        //   icon: 'plus',
        //   btnKey: 'toAdd',
        //   btnLabel: '新增'
        // },
        // {
        //   type: 'danger',
        //   size: 'small',
        //   icon: 'del',
        //   btnKey: 'doDel',
        //   btnLabel: '删除'
        // },
        // {
        //   type: 'primary',
        //   size: 'small',
        //   icon: '',
        //   btnKey: 'toChangShang',
        //   btnLabel: '获取厂商'
        // },
        // {
        //   type: 'primary',
        //   size: 'small',
        //   icon: '',
        //   btnKey: 'toGain',
        //   btnLabel: '获取分公司'
        // },

        // {
        //   type: 'success',
        //   size: 'small',
        //   icon: 'export',
        //   btnKey: 'build',
        //   btnLabel: '导出'
        // },
        {
          type: 'info',
          size: 'small',
          icon: 'cross',
          btnKey: 'doClose',
          btnLabel: '关闭'
        }
      ],
      viewState: 1,
      isSearchShow: false,
      searchxianshitit: '显示查询条件',
      sids: [],
      // 查询 -----------
      tableKey: 0,
      list: [{bianma:'212233433',supplierTypeValue:'222',weizhi:'212233433',time:'2023-02-26',anzhuangtime:'2023-02-26',gonghuashang:'222'
      ,supplierTypeValue:'222',zhuangtai:'222'}
    ],
      listLoading: false,
      listQuery: {
        params: {
          manufacturerName: '',
          supplierType: '',
          useOrgSid: '',
          createOrgSid: '',
          manufacturerTelePhone: '',
          contactName: ''
        },
        current: 1,
        size: 5,
        total: 0
      },
      cangku_list: [
        {dictValue:'仓库1',dictKey:'1'}
      ],
      loudong_list: [
        {dictValue:'1号楼',dictKey:'1'}
      ],
      supplierType_list: [ {dictValue:'一层',dictKey:'1'}],
      Datalista: [
         {xiaoqu:'和平家园小区南门出口',tuUrl:'./image/ren1.jpg', weizhi: '南门出口', createTime: '2023-05-03', createTime2: '18:26:38', shijian: '社区户主', name: '李明华' },
         {xiaoqu:'和平家园小区东门出口',tuUrl:'./image/ren2.jpg', weizhi: '东门出口', createTime: '2023-05-08', createTime2: '18:26:38', shijian: '社区户主', name: '李明华' },
         {xiaoqu:'和平家园小区西门出口',tuUrl:'./image/ren1.jpg', weizhi: '西门出口', createTime: '2023-05-12', createTime2: '19:32:38', shijian: '社区户主', name: '李明华' },
         {xiaoqu:'和平家园小区东门出口',tuUrl:'./image/ren2.jpg', weizhi: '东门出口', createTime: '2023-05-23', createTime2: '18:26:38', shijian: '社区户主', name: '李明华' },
         {xiaoqu:'和平家园小区南门出口',tuUrl:'./image/ren1.jpg', weizhi: '南门出口', createTime: '2023-05-03', createTime2: '18:26:38', shijian: '社区户主', name: '李明华' },
         {xiaoqu:'和平家园小区东门出口',tuUrl:'./image/ren2.jpg', weizhi: '东门出口', createTime: '2023-05-08', createTime2: '18:26:38', shijian: '社区户主', name: '李明华' },
         {xiaoqu:'和平家园小区西门出口',tuUrl:'./image/ren1.jpg', weizhi: '西门出口', createTime: '2023-05-12', createTime2: '19:32:38', shijian: '社区户主', name: '李明华' },
         {xiaoqu:'和平家园小区东门出口',tuUrl:'./image/ren2.jpg', weizhi: '东门出口', createTime: '2023-05-23', createTime2: '18:26:38', shijian: '社区户主', name: '李明华' },
        ],
        dialogImage: false,
        // 视频开始
     videoSrc: '../../../image/cangkushipin.mp4',

      playStatus: '',
      muteStatus: '',
      isMute: true,
      isPlay: true,
      width: '100%', // 设置视频播放器的显示宽度（以像素为单位）
      height: '430', // 设置视频播放器的显示高度（以像素为单位）
      preload: 'auto', //  建议浏览器是否应在<video>加载元素后立即开始下载视频数据。
      controls: true, // 确定播放器是否具有用户可以与之交互的控件。没有控件，启动视频播放的唯一方法是使用autoplay属性或通过Player API。
       autoplay: true,
       departmentTypeArray: [],
       icontu: ['redziyuan icon-intruder-alarm', 'greenziyuan icon-shipin1', 'yellowziyuan icon-menjin', 'blueziyuan icon-electronic-patrol'],
      jigounavType: [
        { value: '4', label: '入侵报警', zi: 'icon-dituleiditu' },
        { value: '2', label: '视频监控', zi: 'icon-dituleiditu' },
        { value: '1', label: '门禁管理', zi: '禁' },
        { value: '3', label: '电子围栏', zi: '电' },
      ],
      // 视频结束
      seenshipinRuqinbaojing: false,
      seenshipinShipinjiankong: false,
      seenshipinMenjinguanli: false,
      seenshipinDianziweilan: false,
      //
      showRuqinbaojing: true,
      showShipinjiankong: false,
      showMenjinguanli: false,
      showDianziweilan: false,
      //鼠标移入
      seen_shubiaoShipinjiankong: false,

      rules: {}
    }
  },
  // mounted() {
  //   this.$refs['btnbar'].setButtonList(this.btnList)
  // },
  created() {
    // 初始化变量
    // this.init()
  },
  methods: {
    openshipinRuqinbaojing() {
      this.seenshipinRuqinbaojing = !this.seenshipinRuqinbaojing
    },
    openshipinShipinjiankong() {
      this.seenshipinShipinjiankong = !this.seenshipinShipinjiankong
    },
    openshipinMenjinguanli() {
      this.seenshipinMenjinguanli = !this.seenshipinMenjinguanli
    },
    openshipinDianziweilan() {
      this.seenshipinDianziweilan = !this.seenshipinDianziweilan
    },
    // 、、、、
    openruqinbaojing() {

      this.showRuqinbaojing = !this.showRuqinbaojing
    },
    openshipinjiankong() {
      this.showShipinjiankong = !this.showShipinjiankong
    },
    openmenjinguanli() {
      this.showMenjinguanli = !this.showMenjinguanli
    },
    opendianziweilan() {
      this.showDianziweilan = !this.showDianziweilan
    },
    //鼠标移入
    enter() {
      this.seen_shubiaoShipinjiankong = true
    },
    leave() {
      this.seen_shubiaoShipinjiankong = false
    },

    resetState() {
      this.viewState = 1
    },
    btnHandle(btnKey) {
      console.log('XXXXXXXXXXXXXXX    ' + btnKey)
      switch (btnKey) {
        case 'toAdd':
          this.toAdd()
          break
        case 'doDel':
          this.doDel()
          break
        case 'toChangShang':
          this.toChangShang()
          break
        case 'toGain':
          this.toGain()
          break
        case 'doExport':
          this.doExport()
          break
        case 'doClose':
          this.doClose()
          break
        default:
          break
      }
    },
    // 搜索条件效果
    clicksearchShow() {
      this.isSearchShow = !this.isSearchShow
      if (this.isSearchShow) {
        this.searchxianshitit = '隐藏查询条件'
      } else {
        this.searchxianshitit = '显示查询条件'
      }
    },
    // init() {
    //   getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => {
    //     if (res.success) {
    //       this.listQuery.params.createOrgSid = res.data
    //       this.getType()
    //       this.getList()
    //     }
    //   })
    // },
    // getType() {
    //   typeValues({
    //     type: 'supplierType'
    //   }).then((res) => {
    //     if (res.code === '200') {
    //       this.supplierType_list = res.data
    //       console.log('选择楼层', this.supplierType_list)
    //     }
    //   })
    // },
    // 序号
    indexMethod(index) {
      var pagestart = (this.listQuery.current - 1) * this.listQuery.size
      var pageindex = index + 1 + pagestart
      return pageindex
    },
    // 查询列表信息
    getList() {
      // this.listLoading = true
      // req.gysPagerList(this.listQuery).then((response) => {
      //   this.listLoading = false
      //   if (response.code === '200' && response.data && response.data.total > 0) {
      //     this.list = response.data.records
      //     this.listQuery.total = response.data.total
      //   } else {
      //     this.list = []
      //     this.listQuery.total = 0
      //   }
      // })
    },
    // 查询按钮
    handleFilter() {
      this.listQuery.current = 1
      this.getList()
    },
    handleReset() {
      // this.listQuery = {
      //   params: {
      //     manufacturerName: '',
      //     supplierType: '',
      //     useOrgSid: '',
      //     createOrgSid: '',
      //     manufacturerTelePhone: '',
      //     contactName: ''
      //   },
      //   current: 1,
      //   size: 5
      // }
      // this.init()
    },
    // 打开添加对话框
    toAdd() {
      this.viewState = 2
       this.$refs['divadd'].showAdd(this.listQuery.params.createOrgSid)
    },

    handleSelectionChange(row) {
      const aa = []
      row.forEach((element) => {
        aa.push(element.sid)
      })
      this.sids = aa
    },
    // 根据本行ID删除数据
    doDel() {
      if (this.sids.length > 0) {
        const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?'
        this.$confirm(tip, '提示', {
          confirmButtonText: '确定',
          cancelButtonText: '取消',
          type: 'warning'
        }).then(() => {
          const loading = this.$loading({
            lock: true,
            text: 'Loading',
            spinner: 'el-icon-loading',
            background: 'rgba(0, 0, 0, 0.7)'
          })
          req.delBySids(this.sids.toString()).then(resp => {
            if (resp.success) {
              loading.close()
              this.$message({ type: 'success', message: resp.msg, showClose: true })
              this.getList()
            } else {
              loading.close()
            }
          }).catch(e => {
            loading.close()
          })
        }).catch(() => {
        })
      } else {
        this.$message({ type: 'error', message: '没有选择!!', showClose: true })
        return
      }
    },
    // toChangShang() {
    //   req.saveGysByOrgSid(this.listQuery.params.createOrgSid).then((resp) => {
    //     if (resp.success) {
    //       this.$message({ showClose: true, type: 'success', message: '获取成功' })
    //       this.getList()
    //     }
    //   })
    // },
    // toGain() {
    //   req.saveAllByOrgSid({ orgSid: this.listQuery.params.createOrgSid }).then((resp) => {
    //     if (resp.success) {
    //       this.$message({ showClose: true, type: 'success', message: '获取成功' })
    //       this.getList()
    //     }
    //   })
    // },
    handleEdit(row) {
      this.viewState = 3
      this.$refs['divadd'].showEdit(row)
      // if (row.supplierTypeValue !== '主机厂' && row.supplierTypeValue !== '分公司') {
      //   this.viewState = 3
      //   this.$refs['divadd'].showEdit(row)
      // } else {
      //   this.viewState = 5
      //   this.$refs['divHosts'].showInfo(row)
      // }
    },
    // 打开查看
    handleCheck(row) {
      this.viewState = 4
      this.$refs['divinfo'].showInfo(row)
    },
    // 导出
    // doExport() {
    //   basefinbankExportExcel(this.sids).then((res) => {
    //     const blob = new Blob([res], {
    //       type: 'application/vnd.ms-excel'
    //     })
    //     const objectUrl = URL.createObjectURL(blob)
    //     window.location.href = objectUrl
    //     this.$notify({
    //       title: '提示',
    //       message: '导出成功',
    //       type: 'success',
    //       duration: 2000
    //     })
    //   })
    // },
    doClose() {
      this.$store.dispatch('tagsView/delView', this.$route)
      this.$router.go(-1)
    },
    toMore() {
      this.dialogImage = true
    },
    checkbox(item) {
      // this.departmentTypeArray = this.departmentTypeArray.includes(item.value)
      //   ? [item.value]
      //   : []
    },
  }
}
</script>

<style scoped>
.seencons{background-color: #fff;
  box-shadow:0px 0px 10px #E9E9E9;border-radius: 5px;
  padding: 0 10px;}
.seencons p{padding: 0px 0 5px 0;border-bottom: 1px solid #ececee;font-size: 12px;text-align:center;cursor: pointer;}
/* // */
/* 鼠标移入 */
.seenconsc{background-color: #fff;
  box-shadow:0px 0px 10px #E9E9E9;border-radius: 5px;
  padding: 0 10px;}
.seenconsc p{padding: 0px 0 5px 0;border-bottom: 1px solid #ececee;font-size: 12px;text-align:left;cursor: pointer;}
/* .app-container{background-color: #f5f5f5;margin: 0;} */
.shipinlisttop {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /* padding: 0 0 0 15px; */
  margin: 20px 0;
  background-color: #fff;
  box-shadow:0px 0px 10px #E9E9E9;border-radius: 5px;
  padding: 10px;
}
.tab-header{background-color: #fff;}
  .shipinscon {margin: 20px 0 0 0;
  padding: 20px 50px 20px 50px;background-color: #fff;box-shadow:0px 0px 10px #E9E9E9;border-radius: 5px;
}
  .shipinstu {z-index: 0;
   background: url("/image/cangkutub.png") center bottom no-repeat;
  background-size: 100% 100%;min-height: 580px;
  padding: 0 20px;position: relative;
}
.shipinstu .jingicon {cursor: pointer;
  font-size: 22px !important;
  border-radius: 40px !important;
  width: 40px !important;
  height: 40px !important;line-height: 40px;
  padding: 0px;text-align: center;


}

.redzibg {
  color: #fff; background: radial-gradient(circle, #8c0303, #e20202);
  border: 1px solid #fd0808;
}
.bluezibg {
  color: #fff; background: radial-gradient(circle, #0241c1, #327af9);
  border: 1px solid #469efd;
}
.huizibg {
  color: #fff; background: radial-gradient(circle, #303030, #636363);
  border: 1px solid #878788;
}
.shipinstu .ruqin_baojing1{position: absolute;top: 10px;left: 20%;}
.shipinstu .ruqin_baojing1b{position: absolute;top: 50px;left: 22%;}
.shipinstu .ruqin_baojing2{position: absolute;top: 10px;left: 40%;}
.shipinstu .ruqin_baojing3{position: absolute;top: 10px;left: 70%;}
.shipinstu .ruqin_baojing4{position: absolute;top: 10px;left: 95%;}
.shipinstu .ruqin_zhengchang1{position: absolute;top: 10%;left: 1%;}
.shipinstu .ruqin_zhengchang1b{position: absolute;top: 15%;left: 3%;}
.shipinstu .ruqin_zhengchang2{position: absolute;top: 30%;left: 1%;}
.shipinstu .ruqin_zhengchang3{position: absolute;top: 45%;left: 1%;}
.shipinstu .ruqin_zhengchang4{position: absolute;top: 65%;left: 8%;}
.shipinstu .ruqin_zhengchang5{position: absolute;top: 90%;left: 8%;}
.shipinstu .ruqin_zhengchang6{position: absolute;top: 90%;left: 15%;}
.shipinstu .ruqin_zhengchang7{position: absolute;top: 90%;left: 30%;}
.shipinstu .ruqin_zhengchang8{position: absolute;top: 90%;left: 40%;}
.shipinstu .ruqin_zhengchang9{position: absolute;top: 90%;left: 60%;}
.shipinstu .ruqin_zhengchang10{position: absolute;top: 90%;left: 90%;}
.shipinstu .ruqin_zhengchang11{position: absolute;top: 70%;left: 98%;}
.shipinstu .ruqin_lixian1{position: absolute;top: 50%;left: 98%;}
.shipinstu .ruqin_lixian2{position: absolute;top: 30%;left: 98%;}

/* //视频监控// */
.shipinstu .shipin_baojing1{position: absolute;top: 35px;left: 22%;}
.shipinstu .shipin_zhengchang1{position: absolute;top: 22%;left: 25%;}
.shipinstu .shipin_zhengchang1b{position: absolute;top: 28%;left: 26%;z-index: 800;}
.shipinstu .shipin_zhengchang1c{position: absolute;top: 28%;left: 26%;z-index: 200;}
.shipinstu .shipin_lixian1{position: absolute;top: 50%;left: 30%;}

/* //门禁管理// */
.shipinstu .menjin_baojing1{position: absolute;top: 35px;left: 32%;}
.shipinstu .menjin_zhengchang1{position: absolute;top: 22%;left: 35%;}
.shipinstu .menjin_zhengchang1b{position: absolute;top: 28%;left: 37%;}

.shipinstu .menjin_lixian1{position: absolute;top: 50%;left: 40%;}
/* //电子围栏// */
.shipinstu .Dianziweilan_baojing1{position: absolute;top: 35px;left: 42%;}
.shipinstu .Dianziweilan_zhengchang1{position: absolute;top: 22%;left: 45%;}
.shipinstu .Dianziweilan_zhengchang1b{position: absolute;top: 28%;left: 47%;}

.shipinstu .Dianziweilan_lixian1{position: absolute;top: 50%;left: 46%;}
.mores{padding: 0 10px;display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;align-items: center;}
.mores .more{flex: 1;font-size: 14px;padding: 0 10px;cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;align-items: center;}
  .mores .more p {display: inline-block;
		font-size: 14px;
	}
.mores .more .iconbox {display: inline-block;
		border-radius: 30px;
		line-height: 30px;
		width: 30px;
		height: 30px;
		color: #fff;
		font-size: 18px;text-align: center;margin: 0 5px;
	}
  /* .iconbox_red {
    color: #fff; background: radial-gradient(circle, #8c0303, #e20202);
  border: 1px solid #fd0808;
	}

	.iconbox_yellow {
		background-color: #ff7521;
	}


  .iconbox_green {
		background-color: #07C160;
	}
	.iconbox_blue {
    color: #fff; background: radial-gradient(circle, #0241c1, #327af9);
  border: 1px solid #469efd;
	} */
	.iconbox_hui {
		background-color: #373739;
	}
  .huizi{color: #373739;}


  /* // 底部导航 */
.tabhead {
  position: fixed;
  bottom: 50px;
  left: 230px;
  z-index: 900;
  /* background-color: rgba( #04154d, 0.8); */
  /* box-shadow: 0px 0px 6px #0d27c2; */
}
.iconfontyuan {
  font-size: 18px !important;
  margin: 0 3px 0 3px;
  border-radius: 60px !important;
  width: 60px !important;
  height: 60px !important;
  padding: 5px;

}
.yellowziyuan {
  color: #fff;
  background-color: #f57c13;
}

.redziyuan {
  color: #fff;
  background-color: #ff0000;
}

.blueziyuan {
  color: #fff;
  background-color: #5b9cf7;
}

.greenziyuan {
  color: #fff;
  background-color: #06be4d;
}

.ziziyuan {
  color: #fff;
  background-color: #683afd;
}
/* // .tabhead .bar{background-color: #0b5394;color: #f5f7fa;border-right: 1px solid #fff;padding: 11px 0;text-align: center;display: inline-block;vertical-align: top;
// width: calc((100% - 1px) / 4 );box-sizing: border-box;font-size:18px;}
// .tabhead .bar:last-of-type{border-right: 0px solid #eeeeee;width: calc((100% - 0px) / 4 );}
// .tabhead .barb {background-color: #fff;color: #0b5394;} */
</style>
