登录页title修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
98324c27e6
commit
c89aa8bd87
Binary file not shown.
|
After Width: | Height: | Size: 320 KiB |
|
|
@ -24,7 +24,10 @@
|
|||
<div v-if="NODE_ENV === 'usa'">
|
||||
<svg-icon icon-class="login-logo" style="width: 300px; height: 94px" />
|
||||
</div>
|
||||
<div class="title" v-else>{{ $t('login:title:system') }}</div>
|
||||
<div class="title" v-else>
|
||||
<img src="@/assets/system.png" alt="" :style="{ width: isEN ? '180px' : '200px', height: isEN ? '60px' : '65px' }" />
|
||||
<div :style="`font-size:${isEN ? '28px' : '35px'}`">{{ $t('login:title:system') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" auto-complete="on"
|
||||
label-position="left">
|
||||
|
|
@ -250,6 +253,9 @@ export default {
|
|||
// return window.location.host
|
||||
return 'elevateimaging.ai '
|
||||
},
|
||||
isEN() {
|
||||
return this.$i18n.locale !== 'zh'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$i18n.locale': {
|
||||
|
|
@ -697,7 +703,7 @@ $light_gray: #606266;
|
|||
|
||||
.login-form {
|
||||
position: absolute;
|
||||
top: 55%;
|
||||
top: 60%;
|
||||
// transform: translateY(-50%);
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
|
|
|||
Loading…
Reference in New Issue