hookehuyr

fix 修复细节

...@@ -10,7 +10,6 @@ export {} ...@@ -10,7 +10,6 @@ export {}
10 declare module '@vue/runtime-core' { 10 declare module '@vue/runtime-core' {
11 export interface GlobalComponents { 11 export interface GlobalComponents {
12 AudioBackground: typeof import('./src/components/audioBackground.vue')['default'] 12 AudioBackground: typeof import('./src/components/audioBackground.vue')['default']
13 - copy: typeof import('./src/components/InfoWindowWarn copy.vue')['default']
14 Floor: typeof import('./src/components/Floor/index.vue')['default'] 13 Floor: typeof import('./src/components/Floor/index.vue')['default']
15 InfoPopup: typeof import('./src/components/InfoPopup.vue')['default'] 14 InfoPopup: typeof import('./src/components/InfoPopup.vue')['default']
16 InfoPopupLite: typeof import('./src/components/InfoPopupLite.vue')['default'] 15 InfoPopupLite: typeof import('./src/components/InfoPopupLite.vue')['default']
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
54 </div> 54 </div>
55 </div> 55 </div>
56 <div v-for="(item, index) in info?.details" :key="index"> 56 <div v-for="(item, index) in info?.details" :key="index">
57 - <div v-if="isActive === index" :class=" [item.audio ? 'info-text-audio' : 'info-text', 'van-multi-ellipsis--l3'] ">{{ item.note }}</div> 57 + <div v-if="isActive === index" :class=" [item.audio ? 'info-text-audio' : 'info-text'] ">{{ item.note }}</div>
58 <div v-if="isActive === index && item.audio" class="info-control"> 58 <div v-if="isActive === index && item.audio" class="info-control">
59 <div v-if="!is_play" @click="play()" class="control-play"> 59 <div v-if="!is_play" @click="play()" class="control-play">
60 <van-icon name="https://cdn.ipadbiz.cn/xys/map/%E6%92%AD%E6%94%BE%E6%9A%82%E5%81%9C@2x.png" size="3rem" 60 <van-icon name="https://cdn.ipadbiz.cn/xys/map/%E6%92%AD%E6%94%BE%E6%9A%82%E5%81%9C@2x.png" size="3rem"
......
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: 2024-09-11 18:17:44 4 + * @LastEditTime: 2024-09-12 10:05:39
5 * @FilePath: /map-demo/src/views/index.vue 5 * @FilePath: /map-demo/src/views/index.vue
6 * @Description: 公众地图主体页面 6 * @Description: 公众地图主体页面
7 --> 7 -->
...@@ -477,6 +477,7 @@ export default { ...@@ -477,6 +477,7 @@ export default {
477 } 477 }
478 }) 478 })
479 textMarker.setMap(this.map); //将文本标记设置到地图上 479 textMarker.setMap(this.map); //将文本标记设置到地图上
480 + this.markerSum.push(textMarker);
480 } else { // 默认方向 481 } else { // 默认方向
481 // 创建一个 LabelMarker 实例 482 // 创建一个 LabelMarker 实例
482 var labelMarker = new AMap.LabelMarker({ 483 var labelMarker = new AMap.LabelMarker({
......