Showing
4 changed files
with
22 additions
and
13 deletions
| @@ -129,7 +129,7 @@ struct ReserveMorePage { | @@ -129,7 +129,7 @@ struct ReserveMorePage { | ||
| 129 | Stack() { | 129 | Stack() { |
| 130 | Image(item.fullColumnImgUrls[0]?.url) | 130 | Image(item.fullColumnImgUrls[0]?.url) |
| 131 | .width('100%') | 131 | .width('100%') |
| 132 | - .height(196) | 132 | + .objectFit(ImageFit.Contain) |
| 133 | .borderRadius(4) | 133 | .borderRadius(4) |
| 134 | this.LiveImage() | 134 | this.LiveImage() |
| 135 | 135 | ||
| @@ -283,7 +283,7 @@ struct ReserveMorePage { | @@ -283,7 +283,7 @@ struct ReserveMorePage { | ||
| 283 | .fontWeight(400) | 283 | .fontWeight(400) |
| 284 | .fontColor(Color.White) | 284 | .fontColor(Color.White) |
| 285 | } | 285 | } |
| 286 | - .backgroundColor('#4D000000') | 286 | + .backgroundColor(Color.Transparent) |
| 287 | .margin({ right: 8, bottom: 8 }) | 287 | .margin({ right: 8, bottom: 8 }) |
| 288 | } | 288 | } |
| 289 | 289 |
| @@ -16,7 +16,7 @@ export struct SearchHistoryComponent{ | @@ -16,7 +16,7 @@ export struct SearchHistoryComponent{ | ||
| 16 | confirm: () => { | 16 | confirm: () => { |
| 17 | this.onAccept() | 17 | this.onAccept() |
| 18 | }, | 18 | }, |
| 19 | - title: "确认清空历史记录", | 19 | + title: "确认清空历史记录?", |
| 20 | tipShow:false, | 20 | tipShow:false, |
| 21 | leftTextColor:$r('app.color.color_648DF2') | 21 | leftTextColor:$r('app.color.color_648DF2') |
| 22 | }), | 22 | }), |
| @@ -234,7 +234,9 @@ export struct AccountAndSecurityLayout { | @@ -234,7 +234,9 @@ export struct AccountAndSecurityLayout { | ||
| 234 | RelativeContainer() { | 234 | RelativeContainer() { |
| 235 | Text('注销账号') | 235 | Text('注销账号') |
| 236 | .fontColor('#FF333333') | 236 | .fontColor('#FF333333') |
| 237 | - .fontSize(18) | 237 | + .fontSize("35lpx") |
| 238 | + .fontWeight(400) | ||
| 239 | + .lineHeight("50lpx") | ||
| 238 | .textAlign(TextAlign.Center) | 240 | .textAlign(TextAlign.Center) |
| 239 | .height(44) | 241 | .height(44) |
| 240 | .alignRules({ | 242 | .alignRules({ |
| @@ -265,51 +267,52 @@ export struct AccountAndSecurityLayout { | @@ -265,51 +267,52 @@ export struct AccountAndSecurityLayout { | ||
| 265 | 267 | ||
| 266 | Text('为保证您的账号安全,在您提交的注销申请生效前,需同时满足以下几个条件:') | 268 | Text('为保证您的账号安全,在您提交的注销申请生效前,需同时满足以下几个条件:') |
| 267 | .fontColor('#FF222222') | 269 | .fontColor('#FF222222') |
| 268 | - .fontSize(16) | ||
| 269 | .fontWeight(600) | 270 | .fontWeight(600) |
| 270 | - .padding({ top:17,left: 16, right: 16 }) | 271 | + .lineHeight("42lpx") |
| 272 | + .fontSize("31lpx") | ||
| 273 | + .padding({ top:17,left: "31lpx", right: "31lpx" }) | ||
| 271 | .width('100%') | 274 | .width('100%') |
| 272 | 275 | ||
| 273 | Text('1. 账号处于安全状态') | 276 | Text('1. 账号处于安全状态') |
| 274 | .fontColor('#FF222222') | 277 | .fontColor('#FF222222') |
| 275 | .fontSize(16) | 278 | .fontSize(16) |
| 276 | .fontWeight(600) | 279 | .fontWeight(600) |
| 277 | - .padding({ top: 24, left: 16 }) | 280 | + .padding({ top: 24, left: "62lpx" }) |
| 278 | .width('100%') | 281 | .width('100%') |
| 279 | 282 | ||
| 280 | Text('账号处于正常使用状态,无被盗风险。') | 283 | Text('账号处于正常使用状态,无被盗风险。') |
| 281 | .fontColor('#FF666666') | 284 | .fontColor('#FF666666') |
| 282 | .fontSize(14) | 285 | .fontSize(14) |
| 283 | .fontWeight(400) | 286 | .fontWeight(400) |
| 284 | - .padding({ top: 8, left: 16 }) | 287 | + .padding({ top: 8, left: "62lpx" }) |
| 285 | .width('100%') | 288 | .width('100%') |
| 286 | 289 | ||
| 287 | Text('2. 账号权限解除') | 290 | Text('2. 账号权限解除') |
| 288 | .fontColor('#FF222222') | 291 | .fontColor('#FF222222') |
| 289 | .fontSize(16) | 292 | .fontSize(16) |
| 290 | .fontWeight(600) | 293 | .fontWeight(600) |
| 291 | - .padding({ top: 24, left: 16 }) | 294 | + .padding({ top: 24, left: "62lpx" }) |
| 292 | .width('100%') | 295 | .width('100%') |
| 293 | 296 | ||
| 294 | Text('账号已解除与其他产品的授权登录或绑定关系。') | 297 | Text('账号已解除与其他产品的授权登录或绑定关系。') |
| 295 | .fontColor('#FF666666') | 298 | .fontColor('#FF666666') |
| 296 | .fontSize(14) | 299 | .fontSize(14) |
| 297 | .fontWeight(400) | 300 | .fontWeight(400) |
| 298 | - .padding({ top: 8, left: 16 }) | 301 | + .padding({ top: 8, left: "62lpx" }) |
| 299 | .width('100%') | 302 | .width('100%') |
| 300 | 303 | ||
| 301 | Text('3. 账号无任何纠纷,包括举报投诉') | 304 | Text('3. 账号无任何纠纷,包括举报投诉') |
| 302 | .fontColor('#FF222222') | 305 | .fontColor('#FF222222') |
| 303 | .fontSize(16) | 306 | .fontSize(16) |
| 304 | .fontWeight(600) | 307 | .fontWeight(600) |
| 305 | - .padding({ top: 24, left: 16 }) | 308 | + .padding({ top: 24, left: "62lpx" }) |
| 306 | .width('100%') | 309 | .width('100%') |
| 307 | 310 | ||
| 308 | Text('请注意:注销后7天内不能再次注册人民日报客户端,需要等到账号冷静期结束才能再次登录注册') | 311 | Text('请注意:注销后7天内不能再次注册人民日报客户端,需要等到账号冷静期结束才能再次登录注册') |
| 309 | .fontColor('#FFED2800') | 312 | .fontColor('#FFED2800') |
| 310 | .fontSize(14) | 313 | .fontSize(14) |
| 311 | .fontWeight(400) | 314 | .fontWeight(400) |
| 312 | - .padding({ top: 32, left: 16, right: 16 }) | 315 | + .padding({ top: 32, left: "31lpx", right: "31lpx" }) |
| 313 | .width('100%') | 316 | .width('100%') |
| 314 | 317 | ||
| 315 | }.alignRules({ | 318 | }.alignRules({ |
| @@ -2,6 +2,7 @@ import { PageComponent } from 'wdComponent/Index'; | @@ -2,6 +2,7 @@ import { PageComponent } from 'wdComponent/Index'; | ||
| 2 | import { HashMap } from '@kit.ArkTS'; | 2 | import { HashMap } from '@kit.ArkTS'; |
| 3 | import { router } from '@kit.ArkUI'; | 3 | import { router } from '@kit.ArkUI'; |
| 4 | import { AssignChannelParam } from 'wdRouter/src/main/ets/utils/HomeChannelUtils'; | 4 | import { AssignChannelParam } from 'wdRouter/src/main/ets/utils/HomeChannelUtils'; |
| 5 | +import { CustomTitleUI } from 'wdComponent/src/main/ets/components/reusable/CustomTitleUI'; | ||
| 5 | 6 | ||
| 6 | const TAG = 'ColumnPage'; | 7 | const TAG = 'ColumnPage'; |
| 7 | 8 | ||
| @@ -15,21 +16,26 @@ export struct ColumnPage { | @@ -15,21 +16,26 @@ export struct ColumnPage { | ||
| 15 | @State param: AssignChannelParam = router.getParams() as AssignChannelParam | 16 | @State param: AssignChannelParam = router.getParams() as AssignChannelParam |
| 16 | pageId: string = ""; | 17 | pageId: string = ""; |
| 17 | channelId: string = ""; | 18 | channelId: string = ""; |
| 19 | + pageName: string = '' | ||
| 18 | 20 | ||
| 19 | aboutToAppear() { | 21 | aboutToAppear() { |
| 20 | this.pageId = this.param.pageId | 22 | this.pageId = this.param.pageId |
| 21 | this.channelId = this.param.channelId | 23 | this.channelId = this.param.channelId |
| 24 | + this.pageName = this.param.pageName | ||
| 22 | } | 25 | } |
| 23 | 26 | ||
| 24 | build() { | 27 | build() { |
| 25 | Column() { | 28 | Column() { |
| 29 | + CustomTitleUI({ titleName: this.pageName }) | ||
| 26 | PageComponent({ | 30 | PageComponent({ |
| 27 | currentTopNavSelectedIndex: $currentTopNavSelectedIndex, | 31 | currentTopNavSelectedIndex: $currentTopNavSelectedIndex, |
| 28 | navIndex: this.currentTopNavSelectedIndex, | 32 | navIndex: this.currentTopNavSelectedIndex, |
| 29 | pageId: this.pageId, | 33 | pageId: this.pageId, |
| 30 | channelId: this.channelId, | 34 | channelId: this.channelId, |
| 31 | }); | 35 | }); |
| 32 | - } | 36 | + }.height('100%') |
| 37 | + .width('100%') | ||
| 38 | + .backgroundColor($r('app.color.white')) | ||
| 33 | } | 39 | } |
| 34 | } | 40 | } |
| 35 | 41 |
-
Please register or login to post a comment