signup.wxml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <view class="title" wx:if='{{type==2}}'><label>比赛名称</label><label class="content">{{info.name}}</label></view>
  2. <view class="item" wx:if='{{type==2}}'>
  3. <label>比赛分组</label>
  4. <view class="tags">
  5. <picker value="{{index}}" range="{{info.groups}}" range-key='name' bindchange="bindChange">
  6. <view class="picker">
  7. <block wx:if='{{index>=0}}'>{{info.groups[index].name}}</block>
  8. <text wx:else style="color: #999;">请选择</text>
  9. <image style="width:24rpx;" mode="widthFix" src="../../images/icon_down@2x.png"></image>
  10. </view>
  11. </picker>
  12. </view>
  13. </view>
  14. <view class="message" wx:if='{{type==2}}'><label>注:按资金量选择分组,冠军组需历届小组前三,十万以上</label></view>
  15. <view class="title" wx:if='{{type==1}}'><label>游客报名</label></view>
  16. <view class="item">
  17. <label wx:if='{{type==2}}'>参赛名</label>
  18. <label wx:else>观赛名</label>
  19. <view class="tags">
  20. <input bindinput="inputchange1" placeholder-style="color:#999;" placeholder="名字小于7个字"></input>
  21. </view>
  22. </view>
  23. <view class="item">
  24. <label>手机号</label>
  25. <view class="tags">
  26. <input bindinput="inputchange" placeholder-style="color:#999;" placeholder="请填写"></input>
  27. </view>
  28. </view>
  29. <view class="item">
  30. <label>验证码</label>
  31. <view class="tags yzm">
  32. <input type="number" placeholder-style="color:#999" bindinput='codechange' placeholder="请输入验证码"></input>
  33. <view bindtap="getcode" wx:if="{{text=='获取验证码'}}">{{text}}</view>
  34. <view class="disabled" wx:else>{{text}}</view>
  35. </view>
  36. </view>
  37. <view class="title"><label>费用说明</label></view>
  38. <view class="title">
  39. <label>报名费用</label>
  40. <block wx:if="{{!userinfo.player_type || userinfo.player_type <= 1}}">
  41. <label class="content" wx:if='{{type==2}}'>{{info.player_price}}</label>
  42. <label class="content" wx: wx:else>{{info.viewer_price}}</label>
  43. <label>元</label>
  44. </block>
  45. <block wx:else>
  46. <label class="content">免费</label>
  47. </block>
  48. </view>
  49. <view class="title" wx:if="{{userinfo.player_type <= 1}}">
  50. <label>支付方式</label>
  51. <label class="content">微信支付</label>
  52. <image class="zf" mode="widthFix" src="../../images/weixinzhifu.png"></image>
  53. </view>
  54. <button bindtap="post">提交报名</button>