hookehuyr

fix 细节调整

...@@ -52,7 +52,7 @@ var spotInfo = [ ...@@ -52,7 +52,7 @@ var spotInfo = [
52 window_type: 'normal', 52 window_type: 'normal',
53 path: [ 53 path: [
54 [120.587829, 31.313185], 54 [120.587829, 31.313185],
55 - [120.587681,31.313343] 55 + [120.587681, 31.313343],
56 ], 56 ],
57 }, 57 },
58 { 58 {
...@@ -118,7 +118,7 @@ var spotInfo = [ ...@@ -118,7 +118,7 @@ var spotInfo = [
118 name: '弥勒菩萨', 118 name: '弥勒菩萨',
119 note: '走过钟鼓楼,映入眼帘的是黄墙黛瓦、气势恢宏的天王殿。它坐北朝南,为重檐歇山建筑,顶势平坦,飞檐翘角,显得庄重肃穆,拱形山檐下高悬由赵朴老题写的“天王殿”匾额。', 119 note: '走过钟鼓楼,映入眼帘的是黄墙黛瓦、气势恢宏的天王殿。它坐北朝南,为重檐歇山建筑,顶势平坦,飞檐翘角,显得庄重肃穆,拱形山檐下高悬由赵朴老题写的“天王殿”匾额。',
120 url: 'https://mp.weixin.qq.com/s/LJh_8B7JQtTxz8Chq1EJSQ', 120 url: 'https://mp.weixin.qq.com/s/LJh_8B7JQtTxz8Chq1EJSQ',
121 - audio: 'https://file.365daoyou.cn/mimi-001_1505799708494-k3xkyzv8', 121 + audio: 'https://cdn.ipadbiz.cn/xys/audio/%E5%A4%A7%E9%9B%84%E5%AE%9D%E6%AE%BF.mp3',
122 }, 122 },
123 { 123 {
124 name: '韦陀菩萨​', 124 name: '韦陀菩萨​',
......
...@@ -98,19 +98,20 @@ export default { ...@@ -98,19 +98,20 @@ export default {
98 this.changeAudio(this.audio); 98 this.changeAudio(this.audio);
99 this.changeAudioStatus('pause'); 99 this.changeAudioStatus('pause');
100 // 加载录音 100 // 加载录音
101 - this.audio.src = this.info?.details[this.isActive]['audio']; 101 + this.play_time = '01:49'
102 - let play_status = this.audio.play() // 播放 102 + // this.audio.src = this.info?.details[this.isActive]['audio'];
103 - if (play_status) { 103 + // let play_status = this.audio.play() // 播放
104 - play_status.then(() => { 104 + // if (play_status) {
105 - // 音频的播放需要耗时 105 + // play_status.then(() => {
106 - this.is_play = false; 106 + // // 音频的播放需要耗时
107 - this.audio.pause(); 107 + // this.is_play = false;
108 - this.play_time = this.getAudioTime(this.audio.duration) 108 + // this.audio.pause();
109 - }).catch((e) => { 109 + // this.play_time = this.getAudioTime(this.audio.duration)
110 - // 失败 110 + // }).catch((e) => {
111 - console.log('Operation is too fast, audio play fails') 111 + // // 失败
112 - }) 112 + // console.log('Operation is too fast, audio play fails')
113 - } 113 + // })
114 + // }
114 } 115 }
115 } 116 }
116 }, 117 },
......