From b4469608f6b7bd6e57657ad80654314f450e854d Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 23 五月 2024 11:02:07 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/books/childHealth/view/content/index.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/books/childHealth/view/content/index.vue b/src/books/childHealth/view/content/index.vue
index 3164729..50994d1 100644
--- a/src/books/childHealth/view/content/index.vue
+++ b/src/books/childHealth/view/content/index.vue
@@ -294,18 +294,19 @@
       const borderColorDom = (
         this.container ? this.container : document
       ).querySelectorAll(".theme-border");
+      console.log(this.config,'this.configthis.config');
       // 鑾峰彇閰嶇疆鐨勪富棰樿壊
       const bookThemeColor =
-        this.thisBookConfig && this.thisBookConfig.bookThemeColor
-          ? this.thisBookConfig.bookThemeColor
+        this.config.activeBook && this.config.activeBook.bookThemeColor
+          ? this.config.activeBook.bookThemeColor
           : null;
       const chapterThemeColor =
-        this.thisBookConfig && this.thisBookConfig.chapterThemeColor
-          ? this.thisBookConfig.chapterThemeColor
+        this.config.activeBook && this.config.activeBook.chapterThemeColor
+          ? this.config.activeBook.chapterThemeColor
           : null;
       const pageThemeColor =
-        this.thisBookConfig && this.thisBookConfig.pageThemeColor
-          ? this.thisBookConfig.pageThemeColor
+        this.config.activeBook && this.config.activeBook.pageThemeColor
+          ? this.config.activeBook.pageThemeColor
           : null;
       colorDom.forEach((domItem) => {
         // 鑾峰彇绔犺妭銆侀〉鐮�

--
Gitblit v1.9.1