王士厅
@@ -153,6 +153,11 @@ struct createImg { @@ -153,6 +153,11 @@ struct createImg {
153 .width(CommonConstants.FULL_WIDTH) 153 .width(CommonConstants.FULL_WIDTH)
154 .aspectRatio(16 / 9) 154 .aspectRatio(16 / 9)
155 .borderRadius($r('app.float.image_border_radius')) 155 .borderRadius($r('app.float.image_border_radius'))
  156 + .border({
  157 + width: 0.5,
  158 + color: '#0D000000', // 5% 透明度的黑色
  159 + style: BorderStyle.Solid
  160 + })
156 CardMediaInfo({ contentDTO: this.contentDTO }) 161 CardMediaInfo({ contentDTO: this.contentDTO })
157 } 162 }
158 .align(Alignment.BottomEnd) 163 .align(Alignment.BottomEnd)
@@ -171,6 +176,11 @@ struct createImg { @@ -171,6 +176,11 @@ struct createImg {
171 .width(CommonConstants.FULL_WIDTH) 176 .width(CommonConstants.FULL_WIDTH)
172 .borderRadius($r('app.float.image_border_radius')) 177 .borderRadius($r('app.float.image_border_radius'))
173 .aspectRatio(172 / 230) 178 .aspectRatio(172 / 230)
  179 + .border({
  180 + width: 0.5,
  181 + color: '#0D000000', // 5% 透明度的黑色
  182 + style: BorderStyle.Solid
  183 + })
174 CardMediaInfo({ contentDTO: this.contentDTO }) 184 CardMediaInfo({ contentDTO: this.contentDTO })
175 } 185 }
176 .align(Alignment.BottomEnd) 186 .align(Alignment.BottomEnd)
@@ -40,8 +40,8 @@ export struct ZhGridLayout03 { @@ -40,8 +40,8 @@ export struct ZhGridLayout03 {
40 }) 40 })
41 } 41 }
42 .padding({ 42 .padding({
43 - left: 16,  
44 - right: 16, 43 + left: 0,
  44 + right: 0,
45 top: $r('app.float.card_comp_pagePadding_tb'), 45 top: $r('app.float.card_comp_pagePadding_tb'),
46 bottom: $r('app.float.card_comp_pagePadding_tb') 46 bottom: $r('app.float.card_comp_pagePadding_tb')
47 }) 47 })