| | |
| | | <div style="height: 100%;" class="swiper-box"> |
| | | <div class="swiper-box-top"> |
| | | <h2 style="float:left; font-size:15px">实时抓拍</h2> |
| | | <audio ref="alarmAudio" src="/libs/14184.wav" style="display:none"></audio> |
| | | <!-- <audio ref="alarmAudio" src="/libs/14184.wav" style="display:none"></audio> 预警声音 --> |
| | | <span |
| | | style="float:left;font-family:PingFangSC-Regular;font-size:13px;color:#999999;" |
| | | > (共{{VideoCaptrue.cards.length}}张)</span> |
| | |
| | | }, |
| | | methods: { |
| | | showCapture(nodes) { |
| | | // if (nodes.length < 1) { |
| | | // this.taskUid = 0; |
| | | // this.VideoCaptrue.cards = []; |
| | | // return; |
| | | // } |
| | | // this.VideoCaptrue.cameras = nodes; |
| | | // this.VideoCaptrue.initCards(); |
| | | if (nodes.length < 1) { |
| | | this.taskUid = 0; |
| | | this.VideoCaptrue.cards = []; |
| | | return; |
| | | } |
| | | this.VideoCaptrue.cameras = nodes; |
| | | this.VideoCaptrue.initCards(); |
| | | }, |
| | | toAdd(item) { |
| | | this.$emit("addToBase", item); |