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.
33 lines
2.1 KiB
33 lines
2.1 KiB
<!--pages/order/scene/index.wxml-->
|
|
<title title="提交订单"></title>
|
|
<view class="product-info" wx:if="{{product}}">
|
|
<view class="product-title">{{product.product.title + product.sku.sku_name}}</view>
|
|
<view class="product-price" wx:if="{{type=='museum' || type=='activity'}}">免费</view>
|
|
</view>
|
|
<date wx:if="{{isLogin && type!='activity'}}" bind:onChangeDate="changeDate" bind:onChangeTime="changeTime" product="{{product}}"></date>
|
|
<view class="box">
|
|
<view class="box-title">
|
|
<view style="flex:1">购票数量</view>
|
|
<view class="iconfont icon-sami-select" wx:if="{{!kjId && !gp_id && type!='activity'}}" bindtap="minus"></view>
|
|
<view class="number-box">{{productNum}}</view>
|
|
<view class="iconfont icon-add-select" wx:if="{{!kjId && !gp_id && type!='activity'}}" bindtap="add"></view>
|
|
</view>
|
|
</view>
|
|
<contact wx:if="{{isLogin}}" type="{{type}}" bind:setLinkman="setLinkman"></contact>
|
|
<coupon wx:if="{{!kjId && !gp_id && type!='activity'}}" id="coupon" money="{{singlePrice * productNum}}" sku="{{product.sku.id}}"></coupon>
|
|
<view class="box" wx:if="{{type!='activity'}}">
|
|
<view class="box-title">
|
|
<view style="flex-shrink:0">订单备注</view>
|
|
<input type="text" bindinput="changeRemark" placeholder="选填"></input>
|
|
</view>
|
|
</view>
|
|
<view style="{{type=='museum' || type=='activity'?'height:138rpx':'height:113rpx'}}"></view>
|
|
<view class="fixed-bottom" wx:if="{{type!='museum' && type!='activity'}}">
|
|
<view class="fixed-price-box" wx:if="{{kjId}}"><text>合计:</text><text class="price">¥0</text></view>
|
|
<view class="fixed-price-box" wx:else><text>合计:</text><text class="price">¥{{((singlePrice * productNum - (coupon?coupon.activity.money:0))>0?(singlePrice * productNum - (coupon?coupon.activity.money:0)):0)/ 100}}</text></view>
|
|
<view class="fixed-btn" bindtap="order">提交订单</view>
|
|
</view>
|
|
<view class="fixed-bottom yuyue-box" wx:else>
|
|
<view class="fixed-btn yuyue-btn" bindtap="order" wx:if="{{type=='museum'}}">立即预约</view>
|
|
<view class="fixed-btn yuyue-btn" bindtap="activityOrder" wx:else>立即预约</view>
|
|
</view>
|