瀏覽代碼

修改 页面样式

test
JinxChen 1 年之前
父節點
當前提交
05f4547851
共有 1 個檔案被更改,包括 5 行新增2 行删除
  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 查看文件

@@ -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…
取消
儲存