Browse Source

修改 页面样式

test
JinxChen 1 year ago
parent
commit
05f4547851
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      src/views/gps-card-frontend/drown-white-list/index.vue

+ 5
- 2
src/views/gps-card-frontend/drown-white-list/index.vue View File

@@ -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;
}
}


Loading…
Cancel
Save