Fxi:4311 【旅居商城小程序】订单列表页面未显示团购图片,价格等信息,此处UI跟商品订单一样就行

This commit is contained in:
LinCyJang
2025-11-01 12:38:50 +08:00
parent 4ec87ffdd5
commit cebe0c75d4
+66 -41
View File
@@ -87,51 +87,76 @@
/> />
</view> </view>
</view> </view>
<view <view v-if="order.isTravelGroup === 1">
v-for="(cart,cartInfoIndex) in order.cartInfo" <view
:key="cartInfoIndex" class="item-info acea-row row-between row-top"
class="item-info acea-row row-between row-top" >
> <view class="pictrue">
<view class="pictrue"> <image
<image :src="order.travelGroupOrderInfo.travelGroupProduct.mainImage"
v-if="cart.combinationId === 0 && cart.bargainId === 0 &&cart.seckillId === 0" />
:src="cart.productInfo.image" </view>
@click.stop="gotoGoodDetail(cart, 1, { id: cart.productInfo.id })" <view class="text">
/> <view class="acea-row name-wrap">
<image <view class="name more-t v12-font-bold">{{ order.travelGroupOrderInfo.travelGroupProduct.name }}</view>
v-else-if="cart.combinationId > 0" <view class="money">
:src="cart.productInfo.image" <view>
@click.stop="gotoGoodDetail(cart, 2, { id: cart.combinationId })" <text class="v12-font-22">¥</text>
/> <text class="v12-font-28">{{ force2Decimal(order.travelGroupOrderInfo.travelGroupProduct.price) }}</text>
<image </view>
v-else-if="cart.bargainId > 0"
:src="cart.productInfo.image"
@click.stop="gotoGoodDetail(cart, 3, { id: cart.bargainId })"
/>
<image
v-else-if="cart.seckillId > 0"
:src="cart.productInfo.image"
@click.stop="gotoGoodDetail(cart, 4, { id: cart.seckillId })"
/>
</view>
<view class="text">
<view class="acea-row name-wrap">
<view class="name more-t v12-font-bold">{{ cart.productInfo.storeName }}</view>
<view class="money">
<view>
<text class="v12-font-22">¥</text>
<text class="v12-font-28">{{ force2Decimal(cart.truePrice) }}</text>
</view> </view>
</view> </view>
</view> </view>
<view class="acea-row attr-wrap "> </view>
<view </view>
v-if="cart.productInfo.attrInfo" <view v-else>
class="attr v12-secondary-dark-text v12-font-24 " <view
> v-for="(cart,cartInfoIndex) in order.cartInfo"
{{ cart.productInfo.attrInfo.sku }} :key="cartInfoIndex"
class="item-info acea-row row-between row-top"
>
<view class="pictrue">
<image
v-if="cart.combinationId === 0 && cart.bargainId === 0 &&cart.seckillId === 0"
:src="cart.productInfo.image"
@click.stop="gotoGoodDetail(cart, 1, { id: cart.productInfo.id })"
/>
<image
v-else-if="cart.combinationId > 0"
:src="cart.productInfo.image"
@click.stop="gotoGoodDetail(cart, 2, { id: cart.combinationId })"
/>
<image
v-else-if="cart.bargainId > 0"
:src="cart.productInfo.image"
@click.stop="gotoGoodDetail(cart, 3, { id: cart.bargainId })"
/>
<image
v-else-if="cart.seckillId > 0"
:src="cart.productInfo.image"
@click.stop="gotoGoodDetail(cart, 4, { id: cart.seckillId })"
/>
</view>
<view class="text">
<view class="acea-row name-wrap">
<view class="name more-t v12-font-bold">{{ cart.productInfo.storeName }}</view>
<view class="money">
<view>
<text class="v12-font-22">¥</text>
<text class="v12-font-28">{{ force2Decimal(cart.truePrice) }}</text>
</view>
</view>
</view>
<view class="acea-row attr-wrap ">
<view
v-if="cart.productInfo.attrInfo"
class="attr v12-secondary-dark-text v12-font-24 "
>
{{ cart.productInfo.attrInfo.sku }}
</view>
<view class="v12-dark-text v12-font-22">x{{ cart.cartNum }}</view>
</view> </view>
<view class="v12-dark-text v12-font-22">x{{ cart.cartNum }}</view>
</view> </view>
</view> </view>
</view> </view>