md
This commit is contained in:
parent
99e98146c1
commit
03c0547694
@ -7,7 +7,7 @@
|
|||||||
</router-link>
|
</router-link>
|
||||||
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
|
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
|
||||||
<div :style="{backgroundImage:'url('+logoBg+')'}" class="logo-bg">
|
<div :style="{backgroundImage:'url('+logoBg+')'}" class="logo-bg">
|
||||||
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
<img v-if="logo" :src="logo" :style="{height:''+logoHeight+'px'}" class="sidebar-logo" />
|
||||||
<!-- <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> -->
|
<!-- <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> -->
|
||||||
</div>
|
</div>
|
||||||
</router-link>
|
</router-link>
|
||||||
@ -16,8 +16,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import luludaLogo from '@/assets/logo/luluda_logo.png';
|
||||||
|
|
||||||
import shortLogoImg from '@/assets/logo/short_logo.png'
|
import shortLogoImg from '@/assets/logo/short_logo.png'
|
||||||
import logoImg from '@/assets/logo/left_logo.png'
|
import tanexLogoImg from '@/assets/logo/left_logo.png'
|
||||||
import logoBgImg from '@/assets/logo/left_logo_bg.png'
|
import logoBgImg from '@/assets/logo/left_logo_bg.png'
|
||||||
import variables from '@/assets/styles/variables.scss'
|
import variables from '@/assets/styles/variables.scss'
|
||||||
|
|
||||||
@ -40,10 +42,26 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '',
|
title: '',
|
||||||
logo: logoImg,
|
logo: tanexLogoImg,
|
||||||
logoBg: logoBgImg,
|
logoBg: logoBgImg,
|
||||||
shortLogo: shortLogoImg,
|
shortLogo: shortLogoImg,
|
||||||
|
logoHeight:80,
|
||||||
|
|
||||||
|
isTanex:true,
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
let hostName=window.location.hostname;
|
||||||
|
|
||||||
|
if(hostName.indexOf('truckline56')!=-1){
|
||||||
|
this.logo=luludaLogo;
|
||||||
|
this.isTanex=false;
|
||||||
|
this.logoHeight=40;
|
||||||
|
}else{
|
||||||
|
this.logoHeight=80;
|
||||||
|
this.logo=tanexLogoImg;
|
||||||
|
this.isTanex=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,11 +10,12 @@
|
|||||||
<div class="header-logo">
|
<div class="header-logo">
|
||||||
<div style="text-align: center; height:80px; line-height:80px;display: inline-flex;">
|
<div style="text-align: center; height:80px; line-height:80px;display: inline-flex;">
|
||||||
<div>
|
<div>
|
||||||
<img style="display: inline-block; vertical-align: middle;height: 55px;" src="@/assets/logo/tnlogo.png">
|
<!-- src="@/assets/logo/tnlogo.png -->
|
||||||
|
<img style="display: inline-block; vertical-align: middle;height: 55px;" :src="logoImg">
|
||||||
</div>
|
</div>
|
||||||
<div style="display: inline-flex;">
|
<div style="display: inline-flex;">
|
||||||
<div><img style="display: inline-block; vertical-align: middle;height: 18px;" src="@/assets/images/hotphone.png"></div>
|
<div><img style="display: inline-block; vertical-align: middle;height: 18px;" src="@/assets/images/hotphone.png"></div>
|
||||||
<div style="font-size: 18px; font-weight: 500;width: 120px;text-align: left;color: #b12e29;margin-left: 5px;">400-025-7080</div>
|
<div style="font-size: 18px; font-weight: 500;width: 120px;text-align: left;color: #b12e29;margin-left: 5px;" v-if="isTanex">400-025-7080</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -90,7 +91,7 @@
|
|||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
|
|
||||||
<div class="login-desc">
|
<div class="login-desc">
|
||||||
<h2>探路物流 速运全球-关境通物流管理系统</h2>
|
<h2 v-if="isTanex">探路物流 速运全球-关境通物流管理系统</h2>
|
||||||
<p>专业物流服务,端对端客户优势,垂直化的跟踪解答</p>
|
<p>专业物流服务,端对端客户优势,垂直化的跟踪解答</p>
|
||||||
<p>
|
<p>
|
||||||
<img style="display: inline-block; vertical-align: middle;width:50%;" src="@/assets/images/spic.png">
|
<img style="display: inline-block; vertical-align: middle;width:50%;" src="@/assets/images/spic.png">
|
||||||
@ -270,7 +271,9 @@
|
|||||||
<div class="signfooter">
|
<div class="signfooter">
|
||||||
<div class="auto clearfix">
|
<div class="auto clearfix">
|
||||||
<div class="footer-signfooter">
|
<div class="footer-signfooter">
|
||||||
<p>Powered by © 2024 探路速运 All Rights Reserved 技术支持:南京睿达通商务咨询有限公司 </p>
|
<p v-if="isTanex">Powered by © 2024 探路速运 All Rights Reserved 技术支持:南京睿达通商务咨询有限公司 </p>
|
||||||
|
<p v-if="!isTanex">Powered by © 2024 陆陆达 All Rights Reserved 技术支持:南京睿达通商务咨询有限公司 </p>
|
||||||
|
|
||||||
<p></p>
|
<p></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -327,6 +330,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import luludaLogo from '@/assets/logo/luluda_logo.png';
|
||||||
|
import tanexLogo from '@/assets/logo/tnlogo.png';
|
||||||
|
|
||||||
import { getCodeImg } from "@/api/login";
|
import { getCodeImg } from "@/api/login";
|
||||||
import { getLoginSmsVCode } from "@/api/common";
|
import { getLoginSmsVCode } from "@/api/common";
|
||||||
import { getLocalIp } from "@/utils/custom";
|
import { getLocalIp } from "@/utils/custom";
|
||||||
@ -346,6 +352,9 @@ export default {
|
|||||||
pdomain:null,
|
pdomain:null,
|
||||||
codeUrl: "",
|
codeUrl: "",
|
||||||
localIp:null,
|
localIp:null,
|
||||||
|
logoImg: null,
|
||||||
|
isTanex:true,
|
||||||
|
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: "",
|
username: "",
|
||||||
password: "",
|
password: "",
|
||||||
@ -436,6 +445,16 @@ export default {
|
|||||||
this.getCode();
|
this.getCode();
|
||||||
this.getCookie();
|
this.getCookie();
|
||||||
this.initMacId();
|
this.initMacId();
|
||||||
|
|
||||||
|
let hostName=window.location.hostname;
|
||||||
|
if(hostName.indexOf('truckline56')!=-1){
|
||||||
|
this.logoImg=luludaLogo;
|
||||||
|
this.isTanex=false;
|
||||||
|
}else{
|
||||||
|
this.logoImg=tanexLogo;
|
||||||
|
this.isTanex=true;
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async initMacId(){
|
async initMacId(){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user