mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
feat: 更新积分历史和订单卡片组件
- 在 PointHistoryCard.vue 中优化积分来源标签显示逻辑 - 在 PointOrderCard.vue 中添加收货地址信息展示 - 修复开放平台弹幕排队无法加载的问题
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user