confirmPayment.wxml
2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!--pack-activity/pack/confirmPayment.wxml 代金券和充值支付页面-->
<nav>{{opt.detail.name}}</nav>
<view class="box_wrap">
<view wx:if="{{type=='1'}}" class="box">
<view class="countdown font24r">
支付剩余时间 {{countdown}}
</view>
<view class="money_text">
{{opt.detail.aname}}
</view>
<view class="nameText font24r">
{{opt.detail.totalize}}
</view>
<view class="nameText font24r">
{{opt.detail.name}}
</view>
</view>
<view wx:if="{{type=='2'}}" class="coupon">
<form catchsubmit="formSubmit">
<view class="page-section">
<view class="page-section-title font32r">您的姓名</view>
<view class="weui-cells weui-cell__bd" style="margin: 30rpx 0">
<input class="weui-input" name="name" placeholder="点击输入您的姓名" placeholder-style="color:#999;" />
</view>
</view>
<view class="page-section">
<view class="page-section-title font32r">联系电话</view>
<view class="weui-cells weui-cell__bd" style="margin: 30rpx 0">
<input class="weui-input" type="number" name="phone" maxlength="11" placeholder="点击输入您的电话" placeholder-style="color:#999;" style="color: #999" />
</view>
</view>
<view class="page-section page-section1">
<view class="page-section-title font32r">您的生日</view>
<view class="weui-cells weui-cell__bd">
<picker mode="date" value="{{date}}" bindchange="bind_ChangeDate" class="pickerBox">
<view class="colorSty">{{date?date:'点击输入您的生日'}}</view>
</picker>
</view>
<view class="more"></view>
</view>
<view class="page-section">
<view class="page-section-title font32r">充值金额</view>
<view class="weui-cells weui-cell__bd sum colorSty">
{{opt.detail.recharge_money}}元
</view>
</view>
</form>
</view>
</view>
<view wx:if="{{type=='2'}}" class="fixed_box">
<button class="font32r btns" formType="submit">确认支付
</button>
</view>
<view wx:if="{{type=='1'}}" class="fixed_box">
<button class="font32r btns" bindtap="formSubmit">确认支付
</button>
</view>
<my-modal id="payModal" fadeStyle="slideUp" height="380px">
<view slot="modalName" class="titleModal">成功支付{{price}}元</view>
<view slot="modalContent">
<view class="explain" wx:if="{{type=='2'}}">
您的会员充值已经在办理中,到店消费时请和收银核实,谢谢!
</view>
<button wx:if="{{type=='2'}}" class="font32r btnsPay" bindtap="recharge">完成
</button>
<button wx:else class="font32r btnsPay" bindtap="certificate">朕知道了
</button>
</view>
</my-modal>