|
@@ -8,21 +8,21 @@
|
|
|
|
|
|
|
|
<!-- 订单列表 -->
|
|
<!-- 订单列表 -->
|
|
|
<view class="orderList">
|
|
<view class="orderList">
|
|
|
- <view class="itemOrder" wx:for="{{3}}" wx:key="index">
|
|
|
|
|
|
|
+ <view class="itemOrder" wx:for="{{orderList}}" wx:key="index">
|
|
|
<view class="orderInfo">
|
|
<view class="orderInfo">
|
|
|
<view class="leftInfo">
|
|
<view class="leftInfo">
|
|
|
<view class="prodsImg">
|
|
<view class="prodsImg">
|
|
|
- <image class="coverImg" src="/images/index/category-item.png" mode="" wx:for="{{1}}" wx:key="index"/>
|
|
|
|
|
|
|
+ <image class="coverImg" src="{{item2.imageDTOS[0].picUrl}}" mode="" wx:for="{{item.orderDetailDTOS}}" wx:key="this" wx:for-index="index2" wx:for-item="item2" wx:if="{{index2 < 4}}"/>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="prodInfo">
|
|
|
|
|
- <text>商品描述高领长袖T恤露脐短装</text>
|
|
|
|
|
- <text>白色/M</text>
|
|
|
|
|
- <text>¥:1297</text>
|
|
|
|
|
|
|
+ <view class="prodInfo" wx:if="{{item.orderDetailDTOS.length == 1}}">
|
|
|
|
|
+ <text>{{item.orderDetailDTOS[0].prodName}}</text>
|
|
|
|
|
+ <text>{{item.orderDetailDTOS[0].prodAttrName}}</text>
|
|
|
|
|
+ <text>¥:{{item.orderDetailDTOS[0].price}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="statistics">
|
|
<view class="statistics">
|
|
|
<text>
|
|
<text>
|
|
|
- ¥82900.00
|
|
|
|
|
|
|
+ ¥{{item.orderAmount}}
|
|
|
共5件
|
|
共5件
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -32,17 +32,17 @@
|
|
|
<text class="name">状态</text>
|
|
<text class="name">状态</text>
|
|
|
<text>未收货</text>
|
|
<text>未收货</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <image class="editIcon" src="/images/my/edit.png" mode=""/>
|
|
|
|
|
|
|
+ <image class="editIcon" src="/images/my/edit.png" mode="" data-orderId="{{item.orderId}}" catchtap="goOrderDetail"/>
|
|
|
<image class="logistics" src="/images/my/logistics.png" mode=""/>
|
|
<image class="logistics" src="/images/my/logistics.png" mode=""/>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 商品总价 -->
|
|
<!-- 商品总价 -->
|
|
|
- <view class="totalPrice">
|
|
|
|
|
|
|
+ <!-- <view class="totalPrice">
|
|
|
<text>商品总价</text>
|
|
<text>商品总价</text>
|
|
|
<text>¥:82900.00</text>
|
|
<text>¥:82900.00</text>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
|
|
|
|
|
<!-- 推荐 -->
|
|
<!-- 推荐 -->
|
|
|
<view class="recommend">
|
|
<view class="recommend">
|