Revert "单机版测试"

This reverts commit 6458528ce8.
This commit is contained in:
mashuai 2025-08-11 09:20:42 +08:00
parent 6458528ce8
commit 79bdddaba5
1 changed files with 36 additions and 7 deletions

View File

@ -46,7 +46,7 @@
/>
</el-input>
</el-form-item>
<!-- <el-form-item
<el-form-item
prop="code"
v-if="captchaEnabled"
class="code-container"
@ -70,7 +70,7 @@
class="login-code-img"
/>
</div>
</el-form-item> -->
</el-form-item>
<el-form-item style="width: 100%">
<el-button
:loading="loading"
@ -91,7 +91,8 @@
</el-form-item>
</el-form>
</el-tab-pane>
<!-- <el-tab-pane label="手机登录" name="phone">
<el-tab-pane label="手机登录" name="phone">
<!-- 手机验证码登录 -->
<el-form
ref="phoneLoginFormRef"
:model="phoneLoginParams"
@ -116,7 +117,34 @@
</el-input>
</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
prop="textCode"
class="code-container"
@ -134,6 +162,7 @@
/>
</el-input>
<div class="login-code">
<!-- <div class="login-code-img" style="border: 1px solid rgb(220, 223, 230);" @click="getTextCode">获取验证码</div> -->
<div
class="login-code-img"
style="
@ -185,7 +214,7 @@
</div>
</el-form-item>
</el-form>
</el-tab-pane> -->
</el-tab-pane>
</el-tabs>
<div class="phoneType">
{{"客服电话0551-62573713"}}
@ -361,7 +390,7 @@ export default {
},
},
created() {
// this.getCode(1) // type 1
this.getCode(1) // type 1
this.getCookie()
},
methods: {
@ -505,7 +534,7 @@ export default {
.catch(() => {
this.loading = false
if (this.captchaEnabled) {
// this.getCode(1)
this.getCode(1)
}
})
}