|
@@ -13,14 +13,12 @@
|
|
@load="(e) => (e.target.style = '')"
|
|
@load="(e) => (e.target.style = '')"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
- <a class="close" @click="closeApp">
|
|
|
|
- 关闭
|
|
|
|
- </a>
|
|
|
|
|
|
+ <a class="close" @click="closeApp"> 关闭 </a>
|
|
</header>
|
|
</header>
|
|
|
|
|
|
<div class="center">
|
|
<div class="center">
|
|
<div class="content">
|
|
<div class="content">
|
|
- <div style="display: flex;">
|
|
|
|
|
|
+ <div style="display: flex">
|
|
<a
|
|
<a
|
|
v-if="allowLoginType.includes('STUDENT_CODE')"
|
|
v-if="allowLoginType.includes('STUDENT_CODE')"
|
|
key="STUDENT_CODE"
|
|
key="STUDENT_CODE"
|
|
@@ -30,7 +28,7 @@
|
|
loginType === 'STUDENT_CODE' && 'active-type',
|
|
loginType === 'STUDENT_CODE' && 'active-type',
|
|
allowLoginType.length === 1 && 'single-login-type',
|
|
allowLoginType.length === 1 && 'single-login-type',
|
|
]"
|
|
]"
|
|
- style="border-top-left-radius: 6px;"
|
|
|
|
|
|
+ style="border-top-left-radius: 6px"
|
|
@click="loginType = 'STUDENT_CODE'"
|
|
@click="loginType = 'STUDENT_CODE'"
|
|
>
|
|
>
|
|
{{ QECSConfig.STUDENT_CODE_LOGIN_ALIAS }}
|
|
{{ QECSConfig.STUDENT_CODE_LOGIN_ALIAS }}
|
|
@@ -44,7 +42,7 @@
|
|
loginType !== 'STUDENT_CODE' && 'active-type',
|
|
loginType !== 'STUDENT_CODE' && 'active-type',
|
|
allowLoginType.length === 1 && 'single-login-type',
|
|
allowLoginType.length === 1 && 'single-login-type',
|
|
]"
|
|
]"
|
|
- style="border-top-right-radius: 6px;"
|
|
|
|
|
|
+ style="border-top-right-radius: 6px"
|
|
@click="loginType = 'STUDENT_IDENTITY_NUMBER'"
|
|
@click="loginType = 'STUDENT_IDENTITY_NUMBER'"
|
|
>
|
|
>
|
|
{{ QECSConfig.IDENTITY_NUMBER_LOGIN_ALIAS }}
|
|
{{ QECSConfig.IDENTITY_NUMBER_LOGIN_ALIAS }}
|
|
@@ -58,11 +56,11 @@
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="qm-title-text" style="margin: 40px 0 20px 0;">
|
|
|
|
|
|
+ <div class="qm-title-text" style="margin: 40px 0 20px 0">
|
|
{{ productName }}
|
|
{{ productName }}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div style="margin: 0 40px 40px 40px;">
|
|
|
|
|
|
+ <div style="margin: 0 40px 40px 40px">
|
|
<i-form ref="loginForm" :model="loginForm" :rules="loginFormRule">
|
|
<i-form ref="loginForm" :model="loginForm" :rules="loginFormRule">
|
|
<i-form-item prop="accountValue" class="form-item-style">
|
|
<i-form-item prop="accountValue" class="form-item-style">
|
|
<i-input
|
|
<i-input
|
|
@@ -87,22 +85,22 @@
|
|
<i-form-item
|
|
<i-form-item
|
|
v-if="isGeeTestEnabled"
|
|
v-if="isGeeTestEnabled"
|
|
class="form-item-style"
|
|
class="form-item-style"
|
|
- style="height: 40px; margin-top: 0px;"
|
|
|
|
|
|
+ style="height: 40px; margin-top: 0px"
|
|
>
|
|
>
|
|
<GeeTest :reset="resetGeeTime" @on-load="handleGtResult" />
|
|
<GeeTest :reset="resetGeeTime" @on-load="handleGtResult" />
|
|
</i-form-item>
|
|
</i-form-item>
|
|
|
|
|
|
- <i-form-item style="position: relative;">
|
|
|
|
|
|
+ <i-form-item style="position: relative">
|
|
<div
|
|
<div
|
|
v-if="errorInfo !== ''"
|
|
v-if="errorInfo !== ''"
|
|
- style="position: absolute; top: -25px; width: 100%;"
|
|
|
|
|
|
+ style="position: absolute; top: -25px; width: 100%"
|
|
>
|
|
>
|
|
<i-alert type="error" show-icon>{{ errorInfo }}</i-alert>
|
|
<i-alert type="error" show-icon>{{ errorInfo }}</i-alert>
|
|
</div>
|
|
</div>
|
|
<i-button
|
|
<i-button
|
|
size="large"
|
|
size="large"
|
|
class="qm-primary-button"
|
|
class="qm-primary-button"
|
|
- style="margin-top: 10px;"
|
|
|
|
|
|
+ style="margin-top: 10px"
|
|
long
|
|
long
|
|
:disabled="disableLoginBtn"
|
|
:disabled="disableLoginBtn"
|
|
:loading="loginBtnLoading"
|
|
:loading="loginBtnLoading"
|
|
@@ -117,7 +115,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<footer class="footer">
|
|
<footer class="footer">
|
|
- <div style="position: absolute; right: 20px; bottom: 20px;">
|
|
|
|
|
|
+ <div style="position: absolute; right: 20px; bottom: 20px">
|
|
版本: {{ VUE_APP_GIT_REPO_VERSION }}
|
|
版本: {{ VUE_APP_GIT_REPO_VERSION }}
|
|
</div>
|
|
</div>
|
|
<DevTools />
|
|
<DevTools />
|
|
@@ -1057,6 +1055,7 @@ export default {
|
|
shellVersion + "/" + chromeVersion,
|
|
shellVersion + "/" + chromeVersion,
|
|
]);
|
|
]);
|
|
} else {
|
|
} else {
|
|
|
|
+ window._hmt.push(["_trackEvent", "登录页面", "浏览器登录"]);
|
|
if (chromeVersion) {
|
|
if (chromeVersion) {
|
|
window._hmt.push([
|
|
window._hmt.push([
|
|
"_trackEvent",
|
|
"_trackEvent",
|