This commit is contained in:
duanxiaohai 2024-07-30 14:01:47 +08:00
parent 296562a0cd
commit 584700303b
3 changed files with 9 additions and 13 deletions

View File

@ -53,7 +53,7 @@ const router = createRouter({
{ {
name: '首页地图', name: '首页地图',
path: '/home/index/map', path: '/home/index/map',
component: () => import('../view/sy_map.vue'), component: () => import('../view/sy_mapcopy.vue'),
}, },
{ {
name: '首页表格', name: '首页表格',
@ -65,11 +65,11 @@ const router = createRouter({
path: '/home/index/table/details', path: '/home/index/table/details',
component: () => import('../view/sy_details.vue'), component: () => import('../view/sy_details.vue'),
}, },
{ // {
name: '首页地图2', // name: '首页地图2',
path: '/home/index/map2', // path: '/home/index/map2',
component: () => import('../view/sy_mapcopy.vue'), // component: () => import('../view/sy_mapcopy.vue'),
}, // },
] ]
}, },
] ]

View File

@ -2,7 +2,7 @@
<div class="module"> <div class="module">
<div class="displayFlex left_bg"> <div class="displayFlex left_bg">
<div class="flex1"> <div class="flex1">
<div class="yd_title left_1" @click="goto('/home/index/table')"> <div class="yd_title left_1">
<div class="animate-border"> <div class="animate-border">
<i></i> <i></i>
<i></i> <i></i>
@ -227,11 +227,7 @@
<div class="sex">男性人口</div> <div class="sex">男性人口</div>
<img class="sexMove" src="../assets/images/sy/sexImg.png" alt="" /> <img class="sexMove" src="../assets/images/sy/sexImg.png" alt="" />
</div> </div>
<div <div class="people_total_item2 center" style="cursor: pointer">
class="people_total_item2 center"
@click="goto('/home/index/map')"
style="cursor: pointer"
>
<img src="../assets/images/sy/people_total.png" alt="" /> <img src="../assets/images/sy/people_total.png" alt="" />
<div class="number">{{ data.PopulationData.rkzs }}</div> <div class="number">{{ data.PopulationData.rkzs }}</div>
<div class="total">人口总数</div> <div class="total">人口总数</div>

View File

@ -2336,7 +2336,7 @@ const reset_font = () => {
} }
}; };
onMounted(() => { onMounted(() => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
reset_font(); reset_font();
initMap(); initMap();
getData(); getData();