yujialong 11 months ago
parent 0f24516e71
commit e8382c1d05
  1. 51
      src/components/breadcrumb/index.vue
  2. 65
      src/layouts/footer/index.vue
  3. 3
      src/pages/about/index.vue
  4. 1
      src/pages/article/activity.vue
  5. 3
      src/pages/article/index.vue
  6. 1
      src/pages/careers/index.vue
  7. 18
      src/pages/column/index.vue
  8. 32
      src/pages/deviceIntroBeam/index.vue
  9. 30
      src/pages/deviceIntroLayout/index.vue
  10. 95
      src/pages/iasf/index.vue
  11. 4
      src/pages/org/index.vue
  12. 4
      src/pages/overview/index.vue
  13. 8
      src/pages/overviewIntro/index.vue
  14. 4
      src/pages/overviewSetup/index.vue
  15. 1
      src/pages/research/index.vue
  16. 1
      src/pages/scientific/index.vue
  17. 3
      src/styles/page/page.scss

@ -1,9 +1,19 @@
<template> <template>
<!-- 面包屑 --> <!-- 面包屑 -->
<div class="breadcrumb"> <div class="breadcrumb">
<span class="back" <el-breadcrumb separator=">">
@click="$router.back()">{{ $t('column.back') }}&emsp;></span> <template v-for="(item, i) in data">
<span v-if="data[1]">{{ data[1].name }}</span> <el-breadcrumb-item v-if="i != data.length - 1"
:key="i"
:to="{ path: item.path || '/column', query: item.query }">
{{ item.name | i18nName($i18n)}}
</el-breadcrumb-item>
<el-breadcrumb-item v-else
:key="i">
{{ item.name }}
</el-breadcrumb-item>
</template>
</el-breadcrumb>
</div> </div>
</template> </template>
@ -18,18 +28,39 @@ export default {
methods: { methods: {
}, },
filters: {
i18nName (name, type) {
switch (name) {
case '专利':
return type.t('column.patent')
case '专著':
return type.t('column.monograph')
case '论文':
return type.t('column.paper')
case '科学研究':
return type.t('column.scientificResearch')
default:
return name
}
}
}
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.breadcrumb { .breadcrumb {
margin: 4px 0 16px; margin: 4px 0 16px;
span { /deep/.el-breadcrumb__item {
color: #0b1d30; .is-link,
} .el-breadcrumb__separator {
.back { font-weight: 400;
margin-right: 12px; color: $main-color;
color: $main-color; }
cursor: pointer; &:last-child {
.is-link {
color: #0b1d30;
}
}
} }
} }
</style> </style>

@ -1,48 +1,7 @@
<template> <template>
<div> <div>
<div v-if="showDefaultPath.includes($route.path)" <div v-if="showDefaultPath.includes($route.path)"
:class="['footer', {iasf: isIasf}]"> class="footer">
<template v-if="isIasf">
<div class="mask"></div>
<ul v-if="isIasf"
class="entry">
<li :class="{'cursor-pointer': isLink(modules[13].form.link.linkName)}"
@click="openLink(modules[14].form)">
<img class="icon"
:src="modules[14].form.pic"
alt="">
<p class="text">{{ modules[14].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[14].form.link.linkName)}"
@click="openLink(modules[15].form)">
<img class="icon"
:src="modules[15].form.pic"
alt="">
<p class="text">{{ modules[15].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[15].form.link.linkName)}"
@click="openLink(modules[16].form)">
<img class="icon"
:src="modules[16].form.pic"
alt="">
<p class="text">{{ modules[16].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[16].form.link.linkName)}"
@click="openLink(modules[17].form)">
<img class="icon"
:src="modules[17].form.pic"
alt="">
<p class="text">{{ modules[17].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[17].form.link.linkName)}"
@click="openLink(modules[18].form)">
<img class="icon"
:src="modules[18].form.pic"
alt="">
<p class="text">{{ modules[18].form.title }}</p>
</li>
</ul>
</template>
<div class="relative"> <div class="relative">
<div class="info"> <div class="info">
<div class="leftBox"> <div class="leftBox">
@ -313,28 +272,6 @@ export default {
} }
} }
} }
.entry {
position: relative;
display: flex;
justify-content: space-between;
margin-bottom: 100px;
li {
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
img {
max-width: 100px;
}
.text {
margin-top: 15px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #fff;
}
}
.contact { .contact {
position: relative; position: relative;
padding: 0 0 73px 0; padding: 0 0 73px 0;

@ -454,8 +454,7 @@ export default {
} }
.list-block { .list-block {
.inner { .inner {
width: 80%; padding: 5rem 0;
padding: 5.625rem 0;
background-color: #fff; background-color: #fff;
} }
} }

@ -153,6 +153,7 @@ export default {
font-size: 48px; font-size: 48px;
color: #fff; color: #fff;
background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat; background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat;
object-fit: cover;
} }
.article { .article {
display: flex; display: flex;

@ -115,7 +115,7 @@ export default {
} }
] ]
// //
if (data.isDisable) { if (data.isDisable || !data.isRelease) {
this.$router.back() this.$router.back()
} else { } else {
const temId = data.articleTemplate const temId = data.articleTemplate
@ -202,6 +202,7 @@ export default {
font-weight: 600; font-weight: 600;
color: #fff; color: #fff;
background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat; background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat;
object-fit: cover;
} }
.article { .article {
display: flex; display: flex;

@ -354,6 +354,7 @@ export default {
right: 0; right: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
} }
h6 { h6 {
font-size: 2.07rem; font-size: 2.07rem;

@ -888,6 +888,7 @@ export default {
color: #fff; color: #fff;
img { img {
height: 24rem; height: 24rem;
object-fit: cover;
} }
.texts { .texts {
position: absolute; position: absolute;
@ -922,12 +923,12 @@ export default {
.article { .article {
display: flex; display: flex;
justify-content: center; justify-content: space-between;
width: 1200px;
margin: 0 auto; margin: 0 auto;
.left { .left {
width: 66%; width: 83%;
margin-right: 1.4rem;
} }
.article-wrap { .article-wrap {
@ -1246,8 +1247,8 @@ export default {
padding: 15px; padding: 15px;
} }
.right { .right {
width: 14%; width: 17%;
min-width: 15rem; padding-left: 20px;
overflow: hidden; overflow: hidden;
} }
@ -1288,13 +1289,6 @@ export default {
} }
.article { .article {
justify-content: center;
.left {
width: 1136px;
margin-right: 36px;
}
.forms { .forms {
padding: 30px 0; padding: 30px 0;
} }

@ -17,23 +17,25 @@
</el-carousel> </el-carousel>
<div class="block share"> <div class="block share">
<h6 v-html="modules[1].form.title"></h6> <div class="inner">
<p class="en" <h6 v-html="modules[1].form.title"></h6>
v-html="modules[1].form.des"></p> <p class="en"
<div class="sum">{{ modules[2].form.title }}</div> v-html="modules[1].form.des"></p>
<div class="flex beamBox"> <div class="sum">{{ modules[2].form.title }}</div>
<div class="left"> <div class="flex beamBox">
<div class="des" <div class="left">
v-html="modules[2].form.des"></div> <div class="des"
v-html="modules[2].form.des"></div>
</div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div> </div>
<img class="pic"
:src="modules[2].form.pic"
alt="">
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<div class="intro-inner"> <div class="inner intro-inner">
<img class="pic" <img class="pic"
:src="modules[3].form.pic" :src="modules[3].form.pic"
alt=""> alt="">
@ -146,8 +148,6 @@ $banner-height: 21.6rem;
} }
.share { .share {
position: relative; position: relative;
width: 80%;
padding-left: 14%;
.beamBox { .beamBox {
align-items: center; align-items: center;
} }
@ -192,15 +192,13 @@ $banner-height: 21.6rem;
} }
} }
.intro { .intro {
width: 80%;
height: 19.65rem; height: 19.65rem;
padding-left: 14%;
margin-bottom: 67px; margin-bottom: 67px;
background-color: #2e4984;
.intro-inner { .intro-inner {
display: flex; display: flex;
align-items: center; align-items: center;
height: 100%; height: 100%;
background-color: #2e4984;
} }
.pic { .pic {
width: 50%; width: 50%;

@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<div class="intro"> <div class="inner intro">
<img class="bg" <img class="bg"
src="http://10.10.11.7/images/device/7.png" src="http://10.10.11.7/images/device/7.png"
alt=""> alt="">
@ -122,15 +122,7 @@ $banner-height: 21.6rem;
} }
.share { .share {
position: relative; position: relative;
.inner {
width: 100%;
max-width: 1323px;
}
.texts { .texts {
position: absolute;
width: 85%;
right: 0;
top: 26rem;
display: flex; display: flex;
} }
h6 { h6 {
@ -148,18 +140,15 @@ $banner-height: 21.6rem;
color: #e3e3e3; color: #e3e3e3;
} }
.card { .card {
position: absolute; padding: 1.5rem;
left: 0; margin-bottom: 20px;
max-width: 1671px; font-size: 1rem;
width: 85%;
padding: 1.6rem 2.9rem 1.6rem 14%;
font-size: 1.06rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
border-radius: 0 6rem 0 0; border-radius: 0 6rem 0 0;
font-weight: 500; font-weight: 500;
color: #ffffff; color: #ffffff;
line-height: 2.375rem; line-height: 2.375rem;
background: url(http://10.10.11.7/images/device/5.png) 0 0 /100% 100% no-repeat; background: url(http://10.10.11.7/images/device/5.png) center center no-repeat;
} }
.des { .des {
flex-grow: 1; flex-grow: 1;
@ -178,15 +167,8 @@ $banner-height: 21.6rem;
} }
.intro { .intro {
position: relative; position: relative;
height: 42.625rem; margin: 60px auto;
margin-bottom: 2.3rem;
margin-top: 50rem;
width: 85%;
.bg { .bg {
position: absolute;
top: 0;
left: 0;
width: 65%;
height: 35.73rem; height: 35.73rem;
} }
.pic { .pic {

@ -274,7 +274,51 @@
</div> </div>
</div> </div>
</div> </div>
<div class="block"
style="margin-top: 100px">
<div class="inner">
<ul class="entry">
<li :class="{'cursor-pointer': isLink(modules[14].form.link.linkName)}"
@click="openLink(modules[14].form)">
<img class="icon"
:src="modules[14].form.pic"
alt="">
<p class="text">{{ modules[14].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[15].form.link.linkName)}"
@click="openLink(modules[15].form)">
<img class="icon"
:src="modules[15].form.pic"
alt="">
<p class="text">{{ modules[15].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[16].form.link.linkName)}"
@click="openLink(modules[16].form)">
<img class="icon"
:src="modules[16].form.pic"
alt="">
<p class="text">{{ modules[16].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[17].form.link.linkName)}"
@click="openLink(modules[17].form)">
<img class="icon"
:src="modules[17].form.pic"
alt="">
<p class="text">{{ modules[17].form.title }}</p>
</li>
<li :class="{'cursor-pointer': isLink(modules[18].form.link.linkName)}"
@click="openLink(modules[18].form)">
<img class="icon"
:src="modules[18].form.pic"
alt="">
<p class="text">{{ modules[18].form.title }}</p>
</li>
</ul>
</div>
</div>
</div> </div>
<ul class="tools"> <ul class="tools">
<template v-for="(item, i) in modules[19].list"> <template v-for="(item, i) in modules[19].list">
<li v-if="item.isEnable" <li v-if="item.isEnable"
@ -550,11 +594,11 @@ $bannerMh: 800px;
z-index: 2; z-index: 2;
position: relative; position: relative;
top: $bannerHeight; top: $bannerHeight;
padding: 6rem 0 229px; padding: 6rem 0 30px;
background-color: #fff; background-color: #fff;
transition: all 0.7s cubic-bezier(0.5, 0, 0.2, 1) 0s; transition: all 0.7s cubic-bezier(0.5, 0, 0.2, 1) 0s;
&.active { &.active {
top: 106px; top: 0;
} }
} }
.block { .block {
@ -1033,6 +1077,28 @@ $bannerMh: 800px;
height: 558px; height: 558px;
} }
} }
.entry {
position: relative;
display: flex;
justify-content: space-between;
li {
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
img {
max-width: 100px;
}
.text {
margin-top: 15px;
font-size: 1rem;
font-family: PingFangSC-Medium, PingFang SC;
color: #48525e;
}
}
.tools { .tools {
z-index: 10; z-index: 10;
position: fixed; position: fixed;
@ -1094,29 +1160,4 @@ $bannerMh: 800px;
margin-right: 10px; margin-right: 10px;
} }
} }
@media (max-width: 1440px) {
.carousel {
.texts {
top: 30%;
bottom: auto;
}
}
}
@media (max-width: 980px) {
.carousel {
height: 500px;
min-height: 0;
img {
height: 500px;
min-height: 0;
}
/deep/.el-carousel__container {
height: 500px;
min-height: 0;
}
}
.block-wrap {
top: 500px;
}
}
</style> </style>

@ -75,7 +75,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
width: 1294px; width: 1200px;
padding: 9px 86px 29px 116px; padding: 9px 86px 29px 116px;
margin: 0 auto 50px; margin: 0 auto 50px;
background: #fcfcfc; background: #fcfcfc;
@ -101,7 +101,7 @@ export default {
} }
} }
.lg-bg { .lg-bg {
width: 50%; width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
</style> </style>

@ -119,7 +119,7 @@
v-html="modules[8].form.title"></h2> v-html="modules[8].form.title"></h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p> data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
<div class="scan-inner"> <div class="inner scan-inner">
<div class="left"> <div class="left">
<template v-for="(item, i) in modules[9].list"> <template v-for="(item, i) in modules[9].list">
<div v-if="item.isEnable" <div v-if="item.isEnable"
@ -345,8 +345,6 @@ export default {
.scan { .scan {
.scan-inner { .scan-inner {
display: flex; display: flex;
justify-content: flex-end;
padding-left: 19%;
} }
.left { .left {
width: 45%; width: 45%;

@ -19,7 +19,7 @@
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
<div class="intro"> <div class="inner intro">
<img class="pic" <img class="pic"
:src="modules[1].form.pic" :src="modules[1].form.pic"
alt=""> alt="">
@ -95,11 +95,11 @@ export default {
align-items: center; align-items: center;
margin-bottom: 5.5rem; margin-bottom: 5.5rem;
.pic { .pic {
width: 40%; width: 49%;
margin-right: 2.5rem; margin-right: 2%;
} }
.right { .right {
width: 40%; width: 49%;
} }
h6 { h6 {
position: relative; position: relative;

@ -75,7 +75,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
width: 1294px; width: 1200px;
padding: 9px 86px 29px 116px; padding: 9px 86px 29px 116px;
margin: 0 auto 50px; margin: 0 auto 50px;
background: #fcfcfc; background: #fcfcfc;
@ -101,7 +101,7 @@ export default {
} }
} }
.lg-bg { .lg-bg {
width: 50%; width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
</style> </style>

@ -188,6 +188,7 @@ export default {
.pic { .pic {
width: 100%; width: 100%;
height: 32.65rem; height: 32.65rem;
object-fit: cover;
} }
.icon { .icon {
transition: 0.3s; transition: 0.3s;

@ -270,7 +270,6 @@ export default {
height: 643px; height: 643px;
text-align: center; text-align: center;
background: url(../../assets/images/about-bg.png) no-repeat center center; background: url(../../assets/images/about-bg.png) no-repeat center center;
background-size: 100% 100%;
.texts { .texts {
padding: 2.375rem 3.75rem; padding: 2.375rem 3.75rem;
color: #fff; color: #fff;

@ -40,6 +40,7 @@
padding: 123px 0 0 243px; padding: 123px 0 0 243px;
font-size: 2rem; font-size: 2rem;
color: #fff; color: #fff;
object-fit: cover;
} }
.banner-item { .banner-item {
position: relative; position: relative;
@ -48,6 +49,7 @@
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
} }
.banner-name { .banner-name {
position: absolute; position: absolute;
@ -67,6 +69,7 @@
.banner-img { .banner-img {
width: 100%; width: 100%;
height: 24rem; height: 24rem;
object-fit: cover;
} }
.texts { .texts {
position: absolute; position: absolute;

Loading…
Cancel
Save