| | |
| | | </div> |
| | | </div> |
| | | <div v-if="radioType === '1'" id="category" class="category-parent"> |
| | | <category |
| | | v-if="CategoryData.isShow" |
| | | :xAxisData="CategoryData.xAxisArray" |
| | | :seriesData="CategoryData.seriesArray" |
| | | ></category> |
| | | <category :xAxisData="CategoryData.xAxisArray" :seriesData="CategoryData.seriesArray"></category> |
| | | </div> |
| | | <div v-if="radioType === '2'" class="div-realTime"> |
| | | <realTimeList></realTimeList> |
| | | </div> |
| | | </div> |
| | | <div v-if="radioType === '1'" id="category" class="category-parent"> |
| | | <category v-if="CategoryData.isShow"></category> |
| | | <category></category> |
| | | </div> |
| | | <div v-if="radioType === '2'" class="div-realTime"> |
| | | <realTimeList></realTimeList> |
| | |
| | | </div> |
| | | <div class="div-text"> |
| | | <p class="s-1">当前预警</p> |
| | | <span class="s-2">{{CategoryData.warnCount}}</span> |
| | | <span class="s-2">{{CategoryData.warnInfo.alarmTotal}}</span> |
| | | <span class="s-3">人</span> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="div-text"> |
| | | <p class="s-1">剩余车位</p> |
| | | <span class="s-2">0192</span> |
| | | <span class="s-2">{{CategoryData.warnInfo.spaceLeft}}</span> |
| | | <span class="s-3">个</span> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="div-pie"> |
| | | <mutPie v-if="CategoryData.isShow"></mutPie> |
| | | <mutPie></mutPie> |
| | | </div> |
| | | <div class="bottom-title"> |
| | | <span class="s-1">摄像机</span> |
| | |
| | | <div class="div-pie" v-if="CategoryData.dataStatus==='default'"> |
| | | <span>预警事件</span> |
| | | <pie |
| | | v-if="CategoryData.isShow" |
| | | :seriesName="CategoryData.pieName" |
| | | :radiusType="radiusType" |
| | | :seriesData="CategoryData.pieData" |
| | |
| | | // 监听窗口 |
| | | document.addEventListener("visibilitychange", this.visibilitychange, false); |
| | | window.addEventListener('resize', this.windowSizeChange) |
| | | this.CategoryData.isShow = false; |
| | | this.$nextTick(() => { |
| | | // let height = document.getElementById('category').clientHeight |
| | | // console.log(height,'category的高度') |
| | | this.CategoryData.isShow = true; |
| | | }) |
| | | |
| | | this.VideoPhotoData.capture(); |
| | | this.timer = setInterval(() => { |
| | | this.VideoPhotoData.capture() |
| | | this.CategoryData.realTimeCapture(); |
| | |
| | | } |
| | | } |
| | | .monitor { |
| | | height: calc(62% - 20px); |
| | | height: calc(62% - 27px); |
| | | .monitoring-video { |
| | | height: 100%; |
| | | width: 100%; |
| | |
| | | } |
| | | } |
| | | .entry-exit { |
| | | height: calc(38% - 20px); |
| | | height: calc(38% - 23px); |
| | | .category-parent { |
| | | width: 100%; |
| | | height: 80%; |
| | |
| | | @media screen and (min-width: 1600px) { |
| | | width: 50%; |
| | | } |
| | | height: 100%; |
| | | height: calc(100% - 10px); |
| | | float: left; |
| | | color: #fff; |
| | | .col { |