From 5f52ef1659fee6858532c6a9731bd352d2f6fe6f Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 05 九月 2024 15:25:24 +0800
Subject: [PATCH] 舞蹈艺术意见单修改完成

---
 src/books/artAndDance/view/components/chapter005.vue |   64 +++++++++++++++----------------
 1 files changed, 31 insertions(+), 33 deletions(-)

diff --git a/src/books/artAndDance/view/components/chapter005.vue b/src/books/artAndDance/view/components/chapter005.vue
index a3560c1..8c103b2 100644
--- a/src/books/artAndDance/view/components/chapter005.vue
+++ b/src/books/artAndDance/view/components/chapter005.vue
@@ -18,25 +18,17 @@
           alt=""
           class="w100 mb-40"
         />
-        <div class="padding-96">
-          <ul class="fl fl-cl al-cn img-state" style="margin-top: 100px">
-            <li style="width: 45%">
-              <img
-                src="../../assets/images/crane.png"
-                alt=""
-                class="w100"
-                :style="{ opacity: (10 - num) / 10 }"
-              />
-            </li>
-            <li style="width: 35%">
-              <img
-                src="../../assets/images/rise.png"
-                alt=""
-                class="w100"
-                :style="{ opacity: num / 10 }"
-              />
-            </li>
-          </ul>
+        <div class="padding-96 fl ju-cn al-cn fl-cl">
+          <p class="center share-img-box fl ju-cn al-end">
+            <img
+              :src="num >= 0 ? crane : rise"
+              alt=""
+              :style="{
+                opacity: num >= 0 ? num / 10 : -num / 10,
+                width: num >= 0 ? '80%' : '70%',
+              }"
+            />
+          </p>
           <p class="img">鈥滆タ濉炲北鍓嶇櫧楣鈥濆姩浣�</p>
         </div>
         <ul class="pb-box">
@@ -53,10 +45,7 @@
     <div class="page-box" page="22">
       <div v-if="showPageList.indexOf(22) > -1">
         <div>
-          <img
-            src="../../assets/images/chapter-five-header.png"
-            class="w100"
-          />
+          <img src="../../assets/images/chapter-five-header.png" class="w100" />
         </div>
         <div class="padding-96">
           <h2 class="lefth2" id="b001">
@@ -80,15 +69,25 @@
           <ul class="fl fl-cl al-cn audio-box">
             <li class="fl al-cn">
               <span class="wh-nr auido-text mr-8">鐢风闊�</span>
-              <audio :src="auidoPathOne" controls controlslist="noplaybackrate nodownload" class="audio" @play="audioPlay"></audio>
+              <audio
+                :src="auidoPathOne"
+                controls
+                controlslist="noplaybackrate nodownload"
+                class="audio"
+              ></audio>
             </li>
             <li class="fl al-cn mt-20">
               <span class="wh-nr auido-text mr-8"> 濂崇闊� </span>
-              <audio :src="auidoPathTwo" controls controlslist="noplaybackrate nodownload" class="audio" @play="audioPlay"></audio>
+              <audio
+                :src="auidoPathTwo"
+                controls
+                controlslist="noplaybackrate nodownload"
+                class="audio"
+              ></audio>
             </li>
           </ul>
-          <h3 id="c015">娓旀瓕瀛�</h3>
-          <p class="block2 fm-son">銆斿攼銆曞紶蹇楀拰</p>
+          <h3 id="c015" style="margin-right: 3%;" >娓旀瓕瀛�</h3>
+          <p class="block2 fm-son" style="margin-right: 7%;">銆斿攼銆曞紶蹇楀拰</p>
           <p class="block2 m16-0">瑗垮灞卞墠鐧介弓椋烇紝</p>
           <p class="block2 m16-0">妗冭姳娴佹按槌滈奔鑲ャ��</p>
         </div>
@@ -125,8 +124,8 @@
             x5-playsinline=""
             controls
             controlslist="nodownload"
-            class="w100"
-            style="margin:38px 0"
+            class="w100 video"
+            style="margin: 38px 0"
           ></video>
           <h2 class="lefth2" id="b003">
             <img class="img-gn" alt="" src="../../assets/images/czysj.jpg" />
@@ -189,6 +188,8 @@
       auidoPathOne: "",
       auidoPathTwo: "",
       num: 0,
+      crane: require("../../assets/images/crane.png"),
+      rise: require("../../assets/images/rise.png"),
     };
   },
   unmounted() {
@@ -223,7 +224,7 @@
     },
     cutNum() {
       this.cutTimer = setInterval(() => {
-        if (this.num > 0) {
+        if (this.num > -10) {
           this.num--;
         } else {
           clearInterval(this.cutTimer);
@@ -231,9 +232,6 @@
         }
       }, 200);
     },
-    audioPlay(e) {
-      this.$emit('closeAudio',e.srcElement.currentSrc)
-    }
   },
 };
 </script>

--
Gitblit v1.9.1