clay commit : header icon
This commit is contained in:
@@ -3,8 +3,8 @@ ENV = 'development'
|
|||||||
|
|
||||||
# EBTS/开发环境
|
# EBTS/开发环境
|
||||||
#VUE_APP_BASE_API = '/dev-api'
|
#VUE_APP_BASE_API = '/dev-api'
|
||||||
VUE_APP_BASE_API = 'http://localhost:8085/dev-api'
|
#VUE_APP_BASE_API = 'http://localhost:8085/dev-api'
|
||||||
#VUE_APP_BASE_API = 'http://sist.swjtu.edu.cn/dev-api'
|
VUE_APP_BASE_API = 'http://sist.swjtu.edu.cn/dev-api'
|
||||||
SITE_TYPE = 'NEd5n92EMIpyyBslaNqsRgE'
|
SITE_TYPE = 'NEd5n92EMIpyyBslaNqsRgE'
|
||||||
#VUE_APP_BASE_API = 'http://sistapi.hchyun.cn/dev-api'
|
#VUE_APP_BASE_API = 'http://sistapi.hchyun.cn/dev-api'
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,8 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<div class="fLeft" style="margin-top: 1rem">
|
<div class="fLeft" style="margin-top: 1rem">
|
||||||
<p style="font-family:Verdana, Geneva, sans-serif;font-weight:500;font-size:2rem; padding-bottom:6px; ">{{ $t('message.contact_us') }}
|
<p style="font-family:Verdana, Geneva, sans-serif;font-weight:500;font-size:2rem; padding-bottom:6px; ">
|
||||||
|
{{ $t('message.contact_us') }}
|
||||||
<!--CONTACT US-->
|
<!--CONTACT US-->
|
||||||
</p>
|
</p>
|
||||||
<p style="margin-top: 6px;">
|
<p style="margin-top: 6px;">
|
||||||
@@ -31,8 +32,9 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<table class="fRight" cellpadding="0" cellspacing="0" border="0">
|
<table class="fRight" cellpadding="0" cellspacing="0" border="0">
|
||||||
<tbody><tr>
|
<tbody>
|
||||||
<td><img style="width: 6.7rem;" src="http://sist.swjtu.edu.cn:80/zh/images/logo3.jpg"></td>
|
<tr>
|
||||||
|
<td><img style="width: 6.7rem;" src="http://sist.swjtu.edu.cn:80/zh/images/logo3.jpg"></td>
|
||||||
<td><p><a href="http://www.swjtu.edu.cn/" target="_blank">
|
<td><p><a href="http://www.swjtu.edu.cn/" target="_blank">
|
||||||
{{ $t('message.chinese_site') }}
|
{{ $t('message.chinese_site') }}
|
||||||
<!--西南交通大学(中文)-->
|
<!--西南交通大学(中文)-->
|
||||||
@@ -63,7 +65,8 @@
|
|||||||
</a></p>
|
</a></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody>
|
||||||
|
</table>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -84,21 +87,25 @@ export default {
|
|||||||
background-color: rgb(107, 109, 108);
|
background-color: rgb(107, 109, 108);
|
||||||
color: #b2b2b2 !important;
|
color: #b2b2b2 !important;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
a{
|
|
||||||
|
a {
|
||||||
color: #b2b2b2 !important;
|
color: #b2b2b2 !important;
|
||||||
text-decoration:none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fLeft{
|
.fLeft {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-top: .5rem;
|
margin-top: .5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.fRight{
|
|
||||||
|
.fRight {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
text-decoration: red;
|
text-decoration: red;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
margin-top: .5rem;
|
margin-top: .5rem;
|
||||||
|
|||||||
@@ -35,20 +35,33 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<span v-for="(item,itemIndex) in menu.children" :key="itemIndex">
|
<span v-for="(item,itemIndex) in menu.children" :key="itemIndex">
|
||||||
<el-submenu :index="menuIndex +'-'+itemIndex" v-if="item.children.length > 0 && item.displayType != 4" >
|
<el-submenu :index="menuIndex +'-'+itemIndex" v-if="item.children.length > 0 && item.displayType != 4">
|
||||||
<template slot="title" v-if="item.children.length > 0 &&$i18n.locale === 'cn' ">{{ item.title }}</template>
|
<template slot="title" v-if="item.children.length > 0 &&$i18n.locale === 'cn' ">{{
|
||||||
<template slot="title" v-if="item.children.length > 0 && $i18n.locale === 'en'">{{ item.englishTitle }}</template>
|
item.title
|
||||||
|
}}</template>
|
||||||
|
<template slot="title" v-if="item.children.length > 0 && $i18n.locale === 'en'">{{
|
||||||
|
item.englishTitle
|
||||||
|
}}</template>
|
||||||
<el-menu-item v-for="(chile ,chileIndex) in item.children" :key="chileIndex"
|
<el-menu-item v-for="(chile ,chileIndex) in item.children" :key="chileIndex"
|
||||||
v-if="chile.displayType != 4"
|
v-if="chile.displayType != 4"
|
||||||
:index="menuIndex + '-' +itemIndex + '-' +chileIndex" @click="clickMenu(chile,item)">
|
:index="menuIndex + '-' +itemIndex + '-' +chileIndex" @click="clickMenu(chile,item)">
|
||||||
<span v-if="$i18n.locale === 'cn'&&(chile.displayType == 1 || chile.displayType == 3)">{{ chile.title }}</span>
|
<span v-if="$i18n.locale === 'cn'&&(chile.displayType == 1 || chile.displayType == 3)">{{
|
||||||
<span v-if="$i18n.locale === 'en'&&(chile.displayType == 1 || chile.displayType == 2)">{{ chile.englishTitle }}</span>
|
chile.title
|
||||||
|
}}</span>
|
||||||
|
<span v-if="$i18n.locale === 'en'&&(chile.displayType == 1 || chile.displayType == 2)">{{
|
||||||
|
chile.englishTitle
|
||||||
|
}}</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</el-submenu>
|
</el-submenu>
|
||||||
<el-menu-item v-if="!item.children.length>0 && (item.displayType != 4)" :key="itemIndex" :index="menuIndex +'-'+itemIndex"
|
<el-menu-item v-if="!item.children.length>0 && (item.displayType != 4)" :key="itemIndex"
|
||||||
|
:index="menuIndex +'-'+itemIndex"
|
||||||
@click="clickSecondMenu(item)">
|
@click="clickSecondMenu(item)">
|
||||||
<span v-if="$i18n.locale === 'cn'&&(item.displayType == 1 || item.displayType == 3)">{{ item.title }}</span>
|
<span v-if="$i18n.locale === 'cn'&&(item.displayType == 1 || item.displayType == 3)">{{
|
||||||
<span v-if="$i18n.locale === 'en'&&(item.displayType == 1 || item.displayType == 2)">{{ item.englishTitle }}</span>
|
item.title
|
||||||
|
}}</span>
|
||||||
|
<span v-if="$i18n.locale === 'en'&&(item.displayType == 1 || item.displayType == 2)">{{
|
||||||
|
item.englishTitle
|
||||||
|
}}</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</span>
|
</span>
|
||||||
</el-submenu>
|
</el-submenu>
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ export default {
|
|||||||
pageSize: 5
|
pageSize: 5
|
||||||
}
|
}
|
||||||
this.listDataType = 0
|
this.listDataType = 0
|
||||||
if (this.type === 4||menu.isSimple == 1) {
|
if (this.type === 4 || menu.isSimple == 1) {
|
||||||
data.pageSize = 20
|
data.pageSize = 20
|
||||||
this.listDataType = 1
|
this.listDataType = 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user