Newer
Older
smartcity_video / src / views / popup / bottom.vue
wangxitong on 29 May 2023 2 KB first commit
<template>
  <div class="bottom">
    <div class="block1">
      <div :style="{backgroundImage:'url('+titleImg+')'}" class="title">访客控制安全系数组件</div>
      <visit-bar style="flex:1;"/>
    </div>
    <div class="block">
      <div :style="{backgroundImage:'url('+titleImg+')'}" class="title">安防事件列表</div>
      <case-table style="flex:1;"/>
    </div>
    <div class="block">
      <div :style="{backgroundImage:'url('+titleImg+')'}" class="title">其他相关安全系数指标组件</div>
      <other-line style="flex:1;"/>
    </div>
    <div class="block1">
      <div :style="{backgroundImage:'url('+titleImg+')'}" class="title">安保人员到岗系数组件</div>
      <staff-bar1 style="flex:1;"/>
    </div>
  </div>
</template>

<script>
// import VisitorPie from "@/views/popup/components/visitorPie";
import VisitBar from '@/views/popup/components/visitBar';
import StaffBar1 from '@/views/popup/components/staffBar1';
import CaseTable from '@/views/popup/components/caseTable';
// import ReqairTable from "@/views/popup/components/reqairTable";
import OtherLine from '@/views/popup/components/otherLine';

export default {
  name: 'Bottom',
  components: { OtherLine, CaseTable, StaffBar1, VisitBar },
  data() {
    return {
      titleImg: require('@/assets/popup/title.png'), // 背景图片
      titleAll: require('@/assets/popup/title-all.png'),// 背景图片
      list: [2156, 2144, 455, 314, 98]
    }
  },
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>

.bottom{
  width: 100%;
  height: 220px;
  display: flex;
  overflow: hidden;
  padding: 0px 0px;
  .block{
    flex: 1;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(to top left, rgba(5, 30, 61, 0.62), #0D3F7E9D);
    border-radius: 5px;
    box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .05);
    margin: 0px 10px;
    flex-direction: column;
  }
  .block1{
    width: 500px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(to top left, rgba(5, 30, 61, 0.62), #0D3F7E9D);
    border-radius: 5px;
    box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .05);
    margin: 0px 10px;
    flex-direction: column;
  }
  .title{
    text-shadow: 0 0 5px #d1ffff;
    width: 100%;
    height: 35px;
    background-repeat: no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    color: white;
    font-weight: bold;
    padding-top: 8px;
    padding-left: 30px;
    font-family: 黑体;
    letter-spacing: 1px;
  }
  .item{
    width: 33%;
    font-weight: bold;
    text-align: center;
    font-size: 15px;

  }
}
</style>