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.
 

77 lines
2.3 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}}
<!-- X{{item.linkmanList.length}} -->
</view>
</view>
<view style="padding-left: 10rpx;margin: 30rpx 0 22.67rpx;">出行人信息</view>
<view wx:if="{{item.sku.sku_model.is_authentication != 0}}">
<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="{{!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>