wangliang_wd

feat:优化早晚报

@@ -244,10 +244,12 @@ export struct MorningEveningPaperComponent { @@ -244,10 +244,12 @@ export struct MorningEveningPaperComponent {
244 topicInfoView({ frontLinkObject: this.pageInfoBean?.topicInfo?.frontLinkObject }) 244 topicInfoView({ frontLinkObject: this.pageInfoBean?.topicInfo?.frontLinkObject })
245 } 245 }
246 246
  247 + if (this.audioPlayUrl.length > 0){
247 ListItem() { 248 ListItem() {
248 this.AudioBarView(this.simpleAudioDialog) 249 this.AudioBarView(this.simpleAudioDialog)
249 } 250 }
250 } 251 }
  252 + }
251 253
252 ListItem() { 254 ListItem() {
253 SingleColumn999Component({ 255 SingleColumn999Component({
@@ -39,7 +39,7 @@ export struct topicInfoView { @@ -39,7 +39,7 @@ export struct topicInfoView {
39 .borderRadius(2) 39 .borderRadius(2)
40 .padding({ left: 6, top: 4, bottom: 4 }) 40 .padding({ left: 6, top: 4, bottom: 4 })
41 41
42 - Image($r('app.media.more'))// .height($r('app.float.top_arrow_size')) 42 + Image($r('app.media.more_w'))// .height($r('app.float.top_arrow_size'))
43 .width(12) 43 .width(12)
44 .height(12) 44 .height(12)
45 .margin({ left: 4, right: 7 }) 45 .margin({ left: 4, right: 7 })
@@ -424,7 +424,7 @@ export struct PaperSingleColumn999CardView { @@ -424,7 +424,7 @@ export struct PaperSingleColumn999CardView {
424 Text(this.item?.newsTitle) 424 Text(this.item?.newsTitle)
425 .fontColor('#222222') 425 .fontColor('#222222')
426 .fontSize(16) 426 .fontSize(16)
427 - .fontWeight(FontWeight.Bold) 427 + .fontWeight(FontWeight.Medium)
428 .alignSelf(ItemAlign.Start) 428 .alignSelf(ItemAlign.Start)
429 .maxLines(3) 429 .maxLines(3)
430 .textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。 430 .textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。
@@ -478,6 +478,7 @@ export struct PaperSingleColumn999CardView { @@ -478,6 +478,7 @@ export struct PaperSingleColumn999CardView {
478 if (this.item) { 478 if (this.item) {
479 Row() { 479 Row() {
480 Row() { 480 Row() {
  481 + if (this.item?.source.length > 0) {
481 Text(this.item?.source) 482 Text(this.item?.source)
482 .fontSize(12) 483 .fontSize(12)
483 .fontColor('#B0B0B0') 484 .fontColor('#B0B0B0')
@@ -486,9 +487,12 @@ export struct PaperSingleColumn999CardView { @@ -486,9 +487,12 @@ export struct PaperSingleColumn999CardView {
486 .width(16) 487 .width(16)
487 .height(16) 488 .height(16)
488 .margin({ top: 10, bottom: 10 }) 489 .margin({ top: 10, bottom: 10 })
  490 + }
  491 +
489 Text(this.getPublishTime()) 492 Text(this.getPublishTime())
490 .fontSize(12) 493 .fontSize(12)
491 .fontColor('#B0B0B0') 494 .fontColor('#B0B0B0')
  495 + .margin({ left: this.item?.source.length > 0?0:16 })
492 if (this.item.objectType != '2' && this.interactData && this.interactData.commentNum && Number(this.interactData.collectNum) > 0) { 496 if (this.item.objectType != '2' && this.interactData && this.interactData.commentNum && Number(this.interactData.collectNum) > 0) {
493 Text(this.interactData.commentNum + "评") 497 Text(this.interactData.commentNum + "评")
494 .fontSize(12) 498 .fontSize(12)