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.

65 lines
3.3 KiB

5 years ago
<!--pages/order/post/index.wxml-->
<title title="订单填写"></title>
5 years ago
<address bind:setAddress="setAddress"></address>
<view class="box topbox" wx:for="{{product}}">
5 years ago
<view class="header-title textOver" wx:if="{{from=='cart'}}">
5 years ago
供应商:{{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>
5 years ago
<view wx:if="{{!kjId && !gp_id}}" class="iconfont icon-sami-select" bindtap="minus" data-index="{{index}}"></view>
5 years ago
<view class="number-box">{{item.productNum}}</view>
5 years ago
<view wx:if="{{!kjId && !gp_id}}" class="iconfont icon-add-select" bindtap="add" data-index="{{index}}"></view>
5 years ago
</view>
<view class="box-title" style="height:auto;min-height:113rpx;">
<view style="flex:1;white-space:nowrap;margin-right:20rpx;">运费</view>
5 years ago
<text>{{item.postFee?(item.postFee==0?'包邮':(item.postFee/100)):item.sku.sku_model.post_template_name}}</text>
</view>
<view class="box-title" wx:if="{{flag!='mix'}}">
<view style="flex-shrink:0" >订单备注:</view>
5 years ago
<input type="text" bindinput="inputRemark" data-index="{{index}}" placeholder="选填"></input>
</view>
<view class="all-money-box" wx:if="{{from=='cart'}}">
5 years ago
小计:<text class="unit">¥</text><text class="s-price">{{item.sku.price * item.productNum /100}}</text>
5 years ago
</view>
<!-- 补贴 -->
<view class="box-title allowance" wx:if="{{allowance_price}}">
<view bindtap="changeAllowance">惠民补贴</view>
<view class="com-flex-tao" bindtap="selectAllowance">
-¥{{allowance_price / 100}}
<image src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/uploads/20220602/6ecdbc41527c0c603608686967d4493b.png"
alt="" wx:if="{{select_allowance}}"></image>
<view class="border" wx:else></view>
</view>
</view>
5 years ago
</view>
3 years ago
<coupon bind:getNewCoupon = 'getNewCoupon' id="coupon" wx:if="{{!kjId && !gp_id && flag!='mix'}}" money="{{showPrice + postFee}}" sku="{{sku_id}}"></coupon>
5 years ago
<view style="height:113rpx"></view>
<view class="fixed-bottom" wx:if="{{product}}">
<view class="fixed-price-box" wx:if="{{!prizeId}}"><text>合计:</text><text
class="price">¥{{((showPrice + postFee - (coupon?coupon.activity.money:0))>0?(showPrice + postFee - (coupon?coupon.activity.money:0)):0)/100}}</text>
</view>
4 years ago
<view class="fixed-price-box" wx:else><text>合计:</text><text class="price">¥{{postFee?(0+postFee)/100:0}}</text></view>
<view class="fixed-btn" bindtap="order">下一步</view>
</view>
<view class="mask mask-allowance" wx:if="{{showAllowance}}">
<view bindtap="changeAllowance" class="mask-bg"></view>
<view class="mask-content rule-box">
<view class="rule-title">{{allowance_data.title}}</view>
<rich-text nodes="{{allowance_data.content}}"></rich-text>
</view>
5 years ago
</view>