Showing
8 changed files
with
8 additions
and
21 deletions
src/assets/audio/music1_xlm.MP3
0 → 100644
No preview for this file type
src/assets/audio/music2_hj.MP3
0 → 100644
No preview for this file type
src/assets/audio/music3_xz.MP3
0 → 100644
No preview for this file type
src/assets/audio/music4_zycp.MP3
0 → 100644
No preview for this file type
src/assets/audio/music5_xshxz.MP3
0 → 100644
No preview for this file type
src/assets/audio/music6_xs.MP3
0 → 100644
This file is too large to display.
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-04-10 15:08:08 | 2 | * @Date: 2024-04-10 15:08:08 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-04-16 14:08:28 | 4 | + * @LastEditTime: 2024-04-16 15:16:19 |
| 5 | * @FilePath: /fxPark/src/views/fxPark/audio.vue | 5 | * @FilePath: /fxPark/src/views/fxPark/audio.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -76,16 +76,10 @@ onMounted(async () => { | ... | @@ -76,16 +76,10 @@ onMounted(async () => { |
| 76 | if (code) { | 76 | if (code) { |
| 77 | data.forEach(item => { | 77 | data.forEach(item => { |
| 78 | if (item.is_tree === 1) { | 78 | if (item.is_tree === 1) { |
| 79 | - // audio_list.value.push({ | ||
| 80 | - // audio_url: item.audio_url, | ||
| 81 | - // audio_cover: item.audio_cover, | ||
| 82 | - // audio_name: item.audio_name, | ||
| 83 | - // audio_note: item.audio_note, | ||
| 84 | - // }); | ||
| 85 | audio_list.value.push({ | 79 | audio_list.value.push({ |
| 86 | - audio_url: 'http://downsc.chinaz.net/files/download/sound1/201206/1638.mp3', | 80 | + audio_url: item.audio_url, |
| 87 | - audio_cover: 'https://picsum.photos/50/50', | 81 | + audio_cover: item.audio_cover ? item.audio_cover : 'https://picsum.photos/50/50', |
| 88 | - audio_name: item.name + '123456789', | 82 | + audio_name: item.audio_name, |
| 89 | audio_note: item.audio_note, | 83 | audio_note: item.audio_note, |
| 90 | }); | 84 | }); |
| 91 | } | 85 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-04-10 16:08:09 | 2 | * @Date: 2024-04-10 16:08:09 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-04-16 14:23:06 | 4 | + * @LastEditTime: 2024-04-16 15:17:18 |
| 5 | * @FilePath: /fxPark/src/views/fxPark/intro.vue | 5 | * @FilePath: /fxPark/src/views/fxPark/intro.vue |
| 6 | * @Description: 植被介绍页 | 6 | * @Description: 植被介绍页 |
| 7 | --> | 7 | --> |
| ... | @@ -120,17 +120,10 @@ onMounted(async () => { | ... | @@ -120,17 +120,10 @@ onMounted(async () => { |
| 120 | // }) | 120 | // }) |
| 121 | data.forEach(item => { | 121 | data.forEach(item => { |
| 122 | if (item.is_tree === 1) { | 122 | if (item.is_tree === 1) { |
| 123 | - // audio_list.value.push({ | ||
| 124 | - // audio_url: item.audio_url, | ||
| 125 | - // audio_cover: item.audio_cover, | ||
| 126 | - // audio_name: item.audio_name, | ||
| 127 | - // audio_note: item.audio_note, | ||
| 128 | - // }); | ||
| 129 | - // TODO: 暂时用假数据 | ||
| 130 | audio_list.value.push({ | 123 | audio_list.value.push({ |
| 131 | - audio_url: 'http://downsc.chinaz.net/files/download/sound1/201206/1638.mp3', | 124 | + audio_url: item.audio_url, |
| 132 | - audio_cover: 'https://picsum.photos/50/50', | 125 | + audio_cover: item.audio_cover ? item.audio_cover : 'https://picsum.photos/50/50', |
| 133 | - audio_name: item.name + '123456789', | 126 | + audio_name: item.audio_name, |
| 134 | audio_note: item.audio_note, | 127 | audio_note: item.audio_note, |
| 135 | }); | 128 | }); |
| 136 | } | 129 | } | ... | ... |
-
Please register or login to post a comment