hookehuyr

fix

...@@ -14,12 +14,8 @@ declare module '@vue/runtime-core' { ...@@ -14,12 +14,8 @@ declare module '@vue/runtime-core' {
14 InfoWindowWarn: typeof import('./src/components/InfoWindowWarn.vue')['default'] 14 InfoWindowWarn: typeof import('./src/components/InfoWindowWarn.vue')['default']
15 RouterLink: typeof import('vue-router')['RouterLink'] 15 RouterLink: typeof import('vue-router')['RouterLink']
16 RouterView: typeof import('vue-router')['RouterView'] 16 RouterView: typeof import('vue-router')['RouterView']
17 - VanCol: typeof import('vant/es')['Col']
18 VanDialog: typeof import('vant/es')['Dialog'] 17 VanDialog: typeof import('vant/es')['Dialog']
19 VanIcon: typeof import('vant/es')['Icon'] 18 VanIcon: typeof import('vant/es')['Icon']
20 VanPopup: typeof import('vant/es')['Popup'] 19 VanPopup: typeof import('vant/es')['Popup']
21 - VanRow: typeof import('vant/es')['Row']
22 - VanTab: typeof import('vant/es')['Tab']
23 - VanTabs: typeof import('vant/es')['Tabs']
24 } 20 }
25 } 21 }
......
1 <!-- 1 <!--
2 * @Date: 2023-05-19 14:54:27 2 * @Date: 2023-05-19 14:54:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-06-12 10:35:56 4 + * @LastEditTime: 2023-06-12 10:38:39
5 * @FilePath: /map-demo/src/views/index.vue 5 * @FilePath: /map-demo/src/views/index.vue
6 * @Description: 地图主体页面 6 * @Description: 地图主体页面
7 --> 7 -->
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
13 <div v-for="(item, index) in navBarList" :key="index" :class="[isActive === index ? 'checked' : '', 'item']" 13 <div v-for="(item, index) in navBarList" :key="index" :class="[isActive === index ? 'checked' : '', 'item']"
14 @click="setNavLayer(item, index)"> 14 @click="setNavLayer(item, index)">
15 <van-icon :name="isActive === index ? item.icon[1] : item.icon[0]" size="2rem" /><br /> 15 <van-icon :name="isActive === index ? item.icon[1] : item.icon[0]" size="2rem" /><br />
16 - <span style="font-size: 0.85rem; margin-top: 0.25rem; display: inline-block;">{{ item.name }}</span> 16 + <span style="font-size: 0.85rem; margin-top: 0rem; display: inline-block;">{{ item.name }}</span>
17 </div> 17 </div>
18 <div style="width: 4rem;flex-shrink: 0;"></div> 18 <div style="width: 4rem;flex-shrink: 0;"></div>
19 <div style="position: fixed; right: 0; background-color: white; height: 4.5rem; width: 4rem;"> 19 <div style="position: fixed; right: 0; background-color: white; height: 4.5rem; width: 4rem;">
......