This commit is contained in:
bobobobo
2026-02-09 11:24:49 +08:00
parent eb57bfb6b4
commit 02934dbb24

View File

@@ -56,7 +56,13 @@
// 跳转到订单详情 // 跳转到订单详情
const goToDetail = item => { const goToDetail = item => {
navigateTo('/pages/discover/order/detail', { id: item.id }) let url = ''
if (item.orderType == 1) {
url = '/pages/discover/order/detail'
} else {
url = '/pages/shop-together/detail'
}
navigateTo(url, { id: item.id })
} }
// 获取状态文本 // 获取状态文本
@@ -174,18 +180,19 @@
<!-- 商品信息 --> <!-- 商品信息 -->
<view class="goods-item"> <view class="goods-item">
<image <image
src="https://p2.itc.cn/images01/20230924/143c6d6ba2044b79b36eb3de4c92145d.jpeg" :src="item.productImage"
class="goods-image" class="goods-image"
mode="aspectFill" mode="aspectFill"
/> />
<view class="goods-info"> <view class="goods-info">
<text class="goods-name">{{ item.userName }}</text> <text class="goods-name">{{ item.userName }}</text>
<text class="goods-spec">默认规格</text> <text class="goods-spec">
<!-- {{ item.orderType == 1 ? '普通订单' : '拼单订单' }} -->
{{ item.specText }}
</text>
<view class="goods-price-info"> <view class="goods-price-info">
<text class="goods-price">¥{{ item.unitPrice }}</text> <text class="goods-price">¥{{ item.unitPrice }}</text>
<text class="goods-quantity"> <text class="goods-quantity">x1</text>
x1
</text>
</view> </view>
</view> </view>
</view> </view>