chenjun

小视频横划卡

1、间距改为 14,现在偏大
2、间距偏小改为 10
3、圆角偏大改为4
4、横划卡消失边缘不对
5、标题字号偏小改为 15,行高 21
6、文字后面缺少蒙层
7、分割线没有显示出来
https://docs.qq.com/doc/DUWtGWFF4SWFhQnRU
... ... @@ -153,7 +153,7 @@ export struct ZhSingleRow02 {
.padding({
left: 10,
// right: 10,
top: $r('app.float.card_comp_pagePadding_tb'),
top: 14,
bottom: $r('app.float.card_comp_pagePadding_tb')
})
.backgroundColor(0xffffff)
... ... @@ -236,16 +236,16 @@ struct CreatorItem {
.width(156)
.height(208)
.backgroundColor(0xf5f5f5)
.borderRadius(5)
.borderRadius(4)
Row()
.width(156)
.height(80)
.linearGradient({
direction: GradientDirection.Bottom,
colors: [['rgba(0, 0, 0, 0.0)', 0.0], ['rgba(0, 0, 0, 0.3)', 1.0]]
colors: [['rgba(0, 0, 0, 0.0)', 0.0], ['rgba(0, 0, 0, 0.6)', 1.0]]
})
.borderRadius(5)
.borderRadius(4)
Text(this.item.newsTitle)
.fontColor(0xffffff)
.fontSize(15)
... ...