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.
75 lines
3.3 KiB
75 lines
3.3 KiB
<title title="订单列表"></title>
|
|
<view class="box" wx:if="{{goodsList.length != 0}}">
|
|
<view class="goods-item" wx:for="{{goodsList}}" wx:key="index">
|
|
<view class="item-box item-title">
|
|
<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 style="display: flex;text-align: right;">
|
|
<view class="price">¥{{item.postFee/100 || 0}}</view>
|
|
<view wx:if="{{item.postFee>0 && item.sku.batch_shipment==1}}">
|
|
<text style="padding-left: 10rpx;">x{{item.sku.batch_count}}</text>
|
|
<text style="padding-left: 40rpx;">¥{{(item.postFee/100)*item.sku.batch_count}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{item.sku.is_batch_shipment==1}}">
|
|
<view class="item-box item-title">物流信息</view>
|
|
<view class="item-box">分批收货 (共{{item.sku.batch_count}}次)</view>
|
|
<view class="item-box">物流备注:{{item.sku.batch_remark}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="box" wx:if="{{ticketList.length != 0}}">
|
|
<view class="goods-item" wx:for="{{ticketList}}" wx:key="index">
|
|
<view class="item-box item-title">
|
|
<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 class="item-box item-title" style="padding-top: 27rpx;">出行人信息</view>
|
|
<view wx:if="{{item.sku.sku_model.is_authentication}}">
|
|
<view wx:for="{{item.linkmanList}}" style="padding-left: 10rpx;" wx:for-item="items">
|
|
<view>
|
|
<view class="text"><view class="text-left">姓名:</view>{{items.name}}</view>
|
|
<view class="text"><view class="text-left">证件号:</view>{{items.id_number}}</view>
|
|
<view class="text"><view class="text-left">手机号:</view>{{items.tel}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:else>
|
|
<view class="text"><view class="text-left">手机号:</view>{{item.phone}}</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 bind:getNewCoupon = 'getNewCoupon' id="coupon" wx:if="{{showCoupon && !kjId && !gp_id}}" money="{{showPrice + postFee}}" sku="{{sku_id}}"></coupon>
|
|
|
|
<view class="fixed-bottom">
|
|
<view class="fixed-price-box">
|
|
|
|
<view wx:if="{{coupon && coupon.activity.discount_type != 'pricebreak'}}">
|
|
<text>合计:</text><text
|
|
class="price">¥{{((postFee+showPrice* coupon.activity.fold/10))/100}}</text>
|
|
</view>
|
|
<view wx:else>
|
|
<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>
|
|
<view class="fixed-btn" bindtap="order">下一步</view>
|
|
</view>
|