index.wxml 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <!--pages/entry/index.wxml-->
  2. <view class="page">
  3. <view class="title">登记选手信息</view>
  4. <view class="main">
  5. <view class="label">
  6. 姓名
  7. </view>
  8. <view class="input">
  9. <input value="{{nickName}}" bindinput="bindKeyInput" type="text" style="width: 655rpx;" class="inputTool" placeholder-class="placeholder-style" placeholder="请输入姓名" />
  10. </view>
  11. <view class="label">
  12. 学校
  13. </view>
  14. <view class="input">
  15. <picker bindchange="bindchange" mode="selector" range="{{schoolList}}" style="width: 655rpx;" class="inputTool {{school ? '' : 'placeholder-style'}}">
  16. {{school || "请选择学校"}}
  17. </picker>
  18. </view>
  19. <view class="label">
  20. 手机号
  21. </view>
  22. <view class="input">
  23. <input disabled="{{inputed}}" value="{{phoneNumber}}" bindinput="phoneinput" type="number" class="inputTool" placeholder-class="placeholder-style" placeholder="请输入手机号" />
  24. <button wx:if="{{!inputed}}" class="buttom" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">一键获取手机号</button>
  25. </view>
  26. <view class="faceBtn" bindtap="toFace">
  27. 进行人脸识别
  28. </view>
  29. </view>
  30. </view>