charge.wxml
1.2 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
<!--pages/charge/charge.wxml-->
<view class='content_box'>
<view class='item_list_box'>
<view class='item_list'>
<view class='list_input'>
<view>兑换码:</view>
<input placeholder='请输入您的畅玩卡兑换码' placeholder-class='input_style'></input>
</view>
<view></view>
</view>
<view class='item_list'>
<view class='list_input'>
<view>绑定学员:</view>
<picker value='{{index}}' range='{{userlist}}' bindchange='userList'>
<block wx:if='{{index==-1}}'>
<input placeholder='点击右侧添加学员' placeholder-class='input_style' disabled='true'></input>
</block>
<block wx:else>
<text>{{userlist[index]}}</text>
</block>
</picker>
<view class='iconfont icon-daosanjiao'></view>
</view>
<view class='add_box' bindtap='addUser'>
<text class='iconfont icon-jia'></text>
<text>添加学员</text>
</view>
</view>
</view>
</view>
<view class='service_box'>
<view class='service_info_box'>
<text>注:如果还未添加学员,点击添加学员添加吧!</text>
</view>
<view class='service_btn_box' bindtap='chargeBtn'>
兑换并绑定
</view>
</view>