From 8522ef2481b45f7b0d854679eaedb2a4c5271261 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 01 七月 2024 11:17:24 +0800
Subject: [PATCH] 戏剧添加涂色题

---
 src/books/artAndDrama/view/components/chapter004.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/books/artAndDrama/view/components/chapter004.vue b/src/books/artAndDrama/view/components/chapter004.vue
index 80f7f08..8b4faed 100644
--- a/src/books/artAndDrama/view/components/chapter004.vue
+++ b/src/books/artAndDrama/view/components/chapter004.vue
@@ -5,7 +5,7 @@
                 <h1 id="a004">
                     <!-- 杩欓噷鐨勫姩鍥炬湁闂锛屾病鏈夎儗鏅浘鐗� -->
                     <img class="img-0" alt="" src="../../assets/images/dy4.jpg" />
-                    <audio :src="auidoPathOne" controls class="audio" @play="audioPlay"></audio>
+                    <audio :src="auidoPathOne" controls class="audio"></audio>
                 </h1>
                 <div class="bodystyle">
                     <div class="bk">
@@ -66,6 +66,7 @@
                             class="hs1">鈼�</span>鏄ュぉ鏉ヤ簡锛屾槬椋庡惞杩囷紝鏌虫爲鍙戣娊浜嗭紝杩庢槬鑺卞紑浜嗭紝灏忕嚂瀛愬湪澶╃┖鑷敱鍦伴缈斻�備竴鍒囬兘鏄偅涔堢敓鏈哄媰鍕冦�傝涓衡�滄槬澶┾�濇秱涓婁綘鍠滄鐨勯鑹层��</p>
                     <!-- 鍥剧墖缂哄け -->
                     <!-- <p class="center"><img class="img-e" alt="" src="./../assets/images/0033-1.jpg" /></p> -->
+                     <graffiti  :page="32" :bcImg="this.config.activeBook.resourceUrl + '/image/0033-1.jpg'" :imgWidth="596" :imgHeight="800" />
                 </div>
                 <!-- 姝ゆ涓洪〉鑴氶儴鍒嗭紙闇�瑕佽缃〉鐮侊級 -->
                 <div class="page-footer">
@@ -184,7 +185,7 @@
                     <p class="center text">
                         <video :src="videoPathOne" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true"
                             x5-video-orientation="h5" x5-video-player-fullscreen="true" x5-playsinline="" controls
-                            controlslist="nodownload" class="w100 video" @play="videoPlay"
+                            controlslist="nodownload" class="w100 video" 
                             style="margin-top: 40px; border-radius: 10px; border: 2px solid green;"></video>
                     </p>
                     <p class="center videoname">
@@ -207,6 +208,7 @@
 </template>
 <script>
 import { getResourcePath } from "@/assets/methods/resources";
+import graffiti from '@/components/graffiti/index.vue'
 export default {
     name: "chapterFour",
     props: {
@@ -214,6 +216,7 @@
             type: Array,
         },
     },
+    components:{graffiti},
     //鍦ㄨ繖閲屽璋冪敤鐨勬柟娉曡繘琛屾寕杞�
     mounted() {
         this.getVidoePath();
@@ -280,12 +283,6 @@
                 "artAndDrama-book-question-four",
                 JSON.stringify(this.questionData)
             );
-        },
-        audioPlay(e) {
-            this.$emit('closeAudio', e.srcElement.currentSrc)
-        },
-        videoPlay(e) {
-            this.$emit('closeVideo', e.srcElement.currentSrc)
         },
         handleChapterData() {
             localStorage.setItem(

--
Gitblit v1.9.1