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.
54 lines
2.7 KiB
54 lines
2.7 KiB
<!--pages/order/food/index.wxml-->
|
|
<title title="订单填写"></title>
|
|
<view class="box topbox" wx:if="{{product}}">
|
|
<view class="skuinfo">
|
|
<image lazy-load src="{{product.sku.headimg}}" mode="aspectFill"></image>
|
|
<view class="right-info">
|
|
<view class="sku-name textOver2">{{product.product.title}}</view>
|
|
<view class="sku-name2 textOver2">{{product.sku.sku_name}}</view>
|
|
<!-- <view class="info-tips">
|
|
<view class="price"><text>¥</text>{{product.sku.price/100}}</view>
|
|
<view bindtap="showNotice">购买须知 <text class="iconfont icon-you"></text> </view>
|
|
</view> -->
|
|
</view>
|
|
<view class="info-tips"><text>¥</text>{{product.sku.price/100}}</view>
|
|
</view>
|
|
<view class="box-title" style="border-top: none;">
|
|
<view style="flex:1">购买数量</view>
|
|
<view class="iconfont icon-sami-select" bindtap="minus"></view>
|
|
<view class="number-box">{{productNum}}</view>
|
|
<view class="iconfont icon-add-select" bindtap="add"></view>
|
|
</view>
|
|
<!-- <view class="box-title">
|
|
<view style="flex-shrink:0">联系人:</view>
|
|
<input type="text" value="{{user}}" bindinput="userInput" placeholder="输入您的名字"></input>
|
|
</view> -->
|
|
<view class="box-title">
|
|
<view style="flex-shrink:0">手机号:</view>
|
|
<input type="number" value="{{tel}}" bindinput="telInput" placeholder="请输入手机号"></input>
|
|
</view>
|
|
</view>
|
|
<coupon id="coupon" bind:getNewCoupon = 'getNewCoupon' money="{{product.sku.price * productNum}}" sku="{{product.sku.id}}" maxCouponObject="{{maxCouponObject}}"></coupon>
|
|
|
|
<!-- 顺手购组件 -->
|
|
<smoothly-order
|
|
wx:if="{{product.product.id && !coupon.id}}"
|
|
id="smoothlyOrderComp"
|
|
productId="{{product.product.id}}"
|
|
bind:callOtherComp="callOtherCompMethod"
|
|
bind:updateTotalPrice="handleUpdateTotalPrice"
|
|
></smoothly-order>
|
|
|
|
<view style="height:200rpx"></view>
|
|
<view class="fixed-bottom" wx:if="{{product}}">
|
|
<!-- <view class="fixed-price-box"><text>订单金额:</text><text class="price">¥{{((product.sku.price * productNum - (coupon?coupon.activity.money:0))>0?(product.sku.price * productNum - (coupon?coupon.activity.money:0)):0) / 100}}</text></view> -->
|
|
<view class="fixed-price-box"><text>订单金额:</text><text class="price">¥{{price}}</text></view>
|
|
|
|
<view class="fixed-btn" bindtap="order">提交订单</view>
|
|
</view>
|
|
<notice bind:close="closeNotice" wx:if="{{showNoticeFlag}}" bookingInfo="{{product.sku.sku_model}}" skuName="{{product.sku.sku_name}}"></notice>
|
|
|
|
<!-- <view class="tishi" wx-if="{{coupon.id && smoothlyTotal > 0}}">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/thyh/user/tanhaos.png" mode="aspectFill"></image>
|
|
购买须知:使用优惠券的组合订单均不支持部分退款
|
|
</view> -->
|