bug修改
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user