buyCard.wxml 1.1 KB
<!--pages/buyCard/buyCard.wxml-->
<view class='long_img'>这是一个可以滑动的长图</view>
<view class='service_box'>
  <view class='add_person_box'>
    <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 class='service_info_box'>
    <text class='iconfont icon-xuanzhong'></text>
    <text>我已阅读并同意畅玩卡</text>
    <text class='service_info' bindtap='serviceProtocol'>服务协议</text>
  </view>
  <view class='service_btn_box'>
    <view>需支付:¥288.00</view>
    <view class='pay_btn' bindtap='confirmPay'>确定</view>
  </view>
</view>