login.wxml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <view style="background: #f5f5f5; padding: 20rpx 0;">
  2. <view class="goodslist_boxs">
  3. <view class="input-group">
  4. <label>园所</label>
  5. <picker mode="selector"
  6. class="picker"
  7. range="{{gardenList}}"
  8. range-key="name"
  9. value="{{gardenIndex}}"
  10. bindchange="onGardenChange">
  11. <view>
  12. {{gardenIndex !== null ? gardenList[gardenIndex].name : '请选择园所'}}
  13. </view>
  14. </picker>
  15. </view>
  16. <view class="input-group">
  17. <view style="display: flex;">
  18. <view style="width: 40%;">
  19. <picker mode="selector" range="{{levelOptions}}" value="{{selectedLevelIndex}}" bindchange="handleLevelChange">
  20. <view class="dropdown-item">{{levelOptions[selectedLevelIndex]}} <image class="xiala_boxs" src="{{xiala}}" /></view>
  21. </picker>
  22. </view>
  23. <input bindinput="onContactsInput" style="width: 60%;margin-left: 3%;" type="text" placeholder="请输入姓名" />
  24. </view>
  25. </view>
  26. <view class="input-group">
  27. <label>手机号码</label>
  28. <view>
  29. <input value="{{phone}}" bindinput="onPhoneInput" type="text" placeholder="请输入常用的手机号码" />
  30. </view>
  31. </view>
  32. <view class="input-group">
  33. <label>验证码</label>
  34. <view style="display: flex;">
  35. <input bindinput="onInputCode" style="width: 95%;margin-right: 3%;" type="text" placeholder="请输入验证码" />
  36. <button bindtap="getCode" class="get-code-btn">获取验证码</button>
  37. </view>
  38. </view>
  39. <button bindtap="bindingevents" class="confirm-btn">确定</button>
  40. </view>
  41. </view>