You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.5 KiB

<title title="订单列表"></title>
<view class="box" wx:if="{{goodsList.length != 0}}">
<view wx:for="{{goodsList}}" wx:key="index">
<view class="item-box">
<view>
{{item.product.title}}
</view>
<view class="price">
¥{{item.sku.price/100}}
</view>
</view>
<view class="item-box">
<view>
{{item.sku.sku_name}}
</view>
<view>
X{{item.productNum}}
</view>
</view>
<view class="item-box">
<view>
运费
</view>
<view class="price">
¥{{item.postFee/100 || 0}}
</view>
</view>
</view>
</view>
<view class="box" wx:if="{{ticketList.length != 0}}">
<view wx:for="{{ticketList}}" wx:key="index">
<view class="item-box">
<view>
{{item.product.title}}
</view>
<view class="price">
¥{{item.sku.price/100}}
</view>
</view>
<view class="item-box">
<view>
{{item.sku.sku_name}}
</view>
<view>
X{{item.num}}
</view>
</view>
</view>
</view>
<view class="box-title">
<view style="flex-shrink:0">订单备注:</view>
<input type="text" bindinput="inputRemark" data-index="{{index}}" placeholder="选填"></input>
</view>
<coupon id="coupon" wx:if="{{!kjId && !gp_id}}" money="{{showPrice + postFee}}" sku="{{sku_id}}"></coupon>
<view class="fixed-bottom">
<view class="fixed-price-box">
<text>合计:</text>
<text class="price">¥{{((showPrice + postFee - (coupon?coupon.activity.money:0))>0?(showPrice + postFee - (coupon?coupon.activity.money:0)):0)/100}}</text>
</view>
<view class="fixed-btn" bindtap="order">下一步</view>
</view>