zhangfengjin

fix: 17003 UI还原问题-【uat】-小视频卡、单图卡间距问题修复

@@ -54,7 +54,7 @@ export struct Card6Component { @@ -54,7 +54,7 @@ export struct Card6Component {
54 this.contentDTO.objectType == '5' ? 30 : 0) 54 this.contentDTO.objectType == '5' ? 30 : 0)
55 }.alignContent(Alignment.TopStart) 55 }.alignContent(Alignment.TopStart)
56 56
57 - }.height("80%") 57 + }.height("75%")
58 .justifyContent(FlexAlign.Start) 58 .justifyContent(FlexAlign.Start)
59 59
60 60
@@ -63,14 +63,14 @@ export struct Card6Component { @@ -63,14 +63,14 @@ export struct Card6Component {
63 } 63 }
64 .alignItems(HorizontalAlign.Start) 64 .alignItems(HorizontalAlign.Start)
65 .justifyContent(FlexAlign.Start) 65 .justifyContent(FlexAlign.Start)
66 - .width('58%') 66 + .width('64%')
67 67
68 Stack() { 68 Stack() {
69 Image(this.loadImg ? this.contentDTO.coverUrl : '') 69 Image(this.loadImg ? this.contentDTO.coverUrl : '')
70 .backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : 0xf5f5f5) 70 .backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : 0xf5f5f5)
71 .borderRadius(5) 71 .borderRadius(5)
72 .aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4) 72 .aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4)
73 - .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 90 : 180) 73 + .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 80 : 180)
74 CardMediaInfo({ contentDTO: this.contentDTO }) 74 CardMediaInfo({ contentDTO: this.contentDTO })
75 } 75 }
76 .alignContent(Alignment.BottomEnd) 76 .alignContent(Alignment.BottomEnd)
@@ -86,7 +86,7 @@ export struct Card6Component { @@ -86,7 +86,7 @@ export struct Card6Component {
86 bottom: $r('app.float.card_comp_pagePadding_tb') 86 bottom: $r('app.float.card_comp_pagePadding_tb')
87 }) 87 })
88 .width(CommonConstants.FULL_WIDTH) 88 .width(CommonConstants.FULL_WIDTH)
89 - .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 127 : 217) 89 + .height(this.contentDTO.appStyle === CompStyle.Card_13 ? 107 : 217)
90 .justifyContent(FlexAlign.SpaceBetween) 90 .justifyContent(FlexAlign.SpaceBetween)
91 } 91 }
92 } 92 }