yujialong 1 year ago
parent b1537376f0
commit 0e16816fab
  1. BIN
      src/assets/images/cn-white.png
  2. BIN
      src/assets/images/cn.png
  3. BIN
      src/assets/images/email.png
  4. BIN
      src/assets/images/en-white.png
  5. BIN
      src/assets/images/en.png
  6. BIN
      src/assets/images/oa-white.png
  7. BIN
      src/assets/images/oa.png
  8. BIN
      src/assets/images/search-white.png
  9. BIN
      src/assets/images/search.png
  10. 5
      src/components/menuTree/index.vue
  11. 11
      src/layouts/footer/index.vue
  12. 7
      src/layouts/header/index.vue
  13. 6
      src/layouts/navbar/index.vue
  14. 2
      src/pages/column/index.vue
  15. 104
      src/pages/iasf/index.vue
  16. 82
      src/styles/common.scss

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 877 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1002 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 892 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 B

After

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 B

After

Width:  |  Height:  |  Size: 867 B

@ -1,7 +1,7 @@
<template> <template>
<div class="menu-child"> <div class="menu-child">
<template v-for="item in this.menuList"> <template v-for="item in this.menuList">
<el-submenu :popper-class="isHome ? 'home-menu-popup' : ''" <el-submenu :popper-class="site == 2 && $store.getters.getModelType ? 'iasf-menu-popup' : isHome ? 'home-menu-popup' : ''"
:class="{active: $route.query.id == item.id}" :class="{active: $route.query.id == item.id}"
:key="item.id" :key="item.id"
:index="String(item.id)" :index="String(item.id)"
@ -42,6 +42,9 @@ export default {
isHome () { isHome () {
return Util.isIndex() return Util.isIndex()
}, },
site () {
return this.$route.query.siteId || this.$store.state.content.site
},
}, },
data () { data () {
return {} return {}

@ -157,6 +157,8 @@ export default {
typeId: '', typeId: '',
isSort: 1 isSort: 1
}).then(({ data }) => { }).then(({ data }) => {
console.log("🚀 ~ file: index.vue:177 ~ this.$post ~ json:", window.innerWidth)
this.columns = data.slice(0, 5) this.columns = data.slice(0, 5)
}).catch(err => { }) }).catch(err => { })
}, },
@ -171,7 +173,6 @@ export default {
data[data.length - 1][data[data.length - 1].state ? 'theEditedJson' : 'jsonBeforeEditing']) data[data.length - 1][data[data.length - 1].state ? 'theEditedJson' : 'jsonBeforeEditing'])
this.modules = json this.modules = json
console.log("🚀 ~ file: index.vue:177 ~ this.$post ~ json:", json)
} }
}).catch(err => { }) }).catch(err => { })
}, },
@ -375,12 +376,12 @@ export default {
} }
} }
} }
@media (max-width: 1200px) { @media (max-width: 1500px) {
body { .footer {
width: 100% !important; padding: 64px 10% 25px;
} }
} }
@media (max-width: 750px) { @media (max-width: 1350px) {
.inner { .inner {
width: 100% !important; width: 100% !important;
.title { .title {

@ -1,5 +1,5 @@
<template> <template>
<div :class="['header', { channel: isHome, estate: isEstate }]"> <div :class="['header', { channel: isHome, estate: isEstate, iasf: isIasf }]">
<a class="logo" <a class="logo"
@click="toIndex"> @click="toIndex">
<template v-if="!$store.getters.getModelType"> <template v-if="!$store.getters.getModelType">
@ -19,6 +19,7 @@
ref="nav" ref="nav"
:isHome.sync="isHome" :isHome.sync="isHome"
:isEstate.sync="isEstate" :isEstate.sync="isEstate"
:isIasf.sync="isIasf"
@showMoreBtns="updateBtnsType"></navbar> @showMoreBtns="updateBtnsType"></navbar>
<div class="tools"> <div class="tools">
<img class="search" <img class="search"
@ -121,6 +122,7 @@ export default {
Util, Util,
isHome: true, isHome: true,
isEstate: false, isEstate: false,
isIasf: false,
showSearch: false, showSearch: false,
height: 907, height: 907,
title: '', title: '',
@ -138,13 +140,14 @@ export default {
}, },
site () { site () {
return this.$route.query.siteId || this.$store.state.content.site return this.$route.query.siteId || this.$store.state.content.site
} },
}, },
watch: { watch: {
'$route.path': { '$route.path': {
handler () { handler () {
this.isHome = Util.isIndex() this.isHome = Util.isIndex()
this.isEstate = this.$route.path === '/estate/index' this.isEstate = this.$route.path === '/estate/index'
this.isIasf = this.$route.path === '/iasf'
}, },
deep: true, deep: true,
immediate: true immediate: true

@ -11,7 +11,7 @@
@select="jump" @select="jump"
:default-active="String(active)"> :default-active="String(active)">
<menuTree :menuList="menus" /> <menuTree :menuList="menus" />
<el-submenu :popper-class="isHome ? 'home-menu-popup' : ''" <el-submenu :popper-class="site == 2 && $store.getters.getModelType ? 'iasf-menu-popup' : isHome ? 'home-menu-popup' : ''"
v-show="showMoreBtns" v-show="showMoreBtns"
index="522222"> index="522222">
<template slot="title"> <template slot="title">
@ -29,7 +29,7 @@ import menuTree from '@/components/menuTree'
import mixins from '@/mixins/article' import mixins from '@/mixins/article'
import { mapState, mapMutations, mapGetters } from 'vuex' import { mapState, mapMutations, mapGetters } from 'vuex'
export default { export default {
props: ['isHome', 'isEstate', 'updateModelType'], props: ['isHome', 'isEstate', 'isIasf', 'updateModelType'],
mixins: [mixins], mixins: [mixins],
data () { data () {
return { return {
@ -55,7 +55,7 @@ export default {
...mapGetters(["getNavSum"]), ...mapGetters(["getNavSum"]),
mapboxMap1 () { mapboxMap1 () {
return this.navSum; return this.navSum;
} },
}, },
watch: { watch: {
'$route' () { '$route' () {

@ -717,7 +717,7 @@ export default {
siteId: this.site, siteId: this.site,
columnIds, columnIds,
pageNum: this.page, pageNum: this.page,
pageSize: this.info.pageSize, pageSize: this.info.pageSize || 10,
labelName, labelName,
...this.form ...this.form
}) })

@ -80,6 +80,7 @@
height="100%" height="100%"
:src="articles[0].titleImg" :src="articles[0].titleImg"
alt=""> alt="">
<div class="pic-cover"></div>
</div> </div>
<div class="right"> <div class="right">
<h6>{{ articles[0].title }}</h6> <h6>{{ articles[0].title }}</h6>
@ -100,6 +101,7 @@
<img class="pic" <img class="pic"
:src="item.titleImg" :src="item.titleImg"
alt=""> alt="">
<div class="pic-cover"></div>
</div> </div>
<div class="texts"> <div class="texts">
<h6>{{ item.title }}</h6> <h6>{{ item.title }}</h6>
@ -175,7 +177,8 @@
<div class="des" <div class="des"
@click="toArtice(curArticle3, modules[8].form)">{{ curArticle3.title }}</div> @click="toArtice(curArticle3, modules[8].form)">{{ curArticle3.title }}</div>
</div> </div>
<p class="date">{{ curArticle3.releaseTime }}</p> <p v-if="curArticle3.activityStartTime"
class="date">{{ curArticle3.activityStartTime.split(' ')[0] }}</p>
</div> </div>
<div class="action"> <div class="action">
<i class="el-icon-arrow-left dir" <i class="el-icon-arrow-left dir"
@ -429,11 +432,11 @@ export default {
} }
h6 { h6 {
margin-bottom: 30px; margin-bottom: 30px;
font-size: 3rem; font-size: 68px;
font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi; font-family: AlimamaShuHeiTi-Bold, AlimamaShuHeiTi;
} }
.text { .text {
font-size: 1.1rem; font-size: 24px;
font-family: AppleSystemUIFont; font-family: AppleSystemUIFont;
} }
} }
@ -459,10 +462,11 @@ export default {
.card { .card {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 80px;
li { li {
position: relative; position: relative;
width: 47%; width: calc((100% - 64px) / 2);
height: 366px; height: 488px;
transition: 0.3s; transition: 0.3s;
overflow: hidden; overflow: hidden;
&:hover { &:hover {
@ -487,7 +491,7 @@ export default {
align-items: center; align-items: center;
width: 100%; width: 100%;
height: 100%; height: 100%;
font-size: 2.4rem; font-size: 45px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
color: #fff; color: #fff;
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.3);
@ -503,25 +507,26 @@ export default {
align-items: center; align-items: center;
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 0 1rem; padding: 0 128px;
text-align: center;
color: #fff; color: #fff;
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.3);
transition: 0.3s; transition: 0.3s;
} }
.name { .name {
font-size: 2rem; font-size: 45px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
} }
h6 { h6 {
margin: 1rem 0; margin: 10px 0 20px;
line-height: 2rem; line-height: 63px;
font-size: 1.6rem; font-size: 45px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
@include mul-ellipsis(2); @include mul-ellipsis(2);
} }
.des { .des {
font-size: 1.2rem; font-size: 28px;
line-height: 30px; line-height: 44px;
} }
} }
.news-wrap { .news-wrap {
@ -534,11 +539,29 @@ export default {
display: flex; display: flex;
margin-top: 20px; margin-top: 20px;
cursor: pointer; cursor: pointer;
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.06);
&:hover {
.right {
background-color: #091733;
}
.pic-cover {
display: block;
}
}
.pic-wrap { .pic-wrap {
position: relative;
width: 50%; width: 50%;
height: 24.5rem;
overflow: hidden; overflow: hidden;
} }
.pic-cover {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(111, 182, 255, 0.2);
}
.pic { .pic {
transition: 0.5s; transition: 0.5s;
} }
@ -548,6 +571,7 @@ export default {
padding: 42px 71px 90px 58px; padding: 42px 71px 90px 58px;
background: #026be1; background: #026be1;
color: #fff; color: #fff;
transition: 0.3s;
h6 { h6 {
font-size: 24px; font-size: 24px;
font-family: PingFangSC-Semibold, PingFang SC; font-family: PingFangSC-Semibold, PingFang SC;
@ -576,8 +600,22 @@ export default {
&:nth-child(3n) { &:nth-child(3n) {
margin-right: 0; margin-right: 0;
} }
&:hover {
.pic-cover {
display: block;
}
.texts {
background-color: #091733;
}
.meta,
h6,
.des {
color: #fff;
}
}
} }
.pic-wrap { .pic-wrap {
position: relative;
width: 100%; width: 100%;
height: 220px; height: 220px;
overflow: hidden; overflow: hidden;
@ -587,10 +625,20 @@ export default {
height: 100%; height: 100%;
transition: 0.5s; transition: 0.5s;
} }
.pic-cover {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(111, 182, 255, 0.2);
}
.texts { .texts {
padding: 24px 28px; padding: 24px 28px;
background-color: #fff; background-color: #fff;
box-shadow: 2px 2px 2px rgba(241, 241, 241, 0.8); box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.06);
transition: 0.3s;
} }
.meta { .meta {
font-size: 16px; font-size: 16px;
@ -619,6 +667,7 @@ export default {
height: 284px; height: 284px;
margin-right: 20px; margin-right: 20px;
overflow: hidden; overflow: hidden;
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.06);
&:nth-child(3n) { &:nth-child(3n) {
margin-right: 0; margin-right: 0;
} }
@ -701,11 +750,15 @@ export default {
display: flex; display: flex;
li { li {
width: 33.33%; width: 33.33%;
padding: 30px; padding: 20px 73px 40px;
text-align: center; text-align: center;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
cursor: pointer; cursor: pointer;
&:first-child {
padding-left: 0;
}
&:last-child { &:last-child {
padding-right: 0;
border-right: 0; border-right: 0;
} }
} }
@ -782,7 +835,7 @@ export default {
.inner { .inner {
position: relative; position: relative;
height: 465px; height: 465px;
padding: 73px 50px 58px; padding: 73px 0 58px;
} }
.left { .left {
width: 44%; width: 44%;
@ -820,10 +873,9 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
// width: 160px; padding: 0 22px;
padding: 0 1.2rem;
margin-bottom: 1px; margin-bottom: 1px;
font-size: 1rem; font-size: 20px;
color: #0084ff; color: #0084ff;
line-height: 56px; line-height: 56px;
background-color: rgba(19, 18, 19, 0.94); background-color: rgba(19, 18, 19, 0.94);
@ -833,7 +885,7 @@ export default {
content: ''; content: '';
width: 28px; width: 28px;
height: 28px; height: 28px;
margin-right: 5px; margin-right: 7px;
background: url(http://10.10.11.7/images/iasf/icon1.png) no-repeat; background: url(http://10.10.11.7/images/iasf/icon1.png) no-repeat;
} }
&:nth-child(2):before { &:nth-child(2):before {
@ -873,6 +925,11 @@ export default {
.inner { .inner {
width: 95%; width: 95%;
} }
.card {
li {
height: auto;
}
}
.about { .about {
.pic { .pic {
width: 700px; width: 700px;
@ -881,6 +938,11 @@ export default {
} }
} }
@media (max-width: 1370px) { @media (max-width: 1370px) {
.card {
.texts {
padding: 0 1rem;
}
}
.about { .about {
.inner { .inner {
height: auto; height: auto;

@ -130,6 +130,88 @@
background-color: #fff !important; background-color: #fff !important;
} }
} }
.iasf-menu-popup {
& > .el-menu {
&:before {
content: '';
position: absolute;
top: -16px;
left: 50px;
width: 0;
height: 0;
border: 8px solid transparent;
border-left-width: 6px;
border-right-width: 6px;
border-bottom-color: rgba(74, 79, 81, 0.71);
}
.el-menu:before {
display: none;
}
}
.el-menu {
padding: 0;
text-align: left;
background-color: rgba(74, 79, 81, 0.71) !important;
box-shadow: 0px 4px 8px 0px rgba(2, 39, 74, 0.27);
border-radius: 4px;
.el-menu-item {
padding: 0 16px;
&:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
&:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
&:hover,
&.is-active {
background-color: #fff !important;
span {
color: #057ff0;
}
}
}
.el-submenu__title,
.el-menu-item,
.menu-child {
width: 160px !important;
min-width: 0;
}
.menu-child {
border-radius: 4px;
overflow: hidden;
}
.el-submenu {
// background-color: rgba(74, 79, 81, 0.71) !important;
// box-shadow: 0px 4px 8px 0px rgba(2, 39, 74, 0.27);
&:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
&:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.el-submenu__title {
padding: 0 0 0 16px;
background-color: transparent !important;
&:hover,
&.is-active {
background-color: #fff !important;
span {
color: #057ff0;
}
}
}
}
}
span {
font-size: 14px;
color: #fff;
}
}
.party { .party {
.l-title:after { .l-title:after {

Loading…
Cancel
Save