index.wxml 1.1 KB

123456789101112131415161718192021222324252627
  1. <!--pages/login/index.wxml-->
  2. <navbar parameter='{{parameter}}' logoUrl="{{logoUrl}}"></navbar>
  3. <view class="login">
  4. <image src="/images/login_logo.png" class="login_img"></image>
  5. </view>
  6. <form class='form' bindsubmit='loginSubmit'>
  7. <view class="login_a">
  8. <view class="login_p">注册</view>
  9. <view class="inputa">
  10. <input class="input" type="number" name="account" bindinput='getPhoneValue' placeholder="手机号码" />
  11. </view>
  12. <view class="inputc">
  13. <input class="input" type="number" name="captcha" placeholder="验证码" />
  14. <!-- <button class="code_btn">获取验证码</button> -->
  15. <button class="code_btn {{disabled === true ? 'on' : ''}}" disabled='{{disabled}}' bindtap="code">
  16. {{ timetext }}
  17. </button>
  18. </view>
  19. <view class="inputb">
  20. <input class="input" type="password" name="password" placeholder="密码" />
  21. </view>
  22. <view class="inputb">
  23. <input class="input" disabled="disabled" value="{{spread}}" type="text" name="spread" placeholder="邀请码" />
  24. </view>
  25. <button class="login_btn" formType="submit">注册</button>
  26. </view>
  27. </form>