|
@@ -1,15 +1,13 @@
|
|
<template>
|
|
<template>
|
|
<div class="login-container">
|
|
<div class="login-container">
|
|
<div class="login-nav">
|
|
<div class="login-nav">
|
|
- <div class="logo-cont" @click="clickLogo">
|
|
|
|
- <!-- <svg-icon icon-class="logo" style="width: 136px; height: 42px;" /> -->
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="logo-cont" @click="clickLogo" />
|
|
<template v-if="!isMobileTerminal">
|
|
<template v-if="!isMobileTerminal">
|
|
<div class="nav-desc">
|
|
<div class="nav-desc">
|
|
<div v-for="item in bannerList" :key="item.order" :style="item.isActice ? 'color: #FE7D0B': ''" @click="clickNav(item.order)">
|
|
<div v-for="item in bannerList" :key="item.order" :style="item.isActice ? 'color: #FE7D0B': ''" @click="clickNav(item.order)">
|
|
- <span v-if="item.order !== 1">{{ item.name }}</span>
|
|
|
|
- <el-dropdown v-else trigger="click" style="margin-right: 0;" placement="bottom-start" @command="toPage">
|
|
|
|
- <span class="el-dropdown-link">
|
|
|
|
|
|
+ <span v-if="item.order !== 1 && item.order !== 2">{{ item.name }}</span>
|
|
|
|
+ <el-dropdown v-if="item.order === 1" trigger="click" style="margin-right: 0;" placement="bottom-start" @command="toPage">
|
|
|
|
+ <span class="el-dropdown-link" :style="item.isActice ? 'color: #FE7D0B': ''">
|
|
产品服务<i class="el-icon-arrow-down el-icon--right" />
|
|
产品服务<i class="el-icon-arrow-down el-icon--right" />
|
|
</span>
|
|
</span>
|
|
<el-dropdown-menu slot="dropdown" class="product-list">
|
|
<el-dropdown-menu slot="dropdown" class="product-list">
|
|
@@ -25,6 +23,33 @@
|
|
</el-dropdown-item>
|
|
</el-dropdown-item>
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
|
|
+ <el-dropdown v-if="item.order === 2" trigger="click" style="margin-right: 0;" placement="bottom-start" @command="toPage1">
|
|
|
|
+ <span class="el-dropdown-link" :style="item.isActice ? 'color: #FE7D0B': ''">
|
|
|
|
+ 增值服务<i class="el-icon-arrow-down el-icon--right" />
|
|
|
|
+ </span>
|
|
|
|
+ <el-dropdown-menu slot="dropdown" class="product-list">
|
|
|
|
+ <el-dropdown-item command="1">
|
|
|
|
+ <div class="dropdown-item-title">进口商额度评估</div>
|
|
|
|
+ <div class="dropdown-item-desc">为进口商提供核额评估服务</div>
|
|
|
|
+ <i class="el-icon-arrow-right el-icon--right" />
|
|
|
|
+ </el-dropdown-item>
|
|
|
|
+ <el-dropdown-item command="2">
|
|
|
|
+ <div class="dropdown-item-title">应收账款管理(敬请期待)</div>
|
|
|
|
+ <div class="dropdown-item-desc">为出口商或资方提供买方催收服务</div>
|
|
|
|
+ <i class="el-icon-arrow-right el-icon--right" />
|
|
|
|
+ </el-dropdown-item>
|
|
|
|
+ <el-dropdown-item command="3">
|
|
|
|
+ <div class="dropdown-item-title">贸易信用险(敬请期待)</div>
|
|
|
|
+ <div class="dropdown-item-desc">为客户定制灵活多样的贸易信用保险方案</div>
|
|
|
|
+ <i class="el-icon-arrow-right el-icon--right" />
|
|
|
|
+ </el-dropdown-item>
|
|
|
|
+ <el-dropdown-item command="4">
|
|
|
|
+ <div class="dropdown-item-title">国际物流服务(敬请期待)</div>
|
|
|
|
+ <div class="dropdown-item-desc">为出口商精准、高效对接专业的数字化物流服务商</div>
|
|
|
|
+ <i class="el-icon-arrow-right el-icon--right" />
|
|
|
|
+ </el-dropdown-item>
|
|
|
|
+ </el-dropdown-menu>
|
|
|
|
+ </el-dropdown>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -52,8 +77,11 @@
|
|
</div>
|
|
</div>
|
|
<template v-if="isMobileTerminal">
|
|
<template v-if="isMobileTerminal">
|
|
<div v-if="showCloseIcon" class="nav-desc-mobile">
|
|
<div v-if="showCloseIcon" class="nav-desc-mobile">
|
|
- <div v-for="item in bannerMobileList" :key="item.order" :style="item.isActice ? 'color: #FE7D0B': ''" @click="clickNav(item.order)">
|
|
|
|
- {{ item.name }}
|
|
|
|
|
|
+ <div v-for="item in bannerMobileList" :key="item.order" @click="clickNav(item.order)">
|
|
|
|
+ <div :style="item.isActice ? 'color: #FE7D0B': ''">{{ item.name }}</div>
|
|
|
|
+ <template v-if="item.list && item.list.length">
|
|
|
|
+ <div v-for="(i, j) in item.list" :key="i.name" class="son-nav" :style="j === 0 ? 'margin-top: 2vw;' : ''" @click="clickSonNav(i.path)">{{ i.name }}</div>
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -149,7 +177,6 @@ export default {
|
|
RegisterContent: () => import('./components/RegisterContent'),
|
|
RegisterContent: () => import('./components/RegisterContent'),
|
|
RegisterProtocal: () => import('./components/RegisterProtocal'),
|
|
RegisterProtocal: () => import('./components/RegisterProtocal'),
|
|
PrivacyProtocal: () => import('./components/PrivacyProtocal'),
|
|
PrivacyProtocal: () => import('./components/PrivacyProtocal'),
|
|
- // HomeBottom: () => import('./components/HomeBottom'),
|
|
|
|
ChangePassword: () => import('./components/ChangePassword')
|
|
ChangePassword: () => import('./components/ChangePassword')
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
@@ -164,12 +191,6 @@ export default {
|
|
order: 0,
|
|
order: 0,
|
|
path: '/login/tradeSinceLink'
|
|
path: '/login/tradeSinceLink'
|
|
},
|
|
},
|
|
- // {
|
|
|
|
- // name: '资质荣誉',
|
|
|
|
- // isActice: false,
|
|
|
|
- // order: 1,
|
|
|
|
- // path: '/login/qualificationsHonors'
|
|
|
|
- // },
|
|
|
|
{
|
|
{
|
|
name: '产品服务',
|
|
name: '产品服务',
|
|
isActice: false,
|
|
isActice: false,
|
|
@@ -177,65 +198,81 @@ export default {
|
|
path: ''
|
|
path: ''
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '外贸工具',
|
|
|
|
|
|
+ name: '增值服务',
|
|
isActice: false,
|
|
isActice: false,
|
|
order: 2,
|
|
order: 2,
|
|
|
|
+ path: ''
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '外贸工具',
|
|
|
|
+ isActice: false,
|
|
|
|
+ order: 3,
|
|
path: '/login/tradeTool'
|
|
path: '/login/tradeTool'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: '关于我们',
|
|
name: '关于我们',
|
|
isActice: false,
|
|
isActice: false,
|
|
- order: 3,
|
|
|
|
|
|
+ order: 4,
|
|
path: '/login/aboutUs'
|
|
path: '/login/aboutUs'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: '联系我们',
|
|
name: '联系我们',
|
|
isActice: false,
|
|
isActice: false,
|
|
- order: 4,
|
|
|
|
|
|
+ order: 5,
|
|
path: '/login/contactUs'
|
|
path: '/login/contactUs'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
bannerMobileList: [
|
|
bannerMobileList: [
|
|
{
|
|
{
|
|
- name: '跨境通',
|
|
|
|
|
|
+ name: '首页',
|
|
isActice: true,
|
|
isActice: true,
|
|
order: 0,
|
|
order: 0,
|
|
path: '/login/tradeSinceLink'
|
|
path: '/login/tradeSinceLink'
|
|
},
|
|
},
|
|
- // {
|
|
|
|
- // name: '资质荣誉',
|
|
|
|
- // isActice: false,
|
|
|
|
- // order: 1,
|
|
|
|
- // path: '/login/qualificationsHonors'
|
|
|
|
- // },/
|
|
|
|
- // {
|
|
|
|
- // name: '产品服务',
|
|
|
|
- // isActice: false,
|
|
|
|
- // order: 1,
|
|
|
|
- // path: ''
|
|
|
|
- // },
|
|
|
|
{
|
|
{
|
|
- name: '外贸工具',
|
|
|
|
|
|
+ name: '产品服务',
|
|
isActice: false,
|
|
isActice: false,
|
|
order: 1,
|
|
order: 1,
|
|
|
|
+ path: '',
|
|
|
|
+ list: [
|
|
|
|
+ { name: '跨境电商贸易', path: 'https://changyin.tech/', order: 1 },
|
|
|
|
+ { name: '一般出口贸易', path: '/login/exportTrade', order: 2 }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '增值服务',
|
|
|
|
+ isActice: false,
|
|
|
|
+ order: 2,
|
|
|
|
+ path: '',
|
|
|
|
+ list: [
|
|
|
|
+ { name: '进口商额度评估', path: '/login/tradeService', order: 1 },
|
|
|
|
+ { name: '应收账款管理(敬请期待)', path: '', order: 2 },
|
|
|
|
+ { name: '贸易信用险(敬请期待)', path: '', order: 3 },
|
|
|
|
+ { name: '国际物流服务(敬请期待)', path: '', order: 4 }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '外贸工具',
|
|
|
|
+ isActice: false,
|
|
|
|
+ order: 3,
|
|
path: '/login/tradeTool'
|
|
path: '/login/tradeTool'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: '关于我们',
|
|
name: '关于我们',
|
|
isActice: false,
|
|
isActice: false,
|
|
- order: 2,
|
|
|
|
|
|
+ order: 4,
|
|
path: '/login/aboutUs'
|
|
path: '/login/aboutUs'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: '联系我们',
|
|
name: '联系我们',
|
|
isActice: false,
|
|
isActice: false,
|
|
- order: 3,
|
|
|
|
|
|
+ order: 5,
|
|
path: '/login/contactUs'
|
|
path: '/login/contactUs'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: '立即注册',
|
|
name: '立即注册',
|
|
isActice: false,
|
|
isActice: false,
|
|
- order: 4,
|
|
|
|
|
|
+ order: 6,
|
|
path: '/login/register'
|
|
path: '/login/register'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
@@ -245,7 +282,7 @@ export default {
|
|
iconAnimate1: {},
|
|
iconAnimate1: {},
|
|
iconAnimate2: {},
|
|
iconAnimate2: {},
|
|
homepagePath: '/login/tradeSinceLink',
|
|
homepagePath: '/login/tradeSinceLink',
|
|
- notHomepagePath: ['/login/qualificationsHonors', '/login/tradeTool', '/login/aboutUs', '/login/contactUs']
|
|
|
|
|
|
+ notHomepagePath: ['/login/qualificationsHonors', '/login/tradeTool', '/login/aboutUs', '/login/contactUs', '/login/exportTrade', '/login/tradeService']
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -299,9 +336,6 @@ export default {
|
|
window.removeEventListener('resize', this.isMobile)
|
|
window.removeEventListener('resize', this.isMobile)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- test(val) {
|
|
|
|
- console.log(val)
|
|
|
|
- },
|
|
|
|
preventDefault(e) {
|
|
preventDefault(e) {
|
|
e.preventDefault()
|
|
e.preventDefault()
|
|
},
|
|
},
|
|
@@ -340,17 +374,32 @@ export default {
|
|
element.isActice = false
|
|
element.isActice = false
|
|
})
|
|
})
|
|
this.bannerMobileList[idx].isActice = true
|
|
this.bannerMobileList[idx].isActice = true
|
|
- this.$router.push({
|
|
|
|
- path: this.bannerMobileList[idx].path,
|
|
|
|
- query: this.$route.query
|
|
|
|
- })
|
|
|
|
|
|
+ if (this.bannerMobileList[idx].path) {
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: this.bannerMobileList[idx].path,
|
|
|
|
+ query: this.$route.query
|
|
|
|
+ })
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
this.bannerList.forEach(element => {
|
|
this.bannerList.forEach(element => {
|
|
element.isActice = false
|
|
element.isActice = false
|
|
})
|
|
})
|
|
this.bannerList[idx].isActice = true
|
|
this.bannerList[idx].isActice = true
|
|
|
|
+ if (this.bannerList[idx].path) {
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: this.bannerList[idx].path
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ clickSonNav(val) {
|
|
|
|
+ if (val.includes('https')) {
|
|
|
|
+ window.open(val, '_blank')
|
|
|
|
+ } else if (val) {
|
|
|
|
+ console.log(val, 'val')
|
|
this.$router.push({
|
|
this.$router.push({
|
|
- path: this.bannerList[idx].path
|
|
|
|
|
|
+ path: val,
|
|
|
|
+ query: this.$route.query
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -384,6 +433,13 @@ export default {
|
|
toPage(val) {
|
|
toPage(val) {
|
|
if (val === '1') {
|
|
if (val === '1') {
|
|
window.open('https://changyin.tech/', '_blank')
|
|
window.open('https://changyin.tech/', '_blank')
|
|
|
|
+ } else {
|
|
|
|
+ this.$router.push('/login/exportTrade')
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ toPage1(val) {
|
|
|
|
+ if (val === '1') {
|
|
|
|
+ this.$router.push('/login/tradeService')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -690,10 +746,16 @@ export default {
|
|
right: 0;
|
|
right: 0;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
- z-index: 9;
|
|
|
|
|
|
+ z-index: 9999;
|
|
box-shadow: 0 3px 6px #00000029;
|
|
box-shadow: 0 3px 6px #00000029;
|
|
|
|
+ color: #2C4270;
|
|
> div {
|
|
> div {
|
|
padding: 12px;
|
|
padding: 12px;
|
|
|
|
+ border-bottom: 1px solid #C7CCD7;
|
|
|
|
+ .son-nav {
|
|
|
|
+ padding: 1.5vw 0 2vw 9vw;
|
|
|
|
+ font-size: 3.5vw;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// @keyframes rotateIcon1 {
|
|
// @keyframes rotateIcon1 {
|