11
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<title>西南交通大学 信息科学与技术学院</title>
|
||||
<script>
|
||||
fnResize();
|
||||
window.onresize = function() {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 3.3 MiB |
@@ -6,13 +6,12 @@
|
||||
<!--<div style="width: 95%;">-->
|
||||
<div>
|
||||
<!--<input class="query_input" v-model="query"/>-->
|
||||
<el-input class="query_input" v-model="query" size="small" placeholder="请输入内容"></el-input>
|
||||
<el-input class="query_input" v-model="query" size="small" :placeholder="$t('message.placeholder')"></el-input>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :xs="10" :sm="10" :md="10" :lg="4" :xl="4" style="float: right">
|
||||
<el-button class="query_button" type="primary" size="small" icon="el-icon-search"
|
||||
@click="handleCurrentChange(-1)">搜索
|
||||
</el-button>
|
||||
<el-button class="query_button" type="primary" size="small" icon="el-icon-search" @click="handleCurrentChange(-1)">
|
||||
{{ $t('message.search') }}</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -101,7 +100,7 @@ export default {
|
||||
title: this.query,
|
||||
id: this.value.navId,
|
||||
pageNum: this.value.pageNum,
|
||||
pageSize: 4
|
||||
pageSize: 5
|
||||
}
|
||||
this.type = this.$route.query && this.$route.query.type
|
||||
if (this.type != null && this.type != 0) {
|
||||
|
||||
@@ -17,9 +17,8 @@
|
||||
</el-row>
|
||||
</div>
|
||||
<div>
|
||||
<el-row>
|
||||
<!--正文内容-->
|
||||
<el-col class="context">
|
||||
<div class="context">
|
||||
<div v-for="(item,index) in value.data" class="tw">
|
||||
<el-row>
|
||||
<el-col :xs="6" :sm="6" :md="5" :lg="4" :xl="4">
|
||||
@@ -48,8 +47,7 @@
|
||||
</el-row>
|
||||
<hr v-if="index != value.data.length-1" style="border: 0.1rem solid #E6E6E6;" class="hr">
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
<el-row>
|
||||
<el-col class="pagination_p">
|
||||
@@ -98,14 +96,14 @@ export default {
|
||||
let type = this.$route.query && this.$route.query.type
|
||||
let router = ''
|
||||
if (type!=null){
|
||||
router = "?id="+context.id+'&type='+type
|
||||
router = "?id="+context.id+'&type='+type+"&lang="+sessionStorage.getItem("lang")
|
||||
}else {
|
||||
router="/" +this.value.navId+"?id="+context.id
|
||||
router="/" +this.value.navId+"?id="+context.id+"&lang="+sessionStorage.getItem("lang")
|
||||
}
|
||||
if (this.width <=992){
|
||||
this.$router.push("/mobile/" + this.value.secondId +router+"?lang="+sessionStorage.getItem("lang"));
|
||||
this.$router.push("/mobile/" + this.value.secondId +router);
|
||||
}else {
|
||||
this.$router.push("/pc/" + this.value.secondId +router+"?lang="+sessionStorage.getItem("lang"));
|
||||
this.$router.push("/pc/" + this.value.secondId +router);
|
||||
}
|
||||
},
|
||||
handleSizeChange(val) {
|
||||
@@ -121,7 +119,7 @@ export default {
|
||||
title:this.query,
|
||||
id: this.value.navId,
|
||||
pageNum: this.value.pageNum,
|
||||
pageSize: 4
|
||||
pageSize: 5
|
||||
}
|
||||
this.type = this.$route.query && this.$route.query.type
|
||||
if (this.type != null&&this.type!=0){
|
||||
@@ -171,6 +169,7 @@ export default {
|
||||
.context {
|
||||
margin: 3rem 2rem;
|
||||
padding-bottom: 3rem;
|
||||
padding-top: 2rem;
|
||||
//width: 84.3rem;
|
||||
background: #FFFFFF;
|
||||
|
||||
@@ -278,7 +277,11 @@ export default {
|
||||
}
|
||||
@media screen and (max-width: 1100px){
|
||||
.query {
|
||||
margin-top: 3rem;
|
||||
width: 80% !important;
|
||||
}
|
||||
.context{
|
||||
margin-top: 6rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -16,10 +16,11 @@
|
||||
|
||||
<div style="background-color:#F8F8F8 ; padding-bottom: 19rem">
|
||||
<el-row v-show="showSecond">
|
||||
<el-col :xs="2" :sm="2" :md="1.5" :lg="2" :xl="4">
|
||||
|
||||
<el-col v-if="$i18n.locale === 'cn'" :xs="2" :sm="2" :md="1.5" :lg="2" :xl="4">
|
||||
<div class="grid-content"></div>
|
||||
</el-col>
|
||||
<el-col v-show="width" :md="6" :lg="6" :xl="4">
|
||||
<el-col v-if="$i18n.locale === 'cn'" v-show="width" :md="6" :lg="6" :xl="4">
|
||||
<div class="left_lab" ref="lab">
|
||||
<div class="lab">
|
||||
<div v-for="(nav,index) in navList" class="lab_div">
|
||||
@@ -28,8 +29,7 @@
|
||||
<img src="@/assets/school_profile/eji_icon_xz.png" alt="">
|
||||
</div>
|
||||
<div class="lab_title">
|
||||
<span v-if="$i18n.locale === 'cn'">{{ nav.title }}</span>
|
||||
<span v-if="$i18n.locale === 'en'">{{ nav.englishTitle }}</span>
|
||||
{{ nav.title }}
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="index !== showIndex" class="lab_list" @click="navClick(nav,index)">
|
||||
@@ -37,15 +37,46 @@
|
||||
<img src="@/assets/school_profile/eji_icon_xz.png" alt="">
|
||||
</div>
|
||||
<div class="lab_title">
|
||||
<span v-if="$i18n.locale === 'cn'">{{ nav.title }}</span>
|
||||
<span v-if="$i18n.locale === 'en'">{{ nav.englishTitle }}</span>
|
||||
{{ nav.title }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :xs="20" :sm="20" :md="15" :lg="14" :xl="12">
|
||||
|
||||
|
||||
<el-col v-if="$i18n.locale === 'en'" :xs="2" :sm="2" :md="2" :lg="2" :xl="3">
|
||||
<div class="grid-content"></div>
|
||||
</el-col>
|
||||
|
||||
<el-col v-if="$i18n.locale === 'en'" v-show="width" :md="6" :lg="6" :xl="5">
|
||||
<div class="left_lab english" ref="lab">
|
||||
<div class="lab">
|
||||
<div v-for="(nav,index) in navList" class="lab_div">
|
||||
<div v-if="index === showIndex" class="lab_list lab_select" @click="navClick(nav,index)">
|
||||
<div class="lab_img">
|
||||
<img src="@/assets/school_profile/eji_icon_xz.png" alt="">
|
||||
</div>
|
||||
<div class="lab_title">
|
||||
{{ nav.englishTitle }}
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="index !== showIndex" class="lab_list" @click="navClick(nav,index)">
|
||||
<div class="lab_img">
|
||||
<img src="@/assets/school_profile/eji_icon_xz.png" alt="">
|
||||
</div>
|
||||
<div class="lab_title">
|
||||
{{ nav.englishTitle }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
|
||||
<el-col v-if="$i18n.locale === 'cn'" :xs="20" :sm="20" :md="15" :lg="14" :xl="12">
|
||||
<el-row>
|
||||
<el-col>
|
||||
<div class="tab">
|
||||
@@ -74,9 +105,44 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
<el-col :xs="2" :sm="2" :md="1.5" :lg="2" :xl="4">
|
||||
<div class="grid-content"></div>
|
||||
<el-col v-if="$i18n.locale === 'en'" :xs="20" :sm="20" :md="15" :lg="14" :xl="13">
|
||||
<el-row>
|
||||
<el-col>
|
||||
<div class="tab">
|
||||
<router-link to="/home">{{ $t('message.home') }}</router-link>
|
||||
<span> > </span>
|
||||
<router-link to="">
|
||||
<span v-if="$i18n.locale === 'cn'">{{ crumbs.one.title }}</span>
|
||||
<span v-if="$i18n.locale === 'en'">{{ crumbs.one.englishTitle }}</span>
|
||||
</router-link>
|
||||
<span> > </span>
|
||||
<span style="color: #1956BC;font-size: 1.4rem">
|
||||
<span v-if="$i18n.locale === 'cn'">{{ crumbs.two.title }}</span>
|
||||
<span v-if="$i18n.locale === 'en'">{{ crumbs.two.englishTitle }}</span>
|
||||
<!--{{ crumbs.two.title }}-->
|
||||
</span>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col>
|
||||
<Introduction :value="contextData" v-if="type == 1"/>
|
||||
<List :value="contextData" v-if="type == 2"/>
|
||||
<FileList :value="contextData" v-if="type == 4"/>
|
||||
<DireData :value="contextData" v-if="type == 3"/>
|
||||
<Details :value="detailsData" v-if="type == null"/>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--<el-col :xs="2" :sm="2" :md="1.5" :lg="2" :xl="4">-->
|
||||
<!-- <div class="grid-content"></div>-->
|
||||
<!--</el-col>-->
|
||||
</el-row>
|
||||
<el-row v-show="!showSecond">
|
||||
<el-col :xs="2" :sm="2" :md="2" :lg="4" :xl="5">
|
||||
@@ -284,7 +350,7 @@ export default {
|
||||
data = {
|
||||
id: menu.encodeId,
|
||||
pageNum: 1,
|
||||
pageSize: 4
|
||||
pageSize: 5
|
||||
}
|
||||
} else {
|
||||
data = {
|
||||
@@ -324,6 +390,16 @@ export default {
|
||||
.content {
|
||||
background-color: #F8F8F8 !important;
|
||||
}
|
||||
.english{
|
||||
margin: 0 !important;
|
||||
width: 80% !important;
|
||||
.lab{
|
||||
width: 100% !important;
|
||||
}
|
||||
.lab_list{
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.context {
|
||||
background-color: #ffffff;
|
||||
@@ -348,7 +424,7 @@ export default {
|
||||
position: absolute;
|
||||
left: 4.8rem;
|
||||
top: 5rem;
|
||||
width: 19rem;
|
||||
width: 20rem;
|
||||
margin-bottom: 3rem;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rem 0.2rem 0.4rem 0rem rgba(6, 42, 102, 0.67);
|
||||
@@ -371,7 +447,7 @@ export default {
|
||||
.lab_list {
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
width: 18rem;
|
||||
width: 19rem;
|
||||
height: 8rem;
|
||||
clear: left;
|
||||
line-height: 8rem;
|
||||
@@ -382,7 +458,7 @@ export default {
|
||||
width: 1.4rem;
|
||||
height: 1.4rem;
|
||||
display: none;
|
||||
margin-left: 4rem;
|
||||
margin-left: 3rem;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
@@ -392,7 +468,7 @@ export default {
|
||||
.lab_title {
|
||||
color: #1956BC;
|
||||
float: left;
|
||||
margin-left: 6rem;
|
||||
margin-left: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
</router-link>
|
||||
|
||||
<span v-for="(menu,index) in menuData" :key="index">
|
||||
<span v-for="(menu,index) in menuData" :key="index" v-if="menu.displayType == 1 ||($i18n.locale === 'cn'&& menu.displayType == 3)||($i18n.locale === 'cn'&& menu.displayType == 2)">
|
||||
<a>
|
||||
<div class="link_text">
|
||||
<div class="link_text_title">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<ResearchTrends/>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-row v-if="$i18n.locale === 'cn'">
|
||||
<el-col>
|
||||
<PartyBuildingActivities/>
|
||||
</el-col>
|
||||
|
||||
@@ -170,7 +170,7 @@ export default {
|
||||
data = {
|
||||
id: menu.encodeId,
|
||||
pageNum: 1,
|
||||
pageSize: 4
|
||||
pageSize: 5
|
||||
}
|
||||
} else {
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user