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.
git/scr/food/pages/paying/paying.wxml

77 lines
2.9 KiB

2 years ago
<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>
2 years ago
<view>
2 years ago
2 years ago
<!-- 订单详情 -->
<view class="order-info">
2 years ago
<view class="order-info-title" style="font-size: 20px;font-weight: bold;padding:10px 20px;margin-top: 20px;">订单详情</view>
2 years ago
<view class="cart-list-box" wx:for="{{buylist}}" wx:for-item="item" wx:key="list">
<view class="list-info">
2 years ago
<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>
2 years ago
</view>
</view>
</view>
<view class="order-sum">
<label>总计 </label>
2 years ago
<label class="order-sum-number activity-color">¥ {{totalprice}}</label>
2 years ago
</view>
</view>
<!-- 备注 -->
<view class="note">
2 years ago
<view style="font-size:14px;color:black;margin-bottom: 10px;">备注</view>
2 years ago
<textarea maxlength="{{max}}" placeholder="如有其他要求,请输入备注" bindinput="listenerTextarea" class="note-text">{{note}}</textarea>
</view>
<!-- 去支付 -->
2 years ago
</view>
2 years ago
<!-- 支付操作 -->
<view catchtap='showInputLayer' class="btn_pay">立即支付</view>
<!-- 密码输入框 -->
<view wx:if='{{showPayPwdInput}}'>
2 years ago
<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>
2 years ago
<view class='forget_pwd' catchtap='hidePayLayer'>忘记密码</view>
<input class='input_control' password type='number' focus='{{payFocus}}' bindinput='inputPwd' maxlength='6' />
</view>
</view>