Showing
1 changed file
with
7 additions
and
5 deletions
| @@ -13,7 +13,7 @@ export struct UpgradeTipDialog { | @@ -13,7 +13,7 @@ export struct UpgradeTipDialog { | ||
| 13 | maxWidth: number = 0 | 13 | maxWidth: number = 0 |
| 14 | scroller: Scroller = new Scroller(); | 14 | scroller: Scroller = new Scroller(); |
| 15 | aboutToAppear(): void { | 15 | aboutToAppear(): void { |
| 16 | - this.maxHeight = DisplayUtils.getDeviceHeight() * 0.6 | 16 | + this.maxHeight = DisplayUtils.getDeviceHeight() * 0.65 |
| 17 | this.maxWidth = DisplayUtils.getDeviceWidth() * 0.76 | 17 | this.maxWidth = DisplayUtils.getDeviceWidth() * 0.76 |
| 18 | 18 | ||
| 19 | // this.tipContent.content = "1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电" | 19 | // this.tipContent.content = "1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电" |
| @@ -54,14 +54,16 @@ export struct UpgradeTipDialog { | @@ -54,14 +54,16 @@ export struct UpgradeTipDialog { | ||
| 54 | .fontColor("#222222") | 54 | .fontColor("#222222") |
| 55 | .fontSize(18) | 55 | .fontSize(18) |
| 56 | .textAlign(TextAlign.Center) | 56 | .textAlign(TextAlign.Center) |
| 57 | + .fontFamily('PingFang SC-Medium') | ||
| 57 | 58 | ||
| 58 | Scroll(this.scroller) { | 59 | Scroll(this.scroller) { |
| 59 | Column() { | 60 | Column() { |
| 60 | Row() { | 61 | Row() { |
| 61 | Text(this.tipContent.content) | 62 | Text(this.tipContent.content) |
| 62 | - .fontColor("#000000") | 63 | + .fontColor("#222222") |
| 63 | .fontSize(14) | 64 | .fontSize(14) |
| 64 | .textAlign(TextAlign.Start) | 65 | .textAlign(TextAlign.Start) |
| 66 | + .lineHeight(24) | ||
| 65 | } | 67 | } |
| 66 | .alignItems(VerticalAlign.Top) | 68 | .alignItems(VerticalAlign.Top) |
| 67 | .width("100%") | 69 | .width("100%") |
| @@ -70,8 +72,8 @@ export struct UpgradeTipDialog { | @@ -70,8 +72,8 @@ export struct UpgradeTipDialog { | ||
| 70 | .padding({left: 24, right: 24}) | 72 | .padding({left: 24, right: 24}) |
| 71 | } | 73 | } |
| 72 | .width("100%") | 74 | .width("100%") |
| 73 | - .margin({top: 16, bottom: 2}) | ||
| 74 | - // .backgroundColor(Color.Brown) | 75 | + .margin({top: 12, bottom: 2}) |
| 76 | + // .backgroundColor(Color.Pink) | ||
| 75 | .layoutWeight(1) | 77 | .layoutWeight(1) |
| 76 | 78 | ||
| 77 | /// 灰色线 | 79 | /// 灰色线 |
| @@ -100,7 +102,7 @@ export struct UpgradeTipDialog { | @@ -100,7 +102,7 @@ export struct UpgradeTipDialog { | ||
| 100 | 102 | ||
| 101 | if (this.tipContent.forceUpgrade) { | 103 | if (this.tipContent.forceUpgrade) { |
| 102 | Text("温馨提示:本次更新为必要更新,若您选择拒绝,将无法再使用app") | 104 | Text("温馨提示:本次更新为必要更新,若您选择拒绝,将无法再使用app") |
| 103 | - .fontColor("999999") | 105 | + .fontColor("#999999") |
| 104 | .fontSize(12) | 106 | .fontSize(12) |
| 105 | .fontWeight(400) | 107 | .fontWeight(400) |
| 106 | .lineHeight(17) | 108 | .lineHeight(17) |
-
Please register or login to post a comment