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 { @@ -153,7 +153,7 @@ export struct ZhSingleRow02 {
153 .padding({ 153 .padding({
154 left: 10, 154 left: 10,
155 // right: 10, 155 // right: 10,
156 - top: $r('app.float.card_comp_pagePadding_tb'), 156 + top: 14,
157 bottom: $r('app.float.card_comp_pagePadding_tb') 157 bottom: $r('app.float.card_comp_pagePadding_tb')
158 }) 158 })
159 .backgroundColor(0xffffff) 159 .backgroundColor(0xffffff)
@@ -236,16 +236,16 @@ struct CreatorItem { @@ -236,16 +236,16 @@ struct CreatorItem {
236 .width(156) 236 .width(156)
237 .height(208) 237 .height(208)
238 .backgroundColor(0xf5f5f5) 238 .backgroundColor(0xf5f5f5)
239 - .borderRadius(5) 239 + .borderRadius(4)
240 240
241 Row() 241 Row()
242 .width(156) 242 .width(156)
243 .height(80) 243 .height(80)
244 .linearGradient({ 244 .linearGradient({
245 direction: GradientDirection.Bottom, 245 direction: GradientDirection.Bottom,
246 - colors: [['rgba(0, 0, 0, 0.0)', 0.0], ['rgba(0, 0, 0, 0.3)', 1.0]] 246 + colors: [['rgba(0, 0, 0, 0.0)', 0.0], ['rgba(0, 0, 0, 0.6)', 1.0]]
247 }) 247 })
248 - .borderRadius(5) 248 + .borderRadius(4)
249 Text(this.item.newsTitle) 249 Text(this.item.newsTitle)
250 .fontColor(0xffffff) 250 .fontColor(0xffffff)
251 .fontSize(15) 251 .fontSize(15)