Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chenqs
2024-07-25 17:47:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8f052c804a26aba35d6f48467340858506401a57
8f052c80
1 parent
ab6d7396
fix |> 强制升级弹窗UI样式调整
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
sight_harmony/products/phone/src/main/ets/pages/upgradePage/UpgradeTipDialog.ets
sight_harmony/products/phone/src/main/ets/pages/upgradePage/UpgradeTipDialog.ets
View file @
8f052c8
...
...
@@ -13,7 +13,7 @@ export struct UpgradeTipDialog {
maxWidth: number = 0
scroller: Scroller = new Scroller();
aboutToAppear(): void {
this.maxHeight = DisplayUtils.getDeviceHeight() * 0.6
this.maxHeight = DisplayUtils.getDeviceHeight() * 0.6
5
this.maxWidth = DisplayUtils.getDeviceWidth() * 0.76
// 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 {
.fontColor("#222222")
.fontSize(18)
.textAlign(TextAlign.Center)
.fontFamily('PingFang SC-Medium')
Scroll(this.scroller) {
Column() {
Row() {
Text(this.tipContent.content)
.fontColor("#
000000
")
.fontColor("#
222222
")
.fontSize(14)
.textAlign(TextAlign.Start)
.lineHeight(24)
}
.alignItems(VerticalAlign.Top)
.width("100%")
...
...
@@ -70,8 +72,8 @@ export struct UpgradeTipDialog {
.padding({left: 24, right: 24})
}
.width("100%")
.margin({top: 16, bottom: 2})
// .backgroundColor(Color.Brown)
.margin({top: 12, bottom: 2})
// .backgroundColor(Color.Pink)
.layoutWeight(1)
/// 灰色线
...
...
@@ -100,7 +102,7 @@ export struct UpgradeTipDialog {
if (this.tipContent.forceUpgrade) {
Text("温馨提示:本次更新为必要更新,若您选择拒绝,将无法再使用app")
.fontColor("999999")
.fontColor("
#
999999")
.fontSize(12)
.fontWeight(400)
.lineHeight(17)
...
...
Please
register
or
login
to post a comment