Showing
1 changed file
with
10 additions
and
15 deletions
| @@ -9,17 +9,18 @@ export struct MergeRecordDialog { | @@ -9,17 +9,18 @@ export struct MergeRecordDialog { | ||
| 9 | build() { | 9 | build() { |
| 10 | Column() { | 10 | Column() { |
| 11 | Text("合并游客记录到当前账号,可避免信息丢失") | 11 | Text("合并游客记录到当前账号,可避免信息丢失") |
| 12 | - .fontColor("#222222") | 12 | + .fontColor("#333333") |
| 13 | .fontSize(18) | 13 | .fontSize(18) |
| 14 | .width("100%") | 14 | .width("100%") |
| 15 | .fontWeight(FontWeight.Bold) | 15 | .fontWeight(FontWeight.Bold) |
| 16 | .textAlign(TextAlign.Center) | 16 | .textAlign(TextAlign.Center) |
| 17 | - .margin({ top: 20 }) | 17 | + .margin({ top: 25 }) |
| 18 | + .padding({left:24,right:24}) | ||
| 18 | 19 | ||
| 19 | - Divider().color("#999999").width("100%").margin({ top: 20 }).height('1vp') | 20 | + Divider().color("#08000000").width("100%").margin({ top: 20 }).height('2vp') |
| 20 | Row() { | 21 | Row() { |
| 21 | Text('取消') | 22 | Text('取消') |
| 22 | - .fontSize(16) | 23 | + .fontSize(18) |
| 23 | .fontColor("#648DF2") | 24 | .fontColor("#648DF2") |
| 24 | .layoutWeight(1) | 25 | .layoutWeight(1) |
| 25 | .fontWeight(FontWeight.Medium) | 26 | .fontWeight(FontWeight.Medium) |
| @@ -31,28 +32,22 @@ export struct MergeRecordDialog { | @@ -31,28 +32,22 @@ export struct MergeRecordDialog { | ||
| 31 | } | 32 | } |
| 32 | 33 | ||
| 33 | }) | 34 | }) |
| 34 | - .height('100%') | ||
| 35 | - // Divider().color("#999999").height('100%').width('0.5vp') | 35 | + .height(50) |
| 36 | + Divider().color("#eeeeee").height(44).width(1).margin({top:3}).strokeWidth(1).vertical(true) | ||
| 36 | Text('一键合并') | 37 | Text('一键合并') |
| 37 | - .fontSize(16) | 38 | + .fontSize(18) |
| 38 | .fontColor("#648DF2") | 39 | .fontColor("#648DF2") |
| 39 | .layoutWeight(1) | 40 | .layoutWeight(1) |
| 40 | .fontWeight(FontWeight.Medium) | 41 | .fontWeight(FontWeight.Medium) |
| 41 | .textAlign(TextAlign.Center) | 42 | .textAlign(TextAlign.Center) |
| 42 | - .border({ | ||
| 43 | - width: { left: 1 }, | ||
| 44 | - color: "#999999", | ||
| 45 | - style: { left: BorderStyle.Solid } | ||
| 46 | - | ||
| 47 | - }) | ||
| 48 | .onClick(() => { | 43 | .onClick(() => { |
| 49 | this.controller.close() | 44 | this.controller.close() |
| 50 | if (this.confirm) { | 45 | if (this.confirm) { |
| 51 | this.confirm() | 46 | this.confirm() |
| 52 | } | 47 | } |
| 53 | }) | 48 | }) |
| 54 | - .height('100%') | 49 | + .height(50) |
| 55 | }.layoutWeight(1).justifyContent(FlexAlign.Center) | 50 | }.layoutWeight(1).justifyContent(FlexAlign.Center) |
| 56 | - }.height(140).backgroundColor(Color.White).borderRadius(10).width('74%') | 51 | + }.height(140).backgroundColor(Color.White).borderRadius(14).width('75%') |
| 57 | } | 52 | } |
| 58 | } | 53 | } |
-
Please register or login to post a comment