单机版测试

This commit is contained in:
bb_pan 2025-08-08 23:54:33 +08:00
parent 49916e9d61
commit 6458528ce8
1 changed files with 7 additions and 36 deletions

View File

@ -46,7 +46,7 @@
/> />
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item <!-- <el-form-item
prop="code" prop="code"
v-if="captchaEnabled" v-if="captchaEnabled"
class="code-container" class="code-container"
@ -70,7 +70,7 @@
class="login-code-img" class="login-code-img"
/> />
</div> </div>
</el-form-item> </el-form-item> -->
<el-form-item style="width: 100%"> <el-form-item style="width: 100%">
<el-button <el-button
:loading="loading" :loading="loading"
@ -91,8 +91,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="手机登录" name="phone"> <!-- <el-tab-pane label="手机登录" name="phone">
<!-- 手机验证码登录 -->
<el-form <el-form
ref="phoneLoginFormRef" ref="phoneLoginFormRef"
:model="phoneLoginParams" :model="phoneLoginParams"
@ -117,34 +116,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<!-- 5.27 新增发送短信验证时 增加图形验证码校验 暂时注释 因为放在表单内显得暧昧 先模仿南网注册页面使用弹框提示图形验证码 -->
<!-- <el-form-item
prop="code"
v-if="captchaEnabled"
class="code-container"
>
<el-input
v-model="phoneLoginParams.code"
auto-complete="off"
placeholder="图形验证码"
@keyup.enter.native="textLogin"
style="width: 63%"
>
<svg-icon
slot="prefix"
icon-class="validCode"
class="el-input__icon input-icon"
/>
</el-input>
<div class="login-code">
<img
:src="phoneCodeUrl"
@click="getCode(2)"
class="login-code-img"
style="width: 100%"
/>
</div>
</el-form-item> -->
<el-form-item <el-form-item
prop="textCode" prop="textCode"
class="code-container" class="code-container"
@ -162,7 +134,6 @@
/> />
</el-input> </el-input>
<div class="login-code"> <div class="login-code">
<!-- <div class="login-code-img" style="border: 1px solid rgb(220, 223, 230);" @click="getTextCode">获取验证码</div> -->
<div <div
class="login-code-img" class="login-code-img"
style=" style="
@ -214,7 +185,7 @@
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-tab-pane> </el-tab-pane> -->
</el-tabs> </el-tabs>
<div class="phoneType"> <div class="phoneType">
{{"客服电话0551-62573713"}} {{"客服电话0551-62573713"}}
@ -390,7 +361,7 @@ export default {
}, },
}, },
created() { created() {
this.getCode(1) // type 1 // this.getCode(1) // type 1
this.getCookie() this.getCookie()
}, },
methods: { methods: {
@ -534,7 +505,7 @@ export default {
.catch(() => { .catch(() => {
this.loading = false this.loading = false
if (this.captchaEnabled) { if (this.captchaEnabled) {
this.getCode(1) // this.getCode(1)
} }
}) })
} }