Showing
1 changed file
with
8 additions
and
2 deletions
| @@ -44,7 +44,7 @@ export default struct CustomDialogComponent { | @@ -44,7 +44,7 @@ export default struct CustomDialogComponent { | ||
| 44 | .fontSize(14) | 44 | .fontSize(14) |
| 45 | .fontColor($r('app.color.dialog_private_text_color')) | 45 | .fontColor($r('app.color.dialog_private_text_color')) |
| 46 | } | 46 | } |
| 47 | - .width('90%') | 47 | + .width('90%').lineHeight(22) |
| 48 | Row(){ | 48 | Row(){ |
| 49 | 49 | ||
| 50 | // Button(){ | 50 | // Button(){ |
| @@ -135,6 +135,12 @@ export default struct CustomDialogComponent { | @@ -135,6 +135,12 @@ export default struct CustomDialogComponent { | ||
| 135 | .width('90%') | 135 | .width('90%') |
| 136 | .fontColor($r('app.color.dialog_text_color')) | 136 | .fontColor($r('app.color.dialog_text_color')) |
| 137 | .fontSize(14).margin({top:20}) | 137 | .fontSize(14).margin({top:20}) |
| 138 | + | ||
| 139 | + Divider() | ||
| 140 | + .color('#f5f5f5') | ||
| 141 | + .width('100%') | ||
| 142 | + .strokeWidth(1) | ||
| 143 | + .padding({left:16,right:16,top:22}) | ||
| 138 | Row() { | 144 | Row() { |
| 139 | Text($r('app.string.dialog_button_disagree')) | 145 | Text($r('app.string.dialog_button_disagree')) |
| 140 | .fancy() | 146 | .fancy() |
| @@ -154,7 +160,7 @@ export default struct CustomDialogComponent { | @@ -154,7 +160,7 @@ export default struct CustomDialogComponent { | ||
| 154 | }) | 160 | }) |
| 155 | 161 | ||
| 156 | } | 162 | } |
| 157 | - .margin({ bottom: '21lpx',top:'42lpx' }) | 163 | + .margin({ bottom: '21lpx',top:'22lpx' }) |
| 158 | 164 | ||
| 159 | } | 165 | } |
| 160 | .width('528lpx') | 166 | .width('528lpx') |
-
Please register or login to post a comment