yumaochao

fix:somebug

@@ -89,18 +89,19 @@ export struct Card6Component { @@ -89,18 +89,19 @@ export struct Card6Component {
89 ((this.contentDTO.newTags?.length > 0 || this.contentDTO.seoTags?.length > 0) || this.contentDTO.objectType == '5') ? 35 : 89 ((this.contentDTO.newTags?.length > 0 || this.contentDTO.seoTags?.length > 0) || this.contentDTO.objectType == '5') ? 35 :
90 0 ) 90 0 )
91 }.alignContent(Alignment.TopStart) 91 }.alignContent(Alignment.TopStart)
  92 + // .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 60: 156)
92 93
93 } 94 }
94 .justifyContent(FlexAlign.Start) 95 .justifyContent(FlexAlign.Start)
95 -  
96 Blank() 96 Blank()
97 //bottom 评论等信息 97 //bottom 评论等信息
98 CardSourceInfo({ compDTO: this.compDTO, contentDTO: this.contentDTO }) 98 CardSourceInfo({ compDTO: this.compDTO, contentDTO: this.contentDTO })
  99 +
99 } 100 }
100 .alignItems(HorizontalAlign.Start) 101 .alignItems(HorizontalAlign.Start)
101 .justifyContent(FlexAlign.Start) 102 .justifyContent(FlexAlign.Start)
102 .width('64%') 103 .width('64%')
103 - .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 78 : 156) 104 +
104 105
105 Stack({alignContent: Alignment.BottomEnd}) { 106 Stack({alignContent: Alignment.BottomEnd}) {
106 Image(this.loadImg ? this.contentDTO.coverUrl || this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl : '') 107 Image(this.loadImg ? this.contentDTO.coverUrl || this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl : '')
@@ -110,6 +111,7 @@ export struct Card6Component { @@ -110,6 +111,7 @@ export struct Card6Component {
110 .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 78 : 156) 111 .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 78 : 156)
111 CardMediaInfo({ contentDTO: this.contentDTO }) 112 CardMediaInfo({ contentDTO: this.contentDTO })
112 } 113 }
  114 +
113 } 115 }
114 .onClick((event: ClickEvent) => { 116 .onClick((event: ClickEvent) => {
115 InfomationCardClick.track(this.compDTO, this.contentDTO, this.pageId, this.pageName) 117 InfomationCardClick.track(this.compDTO, this.contentDTO, this.pageId, this.pageName)
@@ -123,6 +125,7 @@ export struct Card6Component { @@ -123,6 +125,7 @@ export struct Card6Component {
123 top: $r('app.float.card_comp_pagePadding_tb'), 125 top: $r('app.float.card_comp_pagePadding_tb'),
124 bottom: $r('app.float.card_comp_pagePadding_tb') 126 bottom: $r('app.float.card_comp_pagePadding_tb')
125 }) 127 })
  128 +
126 .width(CommonConstants.FULL_WIDTH) 129 .width(CommonConstants.FULL_WIDTH)
127 // .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 107 : 217) 130 // .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 107 : 217)
128 .justifyContent(FlexAlign.SpaceBetween) 131 .justifyContent(FlexAlign.SpaceBetween)