更新:我的订单兼容多种商品订单(电子书、课程、vip)显示

This commit is contained in:
2025-11-24 10:21:02 +08:00
parent ac60a863e3
commit b357225703
14 changed files with 307 additions and 165 deletions

View File

@@ -238,7 +238,7 @@ async function loadBookInfo() {
productId: bookId.value,
productName: bookInfo.value.name,
productImages: bookInfo.value.images,
price: bookInfo.value.priceData?.dictValue || 0,
price: bookInfo.value.abroadPrice || 0,
vipPrice: null,
activityPrice: null,
isVipPrice: 0,

View File

@@ -162,9 +162,7 @@
>
<image :src="item.images" />
<text class="book-text">{{ item.name }}</text>
<text v-if="formatPrice(item)" class="book-price">{{
formatPrice(item)
}}</text>
<text class="book-price">{{ item.abroadPrice }} 天医币</text>
<text v-if="formatStats(item)" class="book-flag">{{
formatStats(item)
}}</text>