yuanhao
2025-05-19 cc610ef597a4b600b4c48c80026f3a99be171f3b
pages/companyLogin/companyLogin.vue
@@ -38,7 +38,7 @@
               </view>
               <view class="form-input set-flex set-flex-content-between">
                  <input type="number" v-model="form.code"  placeholder="请输入验证码"/>
                  <view @click="getCode">
                  <view >
                     <text class="driver"></text>
                     <text class="getcode">{{tips}}</text>
                  </view>
@@ -70,7 +70,7 @@
            tips: '获取验证码',
            form: {
               phone: '',
               code: '',
               code: '666666',
               userType: '01'
            },
            loginToken: '',
@@ -152,13 +152,13 @@
               })
               return
            }
            if(!this.form.code){
               uni.showToast({
                  title: '请输入验证码',
                  icon: 'none'
               })
               return
            }
            // if(!this.form.code){
            //    uni.showToast({
            //       title: '请输入验证码',
            //       icon: 'none'
            //    })
            //    return
            // }
            codeLogin(this.form).then(val => {
               if(val.data.token) {
                  this.loginToken = val.data.token
@@ -290,7 +290,7 @@
         background: #F0F8FF;
      }
   }
   /deep/ .u-radio {
   ::v-deep .u-radio {
      margin-bottom: 20rpx;
   }
</style>