|
|
|
|
<!--pages/order/post/index.wxml-->
|
|
|
|
|
<title title="确认订单"></title>
|
|
|
|
|
<address bind:setAddress="setAddress"></address>
|
|
|
|
|
<view class="box topbox" wx:for="{{product}}">
|
|
|
|
|
<view class="header-title textOver" wx:if="{{from=='cart'}}">
|
|
|
|
|
供应商:{{item.product.supplier_name}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="skuinfo">
|
|
|
|
|
<image src="{{item.sku.headimg}}" mode="aspectFill"></image>
|
|
|
|
|
<view class="right-info">
|
|
|
|
|
<view class="sku-name textOver">
|
|
|
|
|
<text class="textOver">{{item.product.title}}</text>
|
|
|
|
|
<view class="price"><text>¥</text>{{item.sku.price/100}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info-tips">
|
|
|
|
|
<text>{{item.sku.sku_name}}</text>
|
|
|
|
|
<text>x{{item.productNum}}</text>
|
|
|
|
|
<!-- <view bindtap="showNotice">购买须知 <text class="iconfont icon-you"></text> </view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="box-title" wx:if="{{from!='cart'}}">
|
|
|
|
|
<view style="flex:1">购票数量</view>
|
|
|
|
|
<view wx:if="{{!kjId && !gp_id}}" class="iconfont icon-sami-select" bindtap="minus" data-index="{{index}}"></view>
|
|
|
|
|
<view class="number-box">{{item.productNum}}</view>
|
|
|
|
|
<view wx:if="{{!kjId && !gp_id}}" class="iconfont icon-add-select" bindtap="add" data-index="{{index}}"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="box-title">
|
|
|
|
|
<view style="flex:1">运费</view>
|
|
|
|
|
<text>{{item.postFee?(item.postFee==0?'包邮':(item.postFee/100)):item.sku.sku_model.post_template_name}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="box-title">
|
|
|
|
|
<view style="flex-shrink:0">订单备注:</view>
|
|
|
|
|
<input type="text" bindinput="inputRemark" data-index="{{index}}" placeholder="选填"></input>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="all-money-box" wx:if="{{from=='cart'}}">
|
|
|
|
|
小计:<text class="unit">¥</text><text class="s-price">{{item.sku.price/100 * item.productNum}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<coupon id="coupon" wx:if="{{!kjId && !gp_id}}" money="{{showPrice + postFee}}" sku="{{sku_id}}"></coupon>
|
|
|
|
|
<view style="height:113rpx"></view>
|
|
|
|
|
<view class="fixed-bottom" wx:if="{{product}}">
|
|
|
|
|
<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>
|