wangliang_wd

feat:修改早晚报UI走查

... ... @@ -368,8 +368,8 @@ export struct MorningEveningPaperComponent {
.objectFit(ImageFit.Contain)
Image(this.currentStatus === PlayerConstants.STATUS_START ? $r("app.media.icon_audio_pause_svg") : $r("app.media.icon_audio_playing_svg"))
.width(24)
.height(24)
.width(20)
.height(20)
.margin({ left: 10 })// .alignSelf(ItemAlign.Center)
.objectFit(ImageFit.Contain)
.onClick(() => {
... ...
... ... @@ -80,7 +80,7 @@ export struct topicInfoView {
ProcessUtils.processPage(contentDTO)
})
.width(70)
.width(73)
.alignRules({
left: { anchor: "__container__", align: HorizontalAlign.Start },
bottom: { anchor: "__container__", align: VerticalAlign.Bottom }
... ... @@ -90,7 +90,7 @@ export struct topicInfoView {
Row(){
CommentText({longMessage:this.frontLinkObject?.summary ?? "",fontSize:14,fontColor:'#CCFFFFFF',isMorningEveningPaper:true})
CommentText({longMessage:this.frontLinkObject?.summary ?? "",fontSize:14,fontColor:'#CCFFFFFF',isMorningEveningPaper:true,lineHeight:20})
}.alignItems(VerticalAlign.Bottom)
.alignRules({
left: { anchor: "__container__", align: HorizontalAlign.Start },
... ... @@ -100,7 +100,8 @@ export struct topicInfoView {
.id('txt_summary')
Text(this.frontLinkObject?.title ?? "")
.fontSize(20)
.fontSize(24)
.lineHeight(33)
.fontColor($r('app.color.white'))
.maxLines(2)
.alignRules({
... ...
... ... @@ -431,7 +431,8 @@ export struct PaperSingleColumn999CardView {
Column() {
Text(this.item?.newsTitle)
.fontColor(this.isRead ? 0x848484 : '#222222')
.fontSize(16)
.fontSize(18)
.lineHeight(25)
.fontWeight(FontWeight.Medium)
.alignSelf(ItemAlign.Start)
.maxLines(3)
... ... @@ -535,8 +536,9 @@ export struct PaperSingleColumn999CardView {
}
if (this.item?.newsSummary) {
Text(this.item?.newsSummary)
.fontColor(this.isRead ? '#808080' : '#222222')
.fontColor(this.isRead ? '#808080' : '#666666')
.fontSize(14)
.lineHeight(20)
.padding({ top: 10 })
.alignSelf(ItemAlign.Start)
.maxLines(3)
... ...