From 3fb594dc317848107fd7bbb51631cfb763c19f5f Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 05 六月 2024 18:47:03 +0800 Subject: [PATCH] 舞蹈分页 --- src/books/artAndDance/view/components/chapter002.vue | 27 ++++++++++++++++++++++----- 1 files changed, 22 insertions(+), 5 deletions(-) diff --git a/src/books/artAndDance/view/components/chapter002.vue b/src/books/artAndDance/view/components/chapter002.vue index 36c736e..b71081b 100644 --- a/src/books/artAndDance/view/components/chapter002.vue +++ b/src/books/artAndDance/view/components/chapter002.vue @@ -62,6 +62,18 @@ <h2 class="lefth2" id="b006"> <img class="img-gn" alt="" src="../../assets/images/xsyty.jpg" /> </h2> + <ul class="fl audio-box"> + <li class="fl al-cn"> + <span class="wh-nr">鐢风闊�</span> + <audio :src="auidoPathOne" controls></audio> + </li> + <li class="fl al-cn"> + <span class="wh-nr"> + 濂崇闊� + </span> + <audio :src="auidoPathTwo" controls></audio> + </li> + </ul> <h3 id="c006">浜$緤琛ョ墷</h3> <p class="block2">甯竴鍏�</p> <p class="block2">缇婂晩缇婂晩鍜╁挬鍙紝鏈夊彧灏忕緤涓嶈浜嗐��</p> @@ -134,7 +146,7 @@ </div> <!-- <p class="center"><img class="img-0" alt="" src="../../assets/images/ym.jpg" /></p> --> </div> - <ul class="pb-box"> + <ul style="margin-top: 20px"> <li class="ml-40"> <img src="../../assets/images/icon/tree.jpg" /> <span class="dl-ib"> 8 </span> @@ -149,7 +161,7 @@ </template> <script> -import getResourcePath from "@/assets/methods/resources"; +import {getResourcePath} from "@/assets/methods/resources"; export default { name: "chapterTwo", props: { @@ -174,12 +186,17 @@ videoPathOne: "", num:0, addTimer:null, - cutTimer:null + cutTimer:null, + auidoPathOne:"", + auidoPathTwo:"", + }; }, methods: { - getVidoePath() { - this.videoPathOne = getResourcePath("f6aaaed901868114d948031615250bed"); + async getVidoePath() { + this.videoPathOne = await getResourcePath("f6aaaed901868114d948031615250bed"); + this.auidoPathOne = await getResourcePath("39fd9a021904ed3de1b8b9e036777ea3"); + this.auidoPathTwo = await getResourcePath("a143777eff52ee24e53521d16afc85d9"); }, addNum() { this.addTimer = setInterval(() => { -- Gitblit v1.9.1