wangyong_wd

style:金刚卡位样式优化

... ... @@ -36,6 +36,12 @@ export struct ZhGridLayout03 {
}
})
}
.padding({
left: $r('app.float.card_comp_pagePadding_lf'),
right: $r('app.float.card_comp_pagePadding_lf'),
top: $r('app.float.card_comp_pagePadding_tb'),
bottom: $r('app.float.card_comp_pagePadding_tb')
})
}
/**
... ... @@ -49,7 +55,9 @@ export struct ZhGridLayout03 {
Image(item.coverUrl)
.width(44)
.aspectRatio(1 / 1)
.margin(16)
.margin({
bottom: 16
})
Text(item.newsTitle)
.fontSize(13)
.maxLines(1)
... ...