''
liukangdong
2024-07-04 5a85dcab83e969d6b21c599b512a15117e9b8651
h5/pages/staffLogin/login.vue
@@ -84,7 +84,12 @@
  onLoad() {
    this.initCaptcha()
  },
  onBackPress(options) {
    uni.redirectTo({
      url: '/pages/login/login'
    })
    return true
  },
  methods: {
    ...mapMutations(["setToken", "setUserInfo"]),
    changeFalg() {
@@ -122,10 +127,10 @@
        title: '密码不能为空',
        icon: 'none'
      })
      // if (!form.code) return uni.showToast({
      //   title: '验证码不能为空',
      //   icon: 'none'
      // })
      if (!form.code) return uni.showToast({
        title: '验证码不能为空',
        icon: 'none'
      })
      loginPost({
        ...form,
        uuid: this.captcha.uuid,
@@ -151,7 +156,7 @@
  width: 100%;
  height: 100vh;
  display: flex;
  padding-top: 160rpx;
  padding-top: 130rpx;
  box-sizing: border-box;
  align-items: center;
  flex-direction: column;
@@ -218,7 +223,6 @@
    margin-top: 60rpx;
    .for_psd {
      color: $uni-color-primary;
      margin-top: 40rpx;
      width: 140rpx;
      text-align: center;
      margin: 40rpx auto;
@@ -242,7 +246,7 @@
    width: 100%;
    left: 0;
    text-align: center;
    bottom: 108rpx;
    bottom: 88rpx;
    display: flex;
    justify-content: center;
    align-items: center;