|
|
|
<template is="navigationBar" data="{{...item}}"></template>
|
|
|
|
<view class="order_address" bindtap="bindaddress">
|
|
|
|
<view class="select_address"><text class="iconfont icon-map_line-"></text>点击去选择地址</view>
|
|
|
|
<view><text class="iconfont icon-arrowright"></text></view>
|
|
|
|
</view>
|
|
|
|
<view class="Receiving_address" bindtap="bindaddress">
|
|
|
|
|
|
|
|
<view wx:for="{{addresslist}}" class="container1">
|
|
|
|
<view class="text-content">
|
|
|
|
<checkbox checked="{{item.check}}" class="checkbox_one" data-index="{{index}}" bindtap="allCheckbox" />
|
|
|
|
<text>{{item.address}}\n</text>
|
|
|
|
<text>{{item.detailedAddress}}\n</text>
|
|
|
|
|
|
|
|
<text>收货人:{{item.name}}\n</text>
|
|
|
|
<text>电话:{{item.phone}}</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view><text class="iconfont icon-arrowright"></text></view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<!-- 订单详情 -->
|
|
|
|
<view class="order-info">
|
|
|
|
<view class="order-info-title" style="font-size: 20px;font-weight: bold;padding:10px 20px;margin-top: 20px;">订单详情</view>
|
|
|
|
<view class="cart-list-box" wx:for="{{buylist}}" wx:for-item="item" wx:key="list">
|
|
|
|
<view class="list-info">
|
|
|
|
<image src="{{item.url}}"></image>
|
|
|
|
<view style="float: left;">
|
|
|
|
<view class="food_name">{{item.food_name}}</view>
|
|
|
|
<view>
|
|
|
|
<view style="padding-left:20px;">
|
|
|
|
<view style="color:#A3A3A3">x {{item.num}}</view>
|
|
|
|
<view style="color: rgb(255, 123, 0);">¥ {{item.price}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="order-sum">
|
|
|
|
<label>总计 </label>
|
|
|
|
<label class="order-sum-number activity-color">¥ {{totalprice}}</label>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 备注 -->
|
|
|
|
<view class="note">
|
|
|
|
<view style="font-size:14px;color:black;margin-bottom: 10px;">备注</view>
|
|
|
|
<textarea maxlength="{{max}}" placeholder="如有其他要求,请输入备注" bindinput="listenerTextarea" class="note-text">{{note}}</textarea>
|
|
|
|
</view>
|
|
|
|
<!-- 去支付 -->
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 支付操作 -->
|
|
|
|
<view catchtap='showInputLayer' class="btn_pay">立即支付</view>
|
|
|
|
<!-- 密码输入框 -->
|
|
|
|
<view wx:if='{{showPayPwdInput}}'>
|
|
|
|
<view class='bg_layer'></view>
|
|
|
|
<view class='input_main'>
|
|
|
|
<view class='input_title'>
|
|
|
|
<view class='input_back' catchtap='hidePayLayer'><text></text></view>
|
|
|
|
<text>输入支付密码</text>
|
|
|
|
</view>
|
|
|
|
<view class='input_tip'><text>使用会员卡余额支付需要验证身份,验证通过后才可进行支付。</text></view>
|
|
|
|
<view class='input_row' catchtap='getFocus'>
|
|
|
|
<view class='pwd_item' wx:for='{{6}}' wx:key='item' wx:for-index='i'>
|
|
|
|
<text wx:if='{{pwdVal.length>i}}'></text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class='forget_pwd' catchtap='hidePayLayer'>忘记密码</view>
|
|
|
|
<input class='input_control' password type='number' focus='{{payFocus}}' bindinput='inputPwd' maxlength='6' />
|
|
|
|
</view>
|
|
|
|
</view>
|