dev:
1、处理暗色背景下,无法正常展示文字和部分元素 2、隐私问题:在同意后执行oaid获取 3、修改版本号在对比度无法看清问题
This commit is contained in:
parent
3322ada07e
commit
8250f0b1a8
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -346,6 +346,7 @@ export struct FeedbackLayout {
|
|||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
.backgroundColor('#FFFFFFFF')
|
||||
.alignContent(Alignment.Bottom)
|
||||
}
|
||||
.hideTitleBar(true)
|
||||
|
|
|
|||
|
|
@ -183,6 +183,7 @@ export struct LongImageLayout {
|
|||
.zIndex(100)
|
||||
}
|
||||
}
|
||||
.backgroundColor('#FFFFFF')
|
||||
}
|
||||
.hideTitleBar(true)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ export struct WebLayout {
|
|||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
.backgroundColor('#FFFFFFFF')
|
||||
}
|
||||
.onReady((context: NavDestinationContext) => {
|
||||
this.urlParams = context.pathInfo.param as WebParams;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
{
|
||||
"name": "default",
|
||||
"output": {
|
||||
"artifactName": "rabbit_harmony_v1.0.1_26571040"
|
||||
"artifactName": "rabbit_harmony_v1.0.0_26581054"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -75,10 +75,6 @@ struct SplashScreenPage {
|
|||
|
||||
aboutToAppear() {
|
||||
Logger.info('Rabbit_SplashScreenPage', '启动页加载完成');
|
||||
getOAID().then((oaid: string) => {
|
||||
AppStorage.setOrCreate<string>(DEVICE_OAID, oaid);
|
||||
});
|
||||
|
||||
if(AppStorage.get<boolean>(IS_KV_STORE_INIT_FINISHED)){
|
||||
this.showAgreement()
|
||||
}else{
|
||||
|
|
@ -106,6 +102,10 @@ struct SplashScreenPage {
|
|||
|
||||
// 同意协议后执行
|
||||
agreeRun() {
|
||||
getOAID().then((oaid: string) => {
|
||||
AppStorage.setOrCreate<string>(DEVICE_OAID, oaid);
|
||||
});
|
||||
|
||||
this.hasAgreed = true;
|
||||
this.startFlow();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue