signup.wxml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <view class="money">报名费用 ¥<label wx:if='{{type==2}}'>{{info.player_price}}</label>
  2. <label wx: wx:else>{{info.viewer_price}}</label>
  3. </view>
  4. <view class="item" wx:if='{{type==2}}'>
  5. <label>比赛分组</label>
  6. <view class="tags">
  7. <picker value="{{index}}" range="{{info.groups}}" range-key='name' bindchange="bindChange">
  8. <view class="picker">
  9. <block wx:if='{{index>=0}}'>{{info.groups[index].name}}</block>
  10. <text wx:else style="color: #999;">请选择</text>
  11. <image style="width:24rpx;" mode="widthFix" src="../../images/icon_down@2x.png"></image>
  12. </view>
  13. </picker>
  14. </view>
  15. </view>
  16. <view class="item" wx:if='{{type==2}}'>
  17. <label>参赛名</label>
  18. <view class="tags">
  19. <input bindinput="inputchange1" placeholder-style="color:#999;" placeholder="请填写"></input>
  20. </view>
  21. </view>
  22. <view class="item">
  23. <label>手机号</label>
  24. <view class="tags">
  25. <input bindinput="inputchange" placeholder-style="color:#999;" placeholder="请填写"></input>
  26. </view>
  27. </view>
  28. <view class="item">
  29. <label>验证码</label>
  30. <view class="tags yzm">
  31. <input type="number" placeholder-style="color:#999" bindinput='codechange' placeholder="请输入验证码"></input>
  32. <view bindtap="getcode" wx:if="{{text=='获取验证码'}}">{{text}}</view>
  33. <view class="disabled" wx:else>{{text}}</view>
  34. </view>
  35. </view>
  36. <button bindtap="post">提交报名</button>