From 9a3baab049df4a32a7b724c5f24cecdbc3e469b6 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 05 六月 2025 09:37:25 +0800
Subject: [PATCH] 图片名字更新

---
 src/books/sportsAndHealth/view/components/index.vue |   95 ++++++++++++++++++++---------------------------
 1 files changed, 41 insertions(+), 54 deletions(-)

diff --git a/src/books/sportsAndHealth/view/components/index.vue b/src/books/sportsAndHealth/view/components/index.vue
index 6ccabfa..c9cd010 100644
--- a/src/books/sportsAndHealth/view/components/index.vue
+++ b/src/books/sportsAndHealth/view/components/index.vue
@@ -96,7 +96,7 @@
         setTimeout(() => {
           this.initSwiper()
           this.initViewer()
-          this.readText()
+          // this.readText()
         }, 200)
       },
     },
@@ -167,36 +167,23 @@
     }, 500)
 
     // 娴嬭瘯椤甸潰璺宠浆
-    setTimeout(() => {
-      this.gotoPage(5, 140)
-      //   setTimeout(() => {
-      //     this.renderSign("Highlight", {
-      //       id: "2ACA9359",
-      //       txt: "棰樹竴瀛︿範涓婚涓� 杩愬姩",
-      //       page: "10",
-      //       type: "Highlight",
-      //       color: "#F5E12A"
-      //     });
-      // setTimeout(() => {
-      //   this.delSign({
-      //     ids: ["2ACA9359"]
-      //   });
-      // }, 2000);
-      //}, 5000);
+    // setTimeout(() => {
+    //   this.gotoPage(3, 65)
+    //   }, 500);
 
-      // const pageDom = (this.container ? this.container : document)
-      //   .querySelector("#app")
-      //   .querySelectorAll(".page-box");
-      // 妫�绱�
-      // console.log(this.searchTextByPage("淇濇姢鍐呰剰鍣ㄥ畼"), "searchTextByPage");
-      // 妫�绱㈣烦杞�
-      // this.searchItemLocation({
-      //   catalog: 2,
-      //   page: 10,
-      //   txt: " 杩愬姩绯荤粺鏄敱楠ㄣ�侀杩炵粨鍜岄楠艰倢涓夐儴鍒嗙粍鎴愮殑銆傚叏韬殑楠ㄩ�氳繃楠ㄨ繛缁撶粍鎴愪汉浣撻楠硷紙瑙佸浘1-1锛夈�傞楠兼槸浜轰綋鐨勬敮鏋讹紝鍏锋湁淇濇姢鍐呰剰鍣ㄥ畼銆佷緵鑲岃倝闄勭潃鍜屼綔涓鸿倢鑲夎繍鍔ㄧ殑鏉犳潌绛変綔鐢ㄣ�傚湪绁炵粡绯荤粺鐨勬敮閰嶄笅锛岃倢鑲夋敹缂╃壍鍔ㄦ墍闄勭潃鐨勯缁曠潃鍏宠妭杞姩锛屼娇韬綋浜х敓鍚勭鍔ㄤ綔銆傛墍浠ワ紝杩愬姩绯荤粺鍏锋湁杩愬姩銆佹敮鎸佸拰淇濇姢绛夊姛鑳斤紝骞煎勾鏃舵湡鐨勯楠艰繕鍏锋湁閫犺鍔熻兘銆� ",
-      //   txtIndex: 57
-      // });
-    }, 500)
+    // const pageDom = (this.container ? this.container : document)
+    //   .querySelector("#app")
+    //   .querySelectorAll(".page-box");
+    // 妫�绱�
+    // console.log(this.searchTextByPage("淇濇姢鍐呰剰鍣ㄥ畼"), "searchTextByPage");
+    // 妫�绱㈣烦杞�
+    // this.searchItemLocation({
+    //   catalog: 2,
+    //   page: 10,
+    //   txt: " 杩愬姩绯荤粺鏄敱楠ㄣ�侀杩炵粨鍜岄楠艰倢涓夐儴鍒嗙粍鎴愮殑銆傚叏韬殑楠ㄩ�氳繃楠ㄨ繛缁撶粍鎴愪汉浣撻楠硷紙瑙佸浘1-1锛夈�傞楠兼槸浜轰綋鐨勬敮鏋讹紝鍏锋湁淇濇姢鍐呰剰鍣ㄥ畼銆佷緵鑲岃倝闄勭潃鍜屼綔涓鸿倢鑲夎繍鍔ㄧ殑鏉犳潌绛変綔鐢ㄣ�傚湪绁炵粡绯荤粺鐨勬敮閰嶄笅锛岃倢鑲夋敹缂╃壍鍔ㄦ墍闄勭潃鐨勯缁曠潃鍏宠妭杞姩锛屼娇韬綋浜х敓鍚勭鍔ㄤ綔銆傛墍浠ワ紝杩愬姩绯荤粺鍏锋湁杩愬姩銆佹敮鎸佸拰淇濇姢绛夊姛鑳斤紝骞煎勾鏃舵湡鐨勯楠艰繕鍏锋湁閫犺鍔熻兘銆� ",
+    //   txtIndex: 57
+    // });
+    // }, 500)
   },
   methods: {
     swdtChange(data) {
@@ -848,30 +835,30 @@
       // 璺宠浆
       this.gotoPage(data.catalog, data.page, () => { })
     },
-    readText() {
-      const doms = (
-        this.container ? this.container : document
-      ).querySelectorAll('.read-aloud')
-      for (let index = 0; index < doms.length; index++) {
-        const dom = doms[index]
-        let id = null
-        dom.addEventListener('click', (e) => {
-          if (e.srcElement.nodeName == 'svg') {
-            id = dom.getAttribute('readId')
-          } else if (e.srcElement.nodeName == 'g') {
-            const svgDom = e.srcElement.parentNode
-            id = svgDom.getAttribute('readId')
-          } else {
-            const svgDom = e.srcElement.parentNode.parentNode
-            id = svgDom.getAttribute('readId')
-          }
-          const item = (
-            this.container ? this.container : document
-          ).querySelector('#' + id).innerText
-          console.log(item, 233)
-        })
-      }
-    },
+    // readText() {
+    //   const doms = (
+    //     this.container ? this.container : document
+    //   ).querySelectorAll('.read-aloud')
+    //   for (let index = 0; index < doms.length; index++) {
+    //     const dom = doms[index]
+    //     let id = null
+    //     dom.addEventListener('click', (e) => {
+    //       if (e.srcElement.nodeName == 'svg') {
+    //         id = dom.getAttribute('readId')
+    //       } else if (e.srcElement.nodeName == 'g') {
+    //         const svgDom = e.srcElement.parentNode
+    //         id = svgDom.getAttribute('readId')
+    //       } else {
+    //         const svgDom = e.srcElement.parentNode.parentNode
+    //         id = svgDom.getAttribute('readId')
+    //       }
+    //       const item = (
+    //         this.container ? this.container : document
+    //       ).querySelector('#' + id).innerText
+    //       console.log(item, 233)
+    //     })
+    //   }
+    // },
   },
   components: {
     pageHeader,

--
Gitblit v1.9.1