chenjun

人民号-无图卡

1、2、左右边距偏小,改为 16
3、4、上下间距偏大改为10
https://docs.qq.com/doc/DUWtGWFF4SWFhQnRU
@@ -79,7 +79,7 @@ export struct CarderInteraction { @@ -79,7 +79,7 @@ export struct CarderInteraction {
79 } 79 }
80 } 80 }
81 .width('100%') 81 .width('100%')
82 - .margin({ top: 11 }) 82 + .margin({ top: 10 })
83 // .padding({ 83 // .padding({
84 // left: 21, 84 // left: 21,
85 // right: 21 85 // right: 21
@@ -120,6 +120,11 @@ export struct RmhTitle { @@ -120,6 +120,11 @@ export struct RmhTitle {
120 .width(36) 120 .width(36)
121 .height(36) 121 .height(36)
122 .borderRadius(50) 122 .borderRadius(50)
  123 + .border({
  124 + width: 0.5,
  125 + color: '#0D000000', // 5% 透明度的黑色
  126 + style: BorderStyle.Solid
  127 + })
123 Image(this.rmhInfo?.authIcon) 128 Image(this.rmhInfo?.authIcon)
124 .width(14) 129 .width(14)
125 .height(14) 130 .height(14)
@@ -72,16 +72,14 @@ export struct Card12Component { @@ -72,16 +72,14 @@ export struct Card12Component {
72 .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) 72 .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222'))
73 .width(CommonConstants.FULL_WIDTH) 73 .width(CommonConstants.FULL_WIDTH)
74 .textOverflowStyle(3) 74 .textOverflowStyle(3)
75 - .margin({ bottom: 8 })  
76 - .height(75)  
77 .lineHeight(25) 75 .lineHeight(25)
78 .fontFamily('PingFang SC-Regular') 76 .fontFamily('PingFang SC-Regular')
79 } 77 }
80 CarderInteraction({contentDTO: this.contentDTO}) 78 CarderInteraction({contentDTO: this.contentDTO})
81 } 79 }
82 .padding({ 80 .padding({
83 - left: 10,  
84 - right: 10, 81 + left: 16,
  82 + right: 16,
85 top: $r('app.float.card_comp_pagePadding_tb'), 83 top: $r('app.float.card_comp_pagePadding_tb'),
86 bottom: $r('app.float.card_comp_pagePadding_tb') 84 bottom: $r('app.float.card_comp_pagePadding_tb')
87 }) 85 })