| | |
| | | <template> |
| | | <div class="real-time-module"> |
| | | <div class="title">实时抓拍预警</div> |
| | | <div class="real-time-item" |
| | | v-for="(item,index) in warnArr" |
| | | :key="index"> |
| | | <img :src="item.image" alt="" class="warnArea"> |
| | | <div class="real-time-item" v-for="(item, index) in warnArr" :key="index"> |
| | | <img src="/images/settings/background.png" alt="" class="warnArea" /> |
| | | <warnDescription |
| | | :warnDes="{code:item.code, |
| | | time:item.time, |
| | | longitude:item.longitude, |
| | | latitude:item.latitude, |
| | | warn:item.warn}"/> |
| | | :warnDes="{ |
| | | code: item.device_sn, |
| | | time: item.updated_at, |
| | | longitude: item.lng, |
| | | latitude: item.lat, |
| | | warn: '未在电子围栏区域', |
| | | }" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import warnDescription from '@/pages/internetEquipment/components/warnDescription' |
| | | import warnDescription from "@/pages/internetEquipment/components/warnDescription"; |
| | | export default { |
| | | props :{ |
| | | warnArr:{ |
| | | type: Array |
| | | } |
| | | type: Array, |
| | | }, |
| | | }, |
| | | components :{ |
| | | warnDescription |
| | | } |
| | | } |
| | | warnDescription, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |