|
|
@@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="drown-white-list"> |
|
|
|
<van-nav-bar title="免告警水域" :border="true" left-arrow @click-left="onNavBack"/> |
|
|
|
<div class="main"> |
|
|
|
<div class="main" v-show="loading"> |
|
|
|
<div class="list" v-if="drownList.length > 0"> |
|
|
|
<div class="item" v-for="(item, index) in drownList" :key="index"> |
|
|
|
<p><span>poiId:{{ item.poiId }}</span></p> |
|
|
@@ -30,6 +30,7 @@ export default { |
|
|
|
data(){ |
|
|
|
return { |
|
|
|
drownList: [], |
|
|
|
loading: false, |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
@@ -58,6 +59,8 @@ export default { |
|
|
|
this.$toast.success({ message: '数据加载完成' }); |
|
|
|
} |
|
|
|
} |
|
|
|
}).catch(() => {}).finally(() => { |
|
|
|
this.loading = true; |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
@@ -139,7 +142,7 @@ export default { |
|
|
|
margin: 100px auto 0; |
|
|
|
background-size: 165px 120px; |
|
|
|
p { |
|
|
|
@include colorAndFont(#999, 28); |
|
|
|
@include colorAndFont(#999, 16); |
|
|
|
margin: 100px auto 0; |
|
|
|
} |
|
|
|
} |
|
|
|