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="title-container">
|
||||
<!-- IRC Management System -->
|
||||
<!-- <div class="system-title" v-if="NODE_ENV==='usa'">{{ $t("login:title:system_title") }}</div>
|
||||
<div class="title" v-else>{{ $t("login:title:system") }}</div> -->
|
||||
<img :src="titleLogo" alt="" @click.stop="changeTitleLogo" class="title-logo"/>
|
||||
<img
|
||||
src="@/assets/title-logo.png"
|
||||
alt=""
|
||||
class="title-logo"
|
||||
v-if="NODE_ENV === 'usa'"
|
||||
/>
|
||||
<div class="title" v-else>{{ $t("login:title:system") }}</div>
|
||||
</div>
|
||||
<el-form
|
||||
ref="loginForm"
|
||||
|
@ -191,20 +195,11 @@ import TopLang from "./topLang";
|
|||
// import NoticeMarquee from '../trials/trials-layout/components/noticeMarquee'
|
||||
import Vcode from "vue-puzzle-vcode";
|
||||
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 {
|
||||
name: "Login",
|
||||
components: { TopLang, Vcode },
|
||||
data() {
|
||||
return {
|
||||
titleLogo: logo1,
|
||||
titleLogoIndex: 1,
|
||||
NODE_ENV: process.env.NODE_ENV,
|
||||
VUE_APP_OSS_CONFIG_REGION: process.env.VUE_APP_OSS_CONFIG_REGION,
|
||||
aboutVisible: false,
|
||||
|
@ -271,35 +266,6 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
...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() {
|
||||
this.aboutVisible = true;
|
||||
},
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
<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 src="@/assets/zzlogo4.png" alt="">
|
||||
<span style="white-space:nowrap;" class="system-title" v-if="NODE_ENV==='usa'">
|
||||
<!-- 中心影像系统(EICS) -->
|
||||
{{ $t('trials:trials:title:eics_title') }}
|
||||
</span>
|
||||
<img
|
||||
src="@/assets/title-logo.png"
|
||||
alt=""
|
||||
class="title-logo"
|
||||
v-if="NODE_ENV === 'usa'"
|
||||
/>
|
||||
<span style="white-space:nowrap;" v-else>
|
||||
<!-- 中心影像系统(EICS) -->
|
||||
{{ $t('trials:trials:title:eics') }}
|
||||
|
|