fix(ai-pick): 主合约标签间距对齐Vue——space:5改为margin({left:10})
This commit is contained in:
@@ -643,7 +643,7 @@ export struct AiPickNodeComponent {
|
|||||||
@Builder
|
@Builder
|
||||||
buildContractRow(item: PickContractItem) {
|
buildContractRow(item: PickContractItem) {
|
||||||
Row({ space: 8 }) {
|
Row({ space: 8 }) {
|
||||||
Row({ space: 5 }) {
|
Row() {
|
||||||
Text(item.name)
|
Text(item.name)
|
||||||
.fontSize(16)
|
.fontSize(16)
|
||||||
.maxFontSize(16)
|
.maxFontSize(16)
|
||||||
@@ -661,6 +661,7 @@ export struct AiPickNodeComponent {
|
|||||||
.textAlign(TextAlign.Center)
|
.textAlign(TextAlign.Center)
|
||||||
.borderRadius(2)
|
.borderRadius(2)
|
||||||
.backgroundColor($r('app.color.elements_button_bg_tertiary'))
|
.backgroundColor($r('app.color.elements_button_bg_tertiary'))
|
||||||
|
.margin({ left: 10 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.width('35%')
|
.width('35%')
|
||||||
|
|||||||
Reference in New Issue
Block a user