From 8250f0b1a89aa5bcec0bba797ae2f7d231ce7ada Mon Sep 17 00:00:00 2001 From: shenzuqiang Date: Fri, 8 May 2026 10:56:59 +0800 Subject: [PATCH] =?UTF-8?q?dev:=201=E3=80=81=E5=A4=84=E7=90=86=E6=9A=97?= =?UTF-8?q?=E8=89=B2=E8=83=8C=E6=99=AF=E4=B8=8B=EF=BC=8C=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E5=B1=95=E7=A4=BA=E6=96=87=E5=AD=97=E5=92=8C?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=85=83=E7=B4=A0=202=E3=80=81=E9=9A=90?= =?UTF-8?q?=E7=A7=81=E9=97=AE=E9=A2=98=EF=BC=9A=E5=9C=A8=E5=90=8C=E6=84=8F?= =?UTF-8?q?=E5=90=8E=E6=89=A7=E8=A1=8Coaid=E8=8E=B7=E5=8F=96=203=E3=80=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=8F=B7=E5=9C=A8=E5=AF=B9?= =?UTF-8?q?=E6=AF=94=E5=BA=A6=E6=97=A0=E6=B3=95=E7=9C=8B=E6=B8=85=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-profile.json5 | 5 ++--- common/BuildProfile.ets | 6 +++--- features/mainLayout/BuildProfile.ets | 6 +++--- .../oh_modules/@ohos/common/BuildProfile.ets | 6 +++--- .../mainLayout/src/main/ets/pages/FeedbackLayout.ets | 1 + .../mainLayout/src/main/ets/pages/LongImageLayout.ets | 1 + features/mainLayout/src/main/ets/pages/WebLayout.ets | 1 + products/app/build-profile.json5 | 2 +- products/app/src/main/ets/pages/SplashScreenPage.ets | 8 ++++---- products/app/src/main/ets/view/HomeComponent.ets | 10 +++++++++- products/app/src/main/ets/view/MineComponent.ets | 5 +++-- 11 files changed, 31 insertions(+), 20 deletions(-) diff --git a/build-profile.json5 b/build-profile.json5 index c0df701..e6b1eef 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -34,7 +34,6 @@ "signingConfig": "release", "targetSdkVersion": "6.0.2(22)", "compatibleSdkVersion": "5.0.3(15)", - "compileSdkVersion": "6.0.2(22)", "runtimeOS": "HarmonyOS", "buildOption": { "strictMode": { @@ -44,12 +43,12 @@ "arkOptions": { "buildProfileFields": { "CHANNEL": "harmony", - "BUILD_TIME": "2605071040" + "BUILD_TIME": "2605081054" } } }, "output": { - "artifactName": "rabbit_harmony_release_v1.0.1_2605071040" + "artifactName": "rabbit_harmony_release_v1.0.0_2605081054" } } ], diff --git a/common/BuildProfile.ets b/common/BuildProfile.ets index 4711eb6..fc97330 100644 --- a/common/BuildProfile.ets +++ b/common/BuildProfile.ets @@ -2,11 +2,11 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '0.0.1'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; +export const BUILD_MODE_NAME = 'release'; +export const DEBUG = false; export const TARGET_NAME = 'default'; export const CHANNEL = 'harmony'; -export const BUILD_TIME = '2605071039'; +export const BUILD_TIME = '2605081036'; /** * BuildProfile Class is used only for compatibility purposes. diff --git a/features/mainLayout/BuildProfile.ets b/features/mainLayout/BuildProfile.ets index dd5e38d..1bf6b76 100644 --- a/features/mainLayout/BuildProfile.ets +++ b/features/mainLayout/BuildProfile.ets @@ -2,11 +2,11 @@ * 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 BUILD_MODE_NAME = 'release'; +export const DEBUG = false; export const TARGET_NAME = 'default'; export const CHANNEL = 'harmony'; -export const BUILD_TIME = '2605071039'; +export const BUILD_TIME = '2605081036'; /** * BuildProfile Class is used only for compatibility purposes. diff --git a/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets b/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets index 4711eb6..fc97330 100644 --- a/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets +++ b/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets @@ -2,11 +2,11 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '0.0.1'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; +export const BUILD_MODE_NAME = 'release'; +export const DEBUG = false; export const TARGET_NAME = 'default'; export const CHANNEL = 'harmony'; -export const BUILD_TIME = '2605071039'; +export const BUILD_TIME = '2605081036'; /** * BuildProfile Class is used only for compatibility purposes. diff --git a/features/mainLayout/src/main/ets/pages/FeedbackLayout.ets b/features/mainLayout/src/main/ets/pages/FeedbackLayout.ets index 4160eda..babc312 100644 --- a/features/mainLayout/src/main/ets/pages/FeedbackLayout.ets +++ b/features/mainLayout/src/main/ets/pages/FeedbackLayout.ets @@ -346,6 +346,7 @@ export struct FeedbackLayout { } .width('100%') .height('100%') + .backgroundColor('#FFFFFFFF') .alignContent(Alignment.Bottom) } .hideTitleBar(true) diff --git a/features/mainLayout/src/main/ets/pages/LongImageLayout.ets b/features/mainLayout/src/main/ets/pages/LongImageLayout.ets index 10ece8f..4ca38fa 100644 --- a/features/mainLayout/src/main/ets/pages/LongImageLayout.ets +++ b/features/mainLayout/src/main/ets/pages/LongImageLayout.ets @@ -183,6 +183,7 @@ export struct LongImageLayout { .zIndex(100) } } + .backgroundColor('#FFFFFF') } .hideTitleBar(true) } diff --git a/features/mainLayout/src/main/ets/pages/WebLayout.ets b/features/mainLayout/src/main/ets/pages/WebLayout.ets index e9d92e4..1b99faf 100644 --- a/features/mainLayout/src/main/ets/pages/WebLayout.ets +++ b/features/mainLayout/src/main/ets/pages/WebLayout.ets @@ -41,6 +41,7 @@ export struct WebLayout { } .width('100%') .height('100%') + .backgroundColor('#FFFFFFFF') } .onReady((context: NavDestinationContext) => { this.urlParams = context.pathInfo.param as WebParams; diff --git a/products/app/build-profile.json5 b/products/app/build-profile.json5 index 95147d2..f78fbbc 100644 --- a/products/app/build-profile.json5 +++ b/products/app/build-profile.json5 @@ -26,7 +26,7 @@ { "name": "default", "output": { - "artifactName": "rabbit_harmony_v1.0.1_26571040" + "artifactName": "rabbit_harmony_v1.0.0_26581054" } }, { diff --git a/products/app/src/main/ets/pages/SplashScreenPage.ets b/products/app/src/main/ets/pages/SplashScreenPage.ets index c706379..62e7d4a 100644 --- a/products/app/src/main/ets/pages/SplashScreenPage.ets +++ b/products/app/src/main/ets/pages/SplashScreenPage.ets @@ -75,10 +75,6 @@ struct SplashScreenPage { aboutToAppear() { Logger.info('Rabbit_SplashScreenPage', '启动页加载完成'); - getOAID().then((oaid: string) => { - AppStorage.setOrCreate(DEVICE_OAID, oaid); - }); - if(AppStorage.get(IS_KV_STORE_INIT_FINISHED)){ this.showAgreement() }else{ @@ -106,6 +102,10 @@ struct SplashScreenPage { // 同意协议后执行 agreeRun() { + getOAID().then((oaid: string) => { + AppStorage.setOrCreate(DEVICE_OAID, oaid); + }); + this.hasAgreed = true; this.startFlow(); } diff --git a/products/app/src/main/ets/view/HomeComponent.ets b/products/app/src/main/ets/view/HomeComponent.ets index ab935b7..ee8d07c 100644 --- a/products/app/src/main/ets/view/HomeComponent.ets +++ b/products/app/src/main/ets/view/HomeComponent.ets @@ -259,8 +259,9 @@ export struct HomeComponent { Text(item.text) .width('100%') .fontSize(12) + .fontColor('#000000') .margin({ top: 8}) - .backgroundColor($r('app.color.normal_background')) + .backgroundColor('#FFFFFF') .textAlign(TextAlign.Center) .borderRadius(12) } @@ -314,6 +315,7 @@ export struct HomeComponent { .width('100%') .fontSize(12) .textAlign(TextAlign.Start) + .fontColor('#000000') .margin({ top: 8}) .borderRadius(12) @@ -321,6 +323,7 @@ export struct HomeComponent { .width('100%') .fontSize(12) .textAlign(TextAlign.Start) + .fontColor('#000000') .margin({ top: 8}) .borderRadius(12) } @@ -375,6 +378,7 @@ export struct HomeComponent { Text(item.name) .width('100%') .fontSize(12) + .fontColor('#000000') .textAlign(TextAlign.Start) .margin({ top: 8}) .borderRadius(12) @@ -382,6 +386,7 @@ export struct HomeComponent { Text(item.resize) .width('100%') .fontSize(12) + .fontColor('#000000') .textAlign(TextAlign.Start) .margin({ top: 8}) .borderRadius(12) @@ -439,12 +444,14 @@ export struct HomeComponent { Text(item.name) .width('100%') .fontSize(12) + .fontColor('#000000') .textAlign(TextAlign.Center) .borderRadius(12) Text(item.resize) .width('100%') .fontSize(12) + .fontColor('#000000') .textAlign(TextAlign.Center) .margin({ top: 4}) .borderRadius(12) @@ -516,6 +523,7 @@ export struct HomeComponent { Text(item.name) .width('100%') .fontSize(12) + .fontColor('#000000') .margin({ top: 8}) .backgroundColor($r('app.color.normal_background')) .textAlign(TextAlign.Center) diff --git a/products/app/src/main/ets/view/MineComponent.ets b/products/app/src/main/ets/view/MineComponent.ets index 248dcf7..bd27ec0 100644 --- a/products/app/src/main/ets/view/MineComponent.ets +++ b/products/app/src/main/ets/view/MineComponent.ets @@ -218,7 +218,7 @@ export struct MineComponent { }) { Text(BuildProfile.DEBUG?'V' + this.appVersion + '-' + 'debug' + '-' + this.buildTime + ' ' : 'V' + this.appVersion + ' ') .fontSize(14) - .fontColor('#4d767676') + .fontColor('#FF767676') .textAlign(TextAlign.Center) .borderRadius(12) .padding({ right: 4, top: 4 }) @@ -226,7 +226,7 @@ export struct MineComponent { }else{ Text(BuildProfile.DEBUG?'V' + this.appVersion + '-' + 'debug' + '-' + this.buildTime : 'V' + this.appVersion) .fontSize(14) - .fontColor('#4d767676') + .fontColor('#FF767676') .textAlign(TextAlign.Center) .borderRadius(12) } @@ -297,6 +297,7 @@ export struct MineComponent { .alignContent(Alignment.TopStart) .width('100%') .height('100%') + .backgroundColor('#FFF9F9F9') } .hideTitleBar(true) }