usa环境软件名称变更图片
continuous-integration/drone/push Build is passing
Details
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
@ -21,9 +21,13 @@
|
||||||
<div class="login-r">
|
<div class="login-r">
|
||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
<!-- IRC Management System -->
|
<!-- IRC Management System -->
|
||||||
<!-- <div class="system-title" v-if="NODE_ENV==='usa'">{{ $t("login:title:system_title") }}</div>
|
<img
|
||||||
<div class="title" v-else>{{ $t("login:title:system") }}</div> -->
|
src="@/assets/title-logo.png"
|
||||||
<img :src="titleLogo" alt="" @click.stop="changeTitleLogo" class="title-logo"/>
|
alt=""
|
||||||
|
class="title-logo"
|
||||||
|
v-if="NODE_ENV === 'usa'"
|
||||||
|
/>
|
||||||
|
<div class="title" v-else>{{ $t("login:title:system") }}</div>
|
||||||
</div>
|
</div>
|
||||||
<el-form
|
<el-form
|
||||||
ref="loginForm"
|
ref="loginForm"
|
||||||
|
@ -191,20 +195,11 @@ import TopLang from "./topLang";
|
||||||
// import NoticeMarquee from '../trials/trials-layout/components/noticeMarquee'
|
// import NoticeMarquee from '../trials/trials-layout/components/noticeMarquee'
|
||||||
import Vcode from "vue-puzzle-vcode";
|
import Vcode from "vue-puzzle-vcode";
|
||||||
import Img1 from "@/assets/pic-2.png";
|
import Img1 from "@/assets/pic-2.png";
|
||||||
import logo1 from "@/assets/logo1.png";
|
|
||||||
import logo2 from "@/assets/logo2.png";
|
|
||||||
import logo3 from "@/assets/logo3.png";
|
|
||||||
import logo4 from "@/assets/logo4.png";
|
|
||||||
import logo5 from "@/assets/logo5.png";
|
|
||||||
import logo6 from "@/assets/logo6.png";
|
|
||||||
import logo7 from "@/assets/logo7.png";
|
|
||||||
export default {
|
export default {
|
||||||
name: "Login",
|
name: "Login",
|
||||||
components: { TopLang, Vcode },
|
components: { TopLang, Vcode },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
titleLogo: logo1,
|
|
||||||
titleLogoIndex: 1,
|
|
||||||
NODE_ENV: process.env.NODE_ENV,
|
NODE_ENV: process.env.NODE_ENV,
|
||||||
VUE_APP_OSS_CONFIG_REGION: process.env.VUE_APP_OSS_CONFIG_REGION,
|
VUE_APP_OSS_CONFIG_REGION: process.env.VUE_APP_OSS_CONFIG_REGION,
|
||||||
aboutVisible: false,
|
aboutVisible: false,
|
||||||
|
@ -271,35 +266,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapMutations({ setLanguage: "lang/setLanguage" }),
|
...mapMutations({ setLanguage: "lang/setLanguage" }),
|
||||||
changeTitleLogo() {
|
|
||||||
this.titleLogoIndex++;
|
|
||||||
switch (this.titleLogoIndex) {
|
|
||||||
case 1:
|
|
||||||
this.titleLogo = logo1;
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
this.titleLogo = logo2;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
this.titleLogo = logo3;
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
this.titleLogo = logo4;
|
|
||||||
break;
|
|
||||||
case 5:
|
|
||||||
this.titleLogo = logo5;
|
|
||||||
break;
|
|
||||||
case 6:
|
|
||||||
this.titleLogo = logo6;
|
|
||||||
break;
|
|
||||||
case 7:
|
|
||||||
this.titleLogo = logo7;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
this.titleLogoIndex = 1;
|
|
||||||
this.titleLogo = logo1;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
openAbout() {
|
openAbout() {
|
||||||
this.aboutVisible = true;
|
this.aboutVisible = true;
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,10 +4,12 @@
|
||||||
<img v-if="language === 'zh'" src="@/assets/zzlogo2.png" alt="">
|
<img v-if="language === 'zh'" src="@/assets/zzlogo2.png" alt="">
|
||||||
<img v-else-if="NODE_ENV === 'usa'" src="@/assets/zzlogo-usa.png" alt="" />
|
<img v-else-if="NODE_ENV === 'usa'" src="@/assets/zzlogo-usa.png" alt="" />
|
||||||
<img v-else src="@/assets/zzlogo4.png" alt="">
|
<img v-else src="@/assets/zzlogo4.png" alt="">
|
||||||
<span style="white-space:nowrap;" class="system-title" v-if="NODE_ENV==='usa'">
|
<img
|
||||||
<!-- 中心影像系统(EICS) -->
|
src="@/assets/title-logo.png"
|
||||||
{{ $t('trials:trials:title:eics_title') }}
|
alt=""
|
||||||
</span>
|
class="title-logo"
|
||||||
|
v-if="NODE_ENV === 'usa'"
|
||||||
|
/>
|
||||||
<span style="white-space:nowrap;" v-else>
|
<span style="white-space:nowrap;" v-else>
|
||||||
<!-- 中心影像系统(EICS) -->
|
<!-- 中心影像系统(EICS) -->
|
||||||
{{ $t('trials:trials:title:eics') }}
|
{{ $t('trials:trials:title:eics') }}
|
||||||
|
|