index.wxml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="page">
  2. <view class='title'>参团信息</view>
  3. <view class='group'>
  4. <view class='list'>
  5. <view class='list-title'>姓名</view>
  6. <view class='list-content border'>
  7. <i-input class="row" type="text" bind:change='bindNameChange' value="{{ realName }}" maxlength="30" placeholder="请输入姓名" i-class="input"/>
  8. </view>
  9. </view>
  10. <view class='list'>
  11. <view class='list-title'>年龄</view>
  12. <view class='list-content border'>
  13. <i-input value="{{ age }}" bind:change='bindAgeChange' type="number" placeholder="1998" maxlength="4" i-class="input"/>
  14. </view>
  15. </view>
  16. <view class='list'>
  17. <view class='list-title'>性别</view>
  18. <view class='list-content border'>
  19. <picker bindchange="bindSexChange" value="{{sex_index}}" range="{{sex}}">
  20. <view class="picker">
  21. {{sex[sex_index]}}
  22. </view>
  23. </picker>
  24. </view>
  25. </view>
  26. <view class='list'>
  27. <view class='list-title'>手机号码</view>
  28. <view class='list-content border'>
  29. <i-input value="{{ iphone }}" bind:change='bindPhoneInput' type="number" maxlength="11" placeholder="请输入手机号" i-class="input"/>
  30. <view bindtap="sendCode" class='label yzm'>{{ djs || '获取验证码'}}</view>
  31. </view>
  32. </view>
  33. <view class='list' wx:if='{{!sid}}' >
  34. <view class='list-title'>验证码</view>
  35. <view class='list-content border'>
  36. <i-input i-class="input" value="{{ yzm }}" type="number" maxlength="4" bind:change='bindCodeInput'/>
  37. </view>
  38. </view>
  39. </view>
  40. <i-button i-class="radius distance primary" bind:click="handleClick" type="primary" shape="circle">保存</i-button>
  41. </view>