feat: 更新积分历史和订单卡片组件

- 在 PointHistoryCard.vue 中优化积分来源标签显示逻辑
- 在 PointOrderCard.vue 中添加收货地址信息展示
- 修复开放平台弹幕排队无法加载的问题
This commit is contained in:
2025-05-01 14:43:29 +08:00
parent e3ee1bcc26
commit ffa3b09bc4
3 changed files with 1060 additions and 1024 deletions

View File

@@ -721,6 +721,16 @@ onMounted(() => {
</NSpace>
</NCard>
<!-- 收货地址信息 -->
<template v-if="orderDetail.type === GoodsTypes.Physical">
<NDivider>收货地址</NDivider>
<NCard
size="small"
class="address-info-card"
>
<AddressDisplay :address="orderDetail.address" />
</NCard>
</template>
<!-- 快递信息 -->
<template v-if="orderDetail.status === PointOrderStatus.Shipped && orderDetail.instanceOf === 'owner' && orderDetail.type === GoodsTypes.Physical">
@@ -939,6 +949,10 @@ onMounted(() => {
box-shadow: 0 2px 8px var(--n-box-shadow-color);
}
.address-info-card {
margin-bottom: 16px;
}
@media (max-width: 768px) {
.order-detail-modal {
max-width: 95vw;