bug修改

This commit is contained in:
XiuYun CHEN
2025-06-17 15:40:04 +08:00
parent 57fc7cfdf3
commit 7414611bc5
13 changed files with 344 additions and 52 deletions
@@ -156,8 +156,9 @@ struct BootPage {
}
.width('100%')
.height('100%')
.backgroundImage(this.photoUrl)
.backgroundImageSize(ImageSize.FILL)
.backgroundImage(this.photoUrl,ImageRepeat.NoRepeat)
.backgroundImageSize(ImageSize.Cover) // 铺满不变形
.backgroundImagePosition(Alignment.Center) // 居中裁剪
.geometryTransition("boot")
.transition(TransitionEffect.OPACITY)
}
@@ -115,9 +115,9 @@ struct CancelAccount {
.fontSize(13)
.fontColor(Color.White)
.width('90%')
.height(45)
.height(44)
.backgroundColor('#8B2316')
.borderRadius(3)
.borderRadius(4)
.margin(20)
.border({
width:1,
@@ -36,7 +36,7 @@ struct SettingPage {
bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_METADATA
)
.then((res) => {
this.version = 'v' + res.versionName
this.version = 'V' + res.versionName
})
}
@@ -83,12 +83,12 @@ struct SettingPage {
if (item=='版本') {
Text(this.version)
.fontSize(16)
.fontColor($r('app.color.main_color'))
.fontColor(Color.Black)
.margin({ right: 10 })
} else if (item == '清除缓存') {
Text(this.cache)
.fontSize(16)
.fontColor($r('app.color.main_color'))
.fontColor(Color.Black)
.margin({ right: 10 })
Image($r('sys.media.ohos_ic_public_arrow_right'))
.width(15)