signup.wxml 1.3 KB

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