|
@@ -133,18 +133,18 @@ export default struct OnlineUpdateLog {
|
|
|
|
|
|
|
|
// 版本信息和进度条
|
|
// 版本信息和进度条
|
|
|
Column() {
|
|
Column() {
|
|
|
- Row() {
|
|
|
|
|
- Text('当前版本:')
|
|
|
|
|
- .fontSize(15)
|
|
|
|
|
- .fontColor(this.isDarkMode ? '#E0E0E0' : Color.Gray)
|
|
|
|
|
-
|
|
|
|
|
- Text(`v${this.currentVersion}`)
|
|
|
|
|
- .fontSize(15)
|
|
|
|
|
- .fontColor(this.themeColor)
|
|
|
|
|
- .fontWeight(FontWeight.Medium)
|
|
|
|
|
- }
|
|
|
|
|
- .alignSelf(ItemAlign.Start)
|
|
|
|
|
- .margin({ bottom: 8 })
|
|
|
|
|
|
|
+ // Row() {
|
|
|
|
|
+ // Text('当前版本:')
|
|
|
|
|
+ // .fontSize(15)
|
|
|
|
|
+ // .fontColor(this.isDarkMode ? '#E0E0E0' : Color.Gray)
|
|
|
|
|
+ //
|
|
|
|
|
+ // Text(`v${this.currentVersion}`)
|
|
|
|
|
+ // .fontSize(15)
|
|
|
|
|
+ // .fontColor(this.themeColor)
|
|
|
|
|
+ // .fontWeight(FontWeight.Medium)
|
|
|
|
|
+ // }
|
|
|
|
|
+ // .alignSelf(ItemAlign.Start)
|
|
|
|
|
+ // .margin({ bottom: 8 })
|
|
|
|
|
|
|
|
// 进度条 - 使用主题色
|
|
// 进度条 - 使用主题色
|
|
|
if (this.progressVisible && this.progressValue < 100) {
|
|
if (this.progressVisible && this.progressValue < 100) {
|
|
@@ -246,7 +246,8 @@ export default struct OnlineUpdateLog {
|
|
|
})
|
|
})
|
|
|
.width('100%')
|
|
.width('100%')
|
|
|
.height(350)
|
|
.height(350)
|
|
|
- .borderRadius(8)
|
|
|
|
|
|
|
+ .borderRadius(12)
|
|
|
|
|
+ .layoutWeight(1)
|
|
|
.backgroundColor(this.isDarkMode ? '#2C2C2C' : Color.White)
|
|
.backgroundColor(this.isDarkMode ? '#2C2C2C' : Color.White)
|
|
|
// .border({
|
|
// .border({
|
|
|
// width: 1,
|
|
// width: 1,
|
|
@@ -340,10 +341,10 @@ export default struct OnlineUpdateLog {
|
|
|
.padding({ left: 20, right: 20, top: 16, bottom: 16 })
|
|
.padding({ left: 20, right: 20, top: 16, bottom: 16 })
|
|
|
.backgroundColor(this.isDarkMode ? '#3A3A3A' : '#F8F9FA')
|
|
.backgroundColor(this.isDarkMode ? '#3A3A3A' : '#F8F9FA')
|
|
|
.borderRadius({
|
|
.borderRadius({
|
|
|
- topLeft: 0,
|
|
|
|
|
- topRight: 0,
|
|
|
|
|
- bottomLeft: 12,
|
|
|
|
|
- bottomRight: 12
|
|
|
|
|
|
|
+ topLeft: 15,
|
|
|
|
|
+ topRight:15,
|
|
|
|
|
+ bottomLeft: 15,
|
|
|
|
|
+ bottomRight: 15
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
.backgroundColor(this.isDarkMode ? '#2C2C2C' : Color.White)
|
|
.backgroundColor(this.isDarkMode ? '#2C2C2C' : Color.White)
|