phone.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. <view style="height: 340rpx;" />
  2. <van-cell>
  3. <text slot='icon' class="iconfont icon-a-biaoqianlanwodexuanzhong" />
  4. <input class="input" type="text" value='{{accountno}}' bindinput="inputPhone" placeholder="请输入账户名" />
  5. </van-cell>
  6. <van-cell>
  7. <text slot='icon' class="iconfont icon-a-wodemima" />
  8. <input class="input" wx:if="{{inputType=='text'}}" focus='{{focus}}' bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
  9. <input class="input" wx:else type="password" focus='{{focus}}' bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
  10. <view slot='right-icon' style="width: 90rpx;height: 22.4px; display: flex; justify-content: flex-end;" catchtap="changePasswordType">
  11. <image class="image" src="{{inputType=='password'?'/static/image/dp-none.svg':'/static/image/dp-show.svg'}}" />
  12. </view>
  13. </van-cell>
  14. <view class="box">
  15. <van-checkbox custom-class='checkbox' label-class='label' icon-size="28rpx" value="{{ memory }}" shape="square" bind:change="isMemory">
  16. 记住密码
  17. </van-checkbox>
  18. <navigator url="./retrievePassword" class="view">忘记密码?</navigator>
  19. </view>
  20. <view style="width: 100vw; text-align: center;margin-top: 60rpx;">
  21. <van-button disabled='{{disabled}}' custom-class='login' bindtap="userLogin" loading='{{loading}}' loading-text="登陆中..." color='linear-gradient(90deg, #3874F6 0%, #095DE0 100%);'>登录</van-button>
  22. </view>
  23. <Agreement isAgree='{{isAgree}}' bindcallBack='agreementChange' />
  24. <van-toast id="van-toast" />
  25. <view style="height: 100rpx;" />
  26. <van-divider contentPosition="center">其他登录方式</van-divider>
  27. <view style="width: 100%; text-align: center;">
  28. <text class="iconfont icon-a-wodebangdingweixin" style="font-size: 100rpx; color:#07C160;" bindtap="wechatLogin" />
  29. </view>