From c547c75fce3c2d9badcb496da7d8e5443e22dbfc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 03 八月 2024 17:10:41 +0800 Subject: [PATCH] Merge branch 'develop' --- src/views/mobdesign/index.jsx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/mobdesign/index.jsx b/src/views/mobdesign/index.jsx index ebeda0b..e466da9 100644 --- a/src/views/mobdesign/index.jsx +++ b/src/views/mobdesign/index.jsx @@ -1325,6 +1325,7 @@ let traversal = (components) => { return components.map(item => { + item.miniStyle = '' if (item.style) { item.miniStyle = this.transferStyle(item.style) } @@ -1340,6 +1341,9 @@ } if (item.type === 'tabs') { + if (item.setting.backgroundColor) { + item.miniStyle += `--tabs-header-background: ${item.setting.backgroundColor};` + } item.subtabs.forEach(tab => { tab.components = traversal(tab.components) }) -- Gitblit v1.8.0