fix: 卡槽-钱包
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 53s

This commit is contained in:
sexygoat
2026-05-06 10:26:05 +08:00
parent 9fadbd297b
commit d6a9693482
3 changed files with 7 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
<view class="flex-col-g20">
<view class="iccid">ICCID: {{ item.iccid }}</view>
<view class="operator">运营商: {{ getLogo(item.category).name }}</view>
<view class="slot">卡槽位: {{ item.slot_position || '-' }}</view>
</view>
</view>
@@ -73,6 +74,7 @@
list.splice(0, list.length, ...data.cards.map(card => ({
iccid: card.iccid,
category: getCarrierCategory(card.carrier_name),
slot_position: card.slot_position,
isRealName: card.real_name_status === 1
})));
}
@@ -82,6 +84,7 @@
list.splice(0, list.length, {
iccid: assetData.identifier,
category: getCarrierCategory(assetData.carrier_name),
slot_position: 1,
isRealName: assetData.real_name_status === 1
});
}
@@ -244,4 +247,4 @@
.empty-title { font-size: 32rpx; font-weight: 600; color: var(--text-primary); margin-bottom: 16rpx; }
.empty-desc { font-size: 26rpx; color: var(--text-tertiary); text-align: center; }
}
</style>
</style>

View File

@@ -24,6 +24,7 @@
<up-tag :type="item.real_name_status === 1 ? 'primary' : 'success'" size="mini">{{ item.real_name_status === 1 ? '已实名' : '未实名' }}</up-tag>
</view>
</view>
<view class="slot">卡槽位: {{ item.slot_position || '-' }}</view>
</view>
</view>
</view>
@@ -169,4 +170,4 @@
.empty-title { font-size: 32rpx; font-weight: 600; color: var(--text-primary); margin-bottom: 16rpx; }
.empty-desc { font-size: 26rpx; color: var(--text-tertiary); text-align: center; }
}
</style>
</style>