fix(ai-pick): 同步末行底部分隔线
This commit is contained in:
@@ -540,7 +540,7 @@ export struct AiPickNodeComponent {
|
||||
// ── 合约列表 ────────────────────────────────────────
|
||||
ForEach(
|
||||
this.cardData.tabs[this.tabIdx].items,
|
||||
(item: PickContractItem) => {
|
||||
(item: PickContractItem, index: number) => {
|
||||
Row({ space: 8 }) {
|
||||
Row({ space: 5 }) {
|
||||
Text(item.name)
|
||||
@@ -599,7 +599,13 @@ export struct AiPickNodeComponent {
|
||||
.width('100%')
|
||||
.height(45)
|
||||
.alignItems(VerticalAlign.Center)
|
||||
.border({ width: { top: 1 }, color: $r('app.color.divider_color') })
|
||||
.border({
|
||||
width: {
|
||||
top: 1,
|
||||
bottom: index === this.cardData.tabs[this.tabIdx].items.length - 1 ? 1 : 0,
|
||||
},
|
||||
color: $r('app.color.divider_color'),
|
||||
})
|
||||
.onClick(() => {
|
||||
this.jumpToDetail(item);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user