From 103435c2d8cb8fc01ed7ac6dc696e28fa0f0acc4 Mon Sep 17 00:00:00 2001 From: EasyGuohf <163991322+EasyGuohf@users.noreply.github.com> Date: Wed, 30 Jul 2025 10:32:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?sidebar=E5=88=97=E8=A1=A8=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E8=89=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- multinavbarlibrary/BuildProfile.ets | 17 ----------------- .../src/main/resources/base/element/color.json | 4 ++-- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 multinavbarlibrary/BuildProfile.ets diff --git a/multinavbarlibrary/BuildProfile.ets b/multinavbarlibrary/BuildProfile.ets deleted file mode 100644 index 3a501e5..0000000 --- a/multinavbarlibrary/BuildProfile.ets +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Use these variables when you tailor your ArkTS code. They must be of the const type. - */ -export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; -export const TARGET_NAME = 'default'; - -/** - * BuildProfile Class is used only for compatibility purposes. - */ -export default class BuildProfile { - static readonly HAR_VERSION = HAR_VERSION; - static readonly BUILD_MODE_NAME = BUILD_MODE_NAME; - static readonly DEBUG = DEBUG; - static readonly TARGET_NAME = TARGET_NAME; -} \ No newline at end of file diff --git a/multinavbarlibrary/src/main/resources/base/element/color.json b/multinavbarlibrary/src/main/resources/base/element/color.json index ebe9fb7..8ab75f1 100644 --- a/multinavbarlibrary/src/main/resources/base/element/color.json +++ b/multinavbarlibrary/src/main/resources/base/element/color.json @@ -2,11 +2,11 @@ "color": [ { "name": "tab_bar_color_normal", - "value": "#00FFFFFF" + "value": "#1A0A59F7" }, { "name": "tab_bar_color_selected", - "value": "#1A0A59F7" + "value": "#00FFFFFF" }, { "name": "side_bar_backgroundColor", -- Gitee From 4ea7ecc35abfdb722d5b0478fc144486ca622586 Mon Sep 17 00:00:00 2001 From: EasyGuohf <163991322+EasyGuohf@users.noreply.github.com> Date: Wed, 30 Jul 2025 10:47:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?sidebar=E5=88=97=E8=A1=A8=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E8=89=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- multinavbarlibrary/src/main/ets/view/SideBarView.ets | 4 ++-- multinavbarlibrary/src/main/resources/base/element/color.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/multinavbarlibrary/src/main/ets/view/SideBarView.ets b/multinavbarlibrary/src/main/ets/view/SideBarView.ets index 46579a2..ab405d1 100644 --- a/multinavbarlibrary/src/main/ets/view/SideBarView.ets +++ b/multinavbarlibrary/src/main/ets/view/SideBarView.ets @@ -74,8 +74,8 @@ export struct SideBarView { .width('100%') .height($r('app.float.size_40')) .borderRadius($r('sys.float.corner_radius_level4')) - .backgroundColor(index === this.secondLevelIndex ? $r('app.color.tab_bar_color_normal') : - $r('app.color.tab_bar_color_selected')) + .backgroundColor(index === this.secondLevelIndex ? $r('app.color.tab_bar_color_selected') : + $r('app.color.tab_bar_color_normal')) .onClick(() => { this.secondLevelIndex = index; }) diff --git a/multinavbarlibrary/src/main/resources/base/element/color.json b/multinavbarlibrary/src/main/resources/base/element/color.json index 8ab75f1..ebe9fb7 100644 --- a/multinavbarlibrary/src/main/resources/base/element/color.json +++ b/multinavbarlibrary/src/main/resources/base/element/color.json @@ -2,11 +2,11 @@ "color": [ { "name": "tab_bar_color_normal", - "value": "#1A0A59F7" + "value": "#00FFFFFF" }, { "name": "tab_bar_color_selected", - "value": "#00FFFFFF" + "value": "#1A0A59F7" }, { "name": "side_bar_backgroundColor", -- Gitee