From e8f418421e7e6305db2ffc0516a555f04510d2e7 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 22 五月 2024 21:41:46 +0800 Subject: [PATCH] 1 --- 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