phone.wxml 1.3 KB

12345678910111213141516171819202122
  1. <view style="height: 420rpx;" />
  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" type="{{inputType}}" bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
  9. <image slot='right-icon' bindtap="changePasswordType" class="image" src="{{inputType=='password'?'/static/image/dp-show.svg':'/static/image/dp-none.svg'}}" />
  10. </van-cell>
  11. <view class="box">
  12. <van-checkbox custom-class='checkbox' label-class='label' icon-size="28rpx" value="{{ memory }}" shape="square" bind:change="isMemory">
  13. 记住密码
  14. </van-checkbox>
  15. <navigator url="./retrievePassword" class="view">忘记密码?</navigator>
  16. </view>
  17. <view style="width: 100vw; text-align: center;margin-top: 60rpx;">
  18. <van-button disabled='{{disabled}}' custom-class='login' bindtap="userLogin" loading='{{loading}}' loading-text="登陆中..." color='linear-gradient(90deg, #3874F6 0%, #095DE0 100%);'>登录</van-button>
  19. </view>
  20. <Agreement isAgree='{{isAgree}}' bindcallBack='agreementChange' />
  21. <van-toast id="van-toast" />