index.wxml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <view class="container">
  2. <view class="form-box">
  3. <view class="form-center">
  4. <image class="userinfo-avatar" src="/static/images/logo.png" mode="cover"></image>
  5. </view>
  6. <view class="form-center">
  7. <text >鲸致生活-加盟商系统</text>
  8. </view>
  9. <!-- <view class="form-item">
  10. <view class="content" >
  11. <van-radio-group value="{{ loginType }}" bind:change="onLoginChange">
  12. <van-radio name="1" >一键登录
  13. </van-radio>
  14. <van-radio name="2" style="margin-left: 30rpx;"
  15. >验证登录</van-radio>
  16. </van-radio-group>
  17. </view>
  18. </view> -->
  19. <!-- 加盟商登录 -->
  20. <view class="form-item">
  21. <view class="label" style="font-size:29rpx">手机号</view>
  22. <view class="content">
  23. <input class="username" type="number" maxlength="11" value="{{jmsMobile}}" disabled="{{loginType==1}}" bindinput="bindJmsMobileInput"
  24. placeholder="请输入联系手机" />
  25. </view>
  26. </view>
  27. <view class="form-item">
  28. <view class="label" style="font-size:29rpx">验证码</view>
  29. <view class="content" style="display:flex">
  30. <input class="captcha" style="width: 260rpx;" type="number" value="{{jmsCaptcha}}" disabled="{{loginType==1}}"
  31. bindinput="bindJmsCaptchaInput" placeholder="验证码" />
  32. <button class="form-item-getPhone" disabled="{{loginType==1}}" bindtap="getJmsCaptcha">获取验证码</button>
  33. </view>
  34. </view>
  35. </view>
  36. <view style="display:flex;text-align:center">
  37. <button wx:if="{{loginType==2}}"class="register-btn" bindtap="loginTemp">登录</button>
  38. <button class="register-btn" wx:if="{{loginType==1}}" open-type="getPhoneNumber"
  39. bindgetphonenumber="getPhoneNumber">一键登录</button>
  40. </view>
  41. <view style="margin-top:40rpx;display: flex;align-items: center; " class="check-wrapper">
  42. <van-checkbox value="{{isChecked}}" shape="square" checked-color="#09afff" icon-size="16px" bind:change="checkChange">
  43. </van-checkbox>
  44. <view bindtap="checkProBtn" style="color:#249FEF">《鲸致生活-加盟商系统用户协议》</view>
  45. </view>
  46. <!-- <view class="link-block">
  47. <view bindtap="goRegister">申请注册</view>
  48. </view> -->
  49. </view>