提交 577c6e9f authored 作者: 王鹏飞's avatar 王鹏飞

chore: 样式优化;文字内容修改;

上级 7493af3d
<template> <template>
<div class="card"> <div class="card">
<div class="card-hd"> <div class="card-hd">
<div class="card-hd__title">{{ title }}</div> <div class="card-hd__title">
<slot name="title">{{ title }}</slot>
</div>
<div class="card-hd__aside"><slot name="header-aside"></slot></div> <div class="card-hd__aside"><slot name="header-aside"></slot></div>
</div> </div>
<div class="card-bd"><slot /></div> <div class="card-bd"><slot /></div>
...@@ -34,6 +36,9 @@ export default { ...@@ -34,6 +36,9 @@ export default {
font-size: 32px; font-size: 32px;
font-weight: bold; font-weight: bold;
line-height: 1; line-height: 1;
a:hover {
color: var(--main-color);
}
} }
.card-hd__aside { .card-hd__aside {
font-size: 16px; font-size: 16px;
......
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
// pathType: 3 // pathType: 3
}, },
{ {
name: '服务案例', name: '落地案例',
path: '/services/college/case' path: '/services/college/case'
} }
] ]
...@@ -191,7 +191,7 @@ export default { ...@@ -191,7 +191,7 @@ export default {
{ {
name: '产业学院', name: '产业学院',
path: '/services/college', path: '/services',
childern: [ childern: [
{ {
name: '紫荆E-SAAS平台', name: '紫荆E-SAAS平台',
......
<template> <template>
<div class="main_content"> <AppCard title="留学深造">
<h5 class="gov_tit">留学深造</h5> <template #title>
<nuxt-link to="/studyAbroad">留学深造</nuxt-link>
</template>
<div class="content_con"> <div class="content_con">
<div class="con_left con_left1" v-for="(item, index) in abroadList" :key="index"> <div class="con_left con_left1" v-for="(item, index) in abroadList" :key="index">
<div class="left_tit">{{ item.title }}</div> <div class="left_tit">{{ item.title }}</div>
...@@ -19,7 +22,7 @@ ...@@ -19,7 +22,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> </AppCard>
</template> </template>
<script> <script>
...@@ -68,95 +71,85 @@ export default { ...@@ -68,95 +71,85 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.main_content { .content_con {
width: 1200px; margin-top: 21px;
margin: 66px auto; display: flex;
.gov_tit { background: #ffffff;
font-size: 30px; padding: 43px 30px 50px 30px;
font-weight: bold;
color: #333333;
}
.content_con { .con_left {
margin-top: 21px; height: 192px;
display: flex; display: flex;
background: #ffffff; flex-direction: column;
padding: 43px 30px 50px 30px; // align-items: center;
.left_tit {
.con_left { font-size: 16px;
height: 192px; color: #000000;
}
.left_content {
display: flex; display: flex;
flex-direction: column;
// align-items: center;
.left_tit {
font-size: 16px;
color: #000000;
}
.left_content {
display: flex;
.left_con1 { .left_con1 {
display: flex; display: flex;
margin-top: 30px; margin-top: 30px;
li { li {
width: 260px;
height: 110px;
background: #f9f8f8;
box-sizing: border-box;
.con {
width: 260px; width: 260px;
height: 110px; height: 110px;
background: #f9f8f8; display: flex;
box-sizing: border-box; justify-content: center;
.con { align-items: center;
width: 260px; padding: 10px 25px 10px 10px;
height: 110px; }
display: flex; &:hover {
justify-content: center; background: #aa1940;
align-items: center;
padding: 10px 25px 10px 10px;
}
&:hover {
background: #aa1940;
.con_desc {
color: #f9f8f8;
}
}
.con_img {
width: 128px;
height: 90px;
}
.con_desc { .con_desc {
margin-left: 8px; color: #f9f8f8;
text-align: center;
width: 84px;
font-size: 14px;
line-height: 18px;
color: #333333;
white-space: nowrap;
} }
} }
li:nth-child(2) { .con_img {
margin-left: 20px; width: 128px;
height: 90px;
}
.con_desc {
margin-left: 8px;
text-align: center;
width: 84px;
font-size: 14px;
line-height: 18px;
color: #333333;
white-space: nowrap;
} }
} }
.line1 { li:nth-child(2) {
width: 0px; margin-left: 20px;
height: 110px;
border: 1px dashed #c4c4c4;
margin: 30px 30px;
} }
} }
} .line1 {
.con_left:nth-child(1) { width: 0px;
.left_tit { height: 110px;
margin-left: 275px; border: 1px dashed #c4c4c4;
margin: 30px 30px;
} }
} }
.con_left1:nth-child(1) { }
.left_tit { .con_left:nth-child(1) {
margin-left: 226px; .left_tit {
} margin-left: 275px;
} }
.con_left:nth-child(2) { }
align-items: center; .con_left1:nth-child(1) {
.left_tit {
margin-left: 226px;
} }
} }
.con_left:nth-child(2) {
align-items: center;
}
} }
</style> </style>
<template> <template>
<div class="home-alumni"> <AppCard title="校友故事" class="home-alumni">
<AppCard title="校友故事" class="max-width"> <template #title><nuxt-link to="/alumnus/story">校友故事</nuxt-link></template>
<template #header-aside><nuxt-link to="/alumnus/story">查看更多+</nuxt-link></template> <template #header-aside><nuxt-link to="/alumnus/story">查看更多+</nuxt-link></template>
<!-- <p class="tips">You are What you together,结识6000+ 同样优秀的人!</p> -->
</AppCard>
<!-- <div class="swiper-content">
<div v-swiper:mySwiper="swiperOptions" ref="mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide" v-for="(item, index) in listData" :key="index">
<app-link :data="item" :to="`/alumnus/story/${item.id}`">
<img :src="item.web_img_uri" loading="lazy" />
<div class="text">{{ item.title }}</div>
</app-link>
</div>
</div>
</div>
</div> -->
<app-link v-if="listData.length > 0" :data="listData[0]" :to="`/alumnus/story/${listData[0].id}`"> <app-link v-if="listData.length > 0" :data="listData[0]" :to="`/alumnus/story/${listData[0].id}`">
<div class="alumni_content"> <div class="alumni_content">
<img class="content_img" :src="listData[0].web_img_uri" loading="lazy" /> <img class="content_img" :src="listData[0].web_img_uri" loading="lazy" />
...@@ -29,7 +15,7 @@ ...@@ -29,7 +15,7 @@
</div> </div>
</div> </div>
</app-link> </app-link>
</div> </AppCard>
</template> </template>
<script> <script>
import AppCard from '@/components/AppCard' import AppCard from '@/components/AppCard'
...@@ -38,15 +24,7 @@ export default { ...@@ -38,15 +24,7 @@ export default {
components: { AppCard, AppLink }, components: { AppCard, AppLink },
data() { data() {
return { return {
listData: [], listData: []
swiperOptions: {
autoplay: true,
delay: 5000,
loop: true,
slidesPerView: 'auto',
centeredSlides: true,
spaceBetween: 10
}
} }
}, },
async fetch() { async fetch() {
...@@ -61,104 +39,32 @@ export default { ...@@ -61,104 +39,32 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.max-width { .alumni_content {
max-width: 1200px; display: flex;
margin: 0 auto; height: 400px;
}
.home-alumni {
max-width: 1200px;
margin: 80px auto;
.tips {
font-size: 24px;
font-weight: bold;
line-height: 34px;
color: #424242;
margin-bottom: 12px;
}
.swiper-content {
::v-deep .swiper-wrapper {
align-items: center;
}
.swiper-slide {
position: relative;
width: 388px;
height: 244px;
overflow: hidden;
.text {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
line-height: 40px;
background: rgba(0, 0, 0, 0.5);
padding: 0 20px;
font-size: 20px;
color: #fefefe;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
}
}
.swiper-slide-active {
width: 424px;
height: 266px;
}
}
.alumni_content {
display: flex;
height: 400px;
.content_img { .content_img {
width: 600px; width: 600px;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
}
.content_desc {
width: 568px;
height: 100%;
margin-left: 32px;
.desc_tit {
margin-top: 56px;
font-size: 20px;
line-height: 32px;
color: #000000;
}
.desc_con {
text-align: justify;
font-size: 16px;
font-weight: 400;
line-height: 34px;
color: #666666;
margin-top: 30px;
}
}
} }
} .content_desc {
.is-h5 { width: 568px;
.home-alumni { height: 100%;
margin: 0.2rem 0.15rem; margin-left: 32px;
padding: 0; .desc_tit {
.tips { margin-top: 56px;
font-size: 0.1rem; font-size: 20px;
font-weight: 500; line-height: 32px;
margin-bottom: 0.1rem; color: #000000;
}
.swiper-slide {
position: relative;
width: 2.1rem;
height: 1.22rem;
} }
.swiper-slide-active { .desc_con {
width: 2.1rem; text-align: justify;
height: 1.34rem; font-size: 16px;
font-weight: 400;
line-height: 34px;
color: #666666;
margin-top: 30px;
} }
} }
} }
......
<template> <template>
<div class="home-menu"> <div>
<div class="menu-card" v-for="(row, index) in rows" :key="index"> <AppCard v-for="(row, index) in rows" :key="index">
<h2 class="menu-card__title">{{ row.title }}</h2> <template #title>
<nuxt-link :to="row.to">{{ row.title }}</nuxt-link>
</template>
<ul class="menu-card-nav"> <ul class="menu-card-nav">
<li v-for="(item, itemIndex) in row.children" :key="itemIndex"> <li v-for="(item, itemIndex) in row.children" :key="itemIndex">
<AppLink :data="item"> <AppLink :data="item">
...@@ -11,7 +13,7 @@ ...@@ -11,7 +13,7 @@
</AppLink> </AppLink>
</li> </li>
</ul> </ul>
</div> </AppCard>
</div> </div>
</template> </template>
<script> <script>
...@@ -23,6 +25,7 @@ export default { ...@@ -23,6 +25,7 @@ export default {
rows: [ rows: [
{ {
title: '数字人才产教融合实践基地', title: '数字人才产教融合实践基地',
to: '/practice',
children: [ children: [
{ {
icon: 'https://webapp-pub.ezijing.com/www/pc/home/gov/icon_gongjian.png', icon: 'https://webapp-pub.ezijing.com/www/pc/home/gov/icon_gongjian.png',
...@@ -78,73 +81,58 @@ export default { ...@@ -78,73 +81,58 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.home-menu { .menu-card-nav {
width: 1200px; display: flex;
margin: 90px auto; justify-content: space-between;
background: #ffffff;
.menu-card { padding: 63px 40px;
width: 100%; margin-top: 21px;
li {
.menu-card__title { width: 156px;
font-size: 30px; height: 186px;
font-weight: bold; background: #d5d5d5;
color: #333333; border: 1px solid #d5d5d5;
background: #ffffff;
padding-top: 30px;
cursor: pointer;
display: flex;
align-items: center;
flex-direction: column;
img {
// width: 64px;
// height: 64px;
margin: auto;
} }
.icon {
display: block;
}
.icon-active {
display: none;
}
&:hover {
background: rgba(170, 25, 65, 1);
border: none;
.menu-card-nav { .text {
display: flex; color: #fff;
justify-content: space-between;
background: #ffffff;
padding: 63px 40px;
margin-top: 21px;
li {
width: 156px;
height: 186px;
background: #d5d5d5;
border: 1px solid #d5d5d5;
background: #ffffff;
padding-top: 30px;
cursor: pointer;
display: flex;
align-items: center;
flex-direction: column;
img {
// width: 64px;
// height: 64px;
margin: auto;
}
.icon {
display: block;
}
.icon-active {
display: none;
}
&:hover {
background: rgba(170, 25, 65, 1);
border: none;
.text {
color: #fff;
}
.icon {
display: none;
}
.icon-active {
width: 64px;
height: 64px;
display: block;
margin: 0 auto;
}
}
.text {
text-align: center;
font-size: 14px;
font-weight: 400;
line-height: 18px;
color: #666666;
margin-top: 20px;
}
} }
.icon {
display: none;
}
.icon-active {
width: 64px;
height: 64px;
display: block;
margin: 0 auto;
}
}
.text {
text-align: center;
font-size: 14px;
font-weight: 400;
line-height: 18px;
color: #666666;
margin-top: 20px;
} }
} }
} }
......
<template> <template>
<div class="service-content max-width-center"> <AppCard title="数字经济产业学院">
<div class="title">数字经济产业学院</div> <template #title>
<nuxt-link to="/services">数字经济产业学院</nuxt-link>
</template>
<ul class="nav-content"> <ul class="nav-content">
<li v-for="(item, index) in data" :key="index"> <li v-for="(item, index) in data" :key="index">
<AppLink :data="item"> <AppLink :data="item">
...@@ -12,7 +14,7 @@ ...@@ -12,7 +14,7 @@
</AppLink> </AppLink>
</li> </li>
</ul> </ul>
</div> </AppCard>
</template> </template>
<script> <script>
import AppLink from '@/components/Link' import AppLink from '@/components/Link'
...@@ -82,64 +84,55 @@ export default { ...@@ -82,64 +84,55 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.service-content { .nav-content {
width: 1200px; display: flex;
margin: 70px auto; justify-content: space-between;
.title { background: #ffffff;
font-size: 30px; padding: 78px 58px 70px 56px;
font-weight: bold; margin-top: 20px;
color: #333333; li {
}
.nav-content {
display: flex;
justify-content: space-between;
background: #ffffff; background: #ffffff;
padding: 78px 58px 70px 56px; margin-right: 20px;
margin-top: 20px; cursor: pointer;
li {
background: #ffffff;
margin-right: 20px;
cursor: pointer;
.img_box {
width: 100px;
height: 100px;
background: #f6f5f5;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
img {
display: block;
}
.icon-active {
display: none;
}
&:hover {
.img_box { .img_box {
width: 100px; background: #aa1941;
height: 100px;
background: #f6f5f5;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
} }
img { .text {
display: block; color: #aa1941;
} }
.icon-active { .icon {
display: none; display: none;
} }
&:hover { .icon-active {
.img_box { display: block;
background: #aa1941;
}
.text {
color: #aa1941;
}
.icon {
display: none;
}
.icon-active {
display: block;
}
}
.text {
text-align: center;
font-size: 16px;
font-weight: 400;
line-height: 18px;
color: #666666;
margin-top: 20px;
white-space: nowrap;
} }
} }
.text {
text-align: center;
font-size: 16px;
font-weight: 400;
line-height: 18px;
color: #666666;
margin-top: 20px;
white-space: nowrap;
}
} }
} }
</style> </style>
<template> <template>
<div class="main_content"> <AppCard title="国际学位">
<h5 class="gov_tit">国际学位</h5> <template #title>
<nuxt-link to="/internationalDegree">国际学位</nuxt-link>
</template>
<div class="content_con"> <div class="content_con">
<div class="con_left" v-for="(item, index) in degreeList" :key="index"> <div class="con_left" v-for="(item, index) in degreeList" :key="index">
<div class="left_tit">{{ item.title }}</div> <div class="left_tit">{{ item.title }}</div>
...@@ -17,7 +19,7 @@ ...@@ -17,7 +19,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> </AppCard>
</template> </template>
<script> <script>
import AppLink from '@/components/Link' import AppLink from '@/components/Link'
...@@ -81,132 +83,122 @@ export default { ...@@ -81,132 +83,122 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.main_content { .content_con {
width: 1200px; margin-top: 20px;
margin: 70px auto; display: flex;
.gov_tit { padding: 59px 40px 49px 32px;
font-size: 30px; background: #ffffff;
font-weight: bold;
color: #333333;
}
.content_con { .con_left {
margin-top: 20px; height: 192px;
display: flex; display: flex;
padding: 59px 40px 49px 32px; flex-direction: column;
background: #ffffff; .left_tit {
font-size: 16px;
.con_left { color: #000000;
height: 192px; }
.left_content {
display: flex; display: flex;
flex-direction: column; .left_con {
.left_tit {
font-size: 16px;
color: #000000;
}
.left_content {
display: flex; display: flex;
.left_con { justify-content: space-around;
margin-top: 30px;
li {
width: 148px;
display: flex; display: flex;
justify-content: space-around; flex-direction: column;
margin-top: 30px; align-items: center;
li { cursor: pointer;
width: 148px;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
&:hover { &:hover {
background: #aa1940; background: #aa1940;
padding-top: 10px; padding-top: 10px;
padding-bottom: 14px; padding-bottom: 14px;
margin-top: -10px; margin-top: -10px;
.con_desc {
color: #f9f8f8;
}
}
.con_img {
width: 128px;
height: 90px;
}
.con_desc { .con_desc {
text-align: center; color: #f9f8f8;
margin-top: 10px;
font-size: 14px;
line-height: 18px;
color: #333333;
} }
} }
li:not(:last-child) { .con_img {
margin-right: 10px; width: 128px;
height: 90px;
}
.con_desc {
text-align: center;
margin-top: 10px;
font-size: 14px;
line-height: 18px;
color: #333333;
} }
} }
.line { li:not(:last-child) {
width: 0px; margin-right: 10px;
height: 129px;
border: 1px dashed #c4c4c4;
margin: 30px 25px 5px 25px;
} }
}
.line {
width: 0px;
height: 129px;
border: 1px dashed #c4c4c4;
margin: 30px 25px 5px 25px;
}
.left_con1 { .left_con1 {
display: flex; display: flex;
margin-top: 30px; margin-top: 30px;
li { li {
width: 342px;
height: 130px;
background: #f9f8f8;
box-sizing: border-box;
.con {
width: 342px; width: 342px;
height: 130px; height: 130px;
background: #f9f8f8; display: flex;
box-sizing: border-box; justify-content: center;
.con { align-items: center;
width: 342px; padding: 10px 16px 10px 10px;
height: 130px; }
display: flex; &:hover {
justify-content: center; background: #aa1940;
align-items: center;
padding: 10px 16px 10px 10px;
}
&:hover {
background: #aa1940;
.con_desc {
color: #f9f8f8;
}
}
.con_img {
width: 160px;
height: 110px;
}
.con_desc { .con_desc {
margin-left: 16px; color: #f9f8f8;
white-space: nowrap;
text-align: center;
width: 140px;
font-size: 14px;
line-height: 18px;
color: #333333;
} }
} }
li:nth-child(2) { .con_img {
margin-left: 30px; width: 160px;
height: 110px;
}
.con_desc {
margin-left: 16px;
white-space: nowrap;
text-align: center;
width: 140px;
font-size: 14px;
line-height: 18px;
color: #333333;
} }
} }
.line1 { li:nth-child(2) {
width: 0px; margin-left: 30px;
height: 129px;
border: 1px dashed #c4c4c4;
margin: 30px 35px;
} }
} }
} .line1 {
.con_left:nth-child(1) { width: 0px;
.left_tit { height: 129px;
margin-left: 275px; border: 1px dashed #c4c4c4;
margin: 30px 35px;
} }
} }
}
.con_left:nth-child(2) { .con_left:nth-child(1) {
align-items: center; .left_tit {
margin-left: 275px;
} }
} }
.con_left:nth-child(2) {
align-items: center;
}
} }
</style> </style>
<template> <template>
<AppCard title="通知公告" class="home-news"> <AppCard title="通知公告">
<template #title>
<nuxt-link to="/about/news">通知公告</nuxt-link>
</template>
<template #header-aside> <template #header-aside>
<nuxt-link to="/about/news">{{ $t('viewMore') }}</nuxt-link> <nuxt-link to="/about/news">{{ $t('viewMore') }}</nuxt-link>
</template> </template>
...@@ -101,180 +104,175 @@ export default { ...@@ -101,180 +104,175 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.home-news { .news-content {
max-width: 1200px; margin-top: 15px;
margin: 80px auto; display: flex;
.left-content {
.news-content { width: 600px;
margin-top: 15px; height: 282px;
background: #ffffff;
box-shadow: 0px 0px 29px rgba(0, 0, 0, 0.03);
padding: 40px 25px 40px 38px;
display: flex; display: flex;
.left-content { .tit {
width: 600px; font-size: 34px;
height: 282px; font-weight: 500;
background: #ffffff; line-height: 51px;
box-shadow: 0px 0px 29px rgba(0, 0, 0, 0.03); color: #424242;
padding: 40px 25px 40px 38px; padding-top: 29px;
display: flex; text-align: center;
.tit { }
font-size: 34px; .list {
font-weight: 500; overflow: hidden;
line-height: 51px; ::v-deep {
color: #424242; .swiper-container {
padding-top: 29px; height: 100%;
text-align: center; // transform: translateY(-2px);
}
.list {
overflow: hidden;
::v-deep {
.swiper-container {
height: 100%;
// transform: translateY(-2px);
}
} }
.swiper-slide-active { }
.li { .swiper-slide-active {
border-bottom: 1px solid #999999; .li {
} border-bottom: 1px solid #999999;
} }
}
.li { .li {
width: 549px; width: 549px;
display: flex;
align-items: center;
padding-bottom: 30px;
box-sizing: border-box;
padding-left: 12px;
.time-block {
width: 70px;
height: 70px;
background: #aa1941;
border-radius: 5px;
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
padding-bottom: 30px; justify-content: center;
box-sizing: border-box;
padding-left: 12px;
.time-block { .m-time {
width: 70px; font-size: 20px;
height: 70px; font-weight: normal;
background: #aa1941; color: #ffffff;
border-radius: 5px; text-align: center;
display: flex; opacity: 0.8;
flex-direction: column;
align-items: center;
justify-content: center;
.m-time {
font-size: 20px;
font-weight: normal;
color: #ffffff;
text-align: center;
opacity: 0.8;
}
.t-time {
font-size: 16px;
font-weight: normal;
line-height: 15px;
color: #ffffff;
opacity: 0.8;
text-align: center;
}
} }
.txt { .t-time {
margin-left: 33px; font-size: 16px;
width: 390px; font-weight: normal;
font-size: 18px; line-height: 15px;
font-weight: 400; color: #ffffff;
color: #424242; opacity: 0.8;
text-overflow: ellipsis; text-align: center;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1; //超出第几行,关键在这里
line-clamp: 1; //超出第几行,关键在这里
} }
} }
.txt {
margin-left: 33px;
width: 390px;
font-size: 18px;
font-weight: 400;
color: #424242;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1; //超出第几行,关键在这里
line-clamp: 1; //超出第几行,关键在这里
}
} }
} }
.right-content { }
margin-left: 45px; .right-content {
height: 282px; margin-left: 45px;
height: 282px;
ul { ul {
li { li {
padding: 9px 0 22px 0; padding: 9px 0 22px 0;
display: flex; display: flex;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
&:nth-child(1) { &:nth-child(1) {
border: none; border: none;
} }
&:hover { &:hover {
.content_con { .content_con {
.text { .text {
color: #aa1941; color: #aa1941;
}
.desc {
color: #aa1941;
}
} }
.desc {
.time-block { color: #aa1941;
background: #aa1941;
.m-time {
color: #ffffff;
opacity: 1;
}
.t-time {
color: #ffffff;
opacity: 1;
}
} }
} }
.time-block { .time-block {
width: 70px; background: #aa1941;
height: 70px;
background: rgba(255, 255, 255, 0.39);
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.08);
border-radius: 5px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.m-time { .m-time {
font-size: 20px; color: #ffffff;
font-weight: normal; opacity: 1;
color: #777777;
opacity: 0.8;
} }
.t-time { .t-time {
font-size: 16px; color: #ffffff;
font-weight: normal; opacity: 1;
line-height: 15px;
color: #777777;
opacity: 0.8;
} }
} }
.content_con { }
width: 459px;
margin-left: 15px;
.text { .time-block {
text-align: left; width: 70px;
font-size: 18px; height: 70px;
font-weight: 500; background: rgba(255, 255, 255, 0.39);
color: #333333; box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.08);
display: -webkit-box; border-radius: 5px;
-webkit-box-orient: vertical; display: flex;
-webkit-line-clamp: 1; flex-direction: column;
overflow: hidden; align-items: center;
// margin-bottom: 11px; justify-content: center;
} .m-time {
.desc { font-size: 20px;
text-align: left; font-weight: normal;
color: #777777;
opacity: 0.8;
}
.t-time {
font-size: 16px;
font-weight: normal;
line-height: 15px;
color: #777777;
opacity: 0.8;
}
}
.content_con {
width: 459px;
margin-left: 15px;
font-size: 13px; .text {
font-weight: 400; text-align: left;
line-height: 22px; font-size: 18px;
color: #666666; font-weight: 500;
display: -webkit-box; color: #333333;
-webkit-box-orient: vertical; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-box-orient: vertical;
overflow: hidden; -webkit-line-clamp: 1;
} overflow: hidden;
// margin-bottom: 11px;
}
.desc {
text-align: left;
font-size: 13px;
font-weight: 400;
line-height: 22px;
color: #666666;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
} }
} }
} }
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
program: '专业共建', program: '专业共建',
college: '数字经济产业学院', college: '数字经济产业学院',
career: '新职业', career: '新职业',
highLevel: '实习就业', highLevel: '实习就业',
online: '在线教育解决方案', online: '在线教育解决方案',
xChild: { xChild: {
products: '金融产品数字化营销证书' products: '金融产品数字化营销证书'
......
...@@ -61,3 +61,10 @@ export default { ...@@ -61,3 +61,10 @@ export default {
} }
} }
</script> </script>
<style lang="scss">
.card {
max-width: 1200px;
margin: 80px auto;
}
</style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="main_content"> <div class="main_content">
<img src="https://webapp-pub.ezijing.com/www/pc/practice/Index/banner.png" class="content_banner" /> <img src="https://webapp-pub.ezijing.com/www/pc/practice/Index/banner.png" class="content_banner" />
<div class="content_part"> <div class="content_part">
<div class="part_title">数字人才产教融合基地</div> <div class="part_title">数字经济产业学院</div>
<div class="part_desc"> <div class="part_desc">
数字经济产教融合实践基地”的建设内涵由“N+3”组成,即N个数字经济产业学院集群;一个数字经济实验室,一个数字职业技能中心;一个数字经济<br />产业与人才公共服务平台。 数字经济产教融合实践基地”的建设内涵由“N+3”组成,即N个数字经济产业学院集群;一个数字经济实验室,一个数字职业技能中心;一个数字经济<br />产业与人才公共服务平台。
</div> </div>
......
<template>
<div class="main_content">
<img src="https://webapp-pub.ezijing.com/www/pc/practice/Index/banner.png" class="content_banner" />
<div class="content_part">
<div class="part_title">数字经济产业学院</div>
<div class="part_desc">
数字经济产教融合实践基地”的建设内涵由“N+3”组成,即N个数字经济产业学院集群;一个数字经济实验室,一个数字职业技能中心;一个数字经济<br />产业与人才公共服务平台。
</div>
</div>
<div class="content_part2"></div>
<div class="content_part3">
<div class="part3_con">
<div class="con_list" v-for="(item, index) in list" :key="index" @click="$router.push(item.url)">
<div class="mask"></div>
<img class="img" :src="item.img" alt="" />
<img class="imgActive" :src="item.imgActive" alt="" />
<div class="list_tit">{{ item.title }}</div>
<div class="list_desc" v-html="item.desc"></div>
<div class="list_btn">点击进入</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
list: [
{
img: 'https://webapp-pub.ezijing.com/www/pc/practice/Index/icon_gongjian.png',
imgActive: 'https://webapp-pub.ezijing.com/www/pc/practice/Index/icon_gongjian_active.png',
title: '数字经济产业学院',
desc: '1+3+N <br/>打造高水平专业集群',
url: 'practice/industry'
},
{
img: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/icon_shiyan.png',
imgActive: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/icon_shiyan_active.png',
title: '数字经济实验室',
desc: '商业数据分析实验室 <br/>数字营销实验室',
url: '/practice/laboratory'
},
{
img: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/icon_1%2Bx.png',
imgActive: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/icon_1%2Bx_active.png',
title: '数字经济职业技能中心',
desc: '1+X职业等级证书<br/>PRP私人财富风险管理证书<br/>人社部职业证书',
url: '/practice/skill'
},
{
img: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/icon_pt.png',
imgActive: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/icon_pt_active.png',
title: '数字经济人才公共服务平台',
desc: '6项人才对接服务<br/>打造高质量就业',
url: '/practice/talent'
}
]
}
}
}
</script>
<style lang="scss" scoped>
.main_content {
width: 100%;
background: #ffffff;
.content_banner {
width: 100%;
height: 580px;
}
.content_part {
width: 100%;
height: 316px;
background: #f9f8f8;
padding: 90px;
display: flex;
flex-direction: column;
align-items: center;
.part_title {
font-size: 30px;
font-weight: bold;
color: #333333;
}
.part_desc {
margin-top: 36px;
font-size: 18px;
font-weight: 400;
line-height: 34px;
color: #666666;
white-space: nowrap;
text-align: center;
}
}
.content_part2 {
width: 1200px;
height: 662px;
margin: 106px auto;
background: url('https://webapp-pub.ezijing.com/www/pc/practice/Index/jd_bg.png') no-repeat center;
background-size: 100% 100%;
}
.content_part3 {
width: 100%;
height: 626px;
background: #f9f8f8;
padding-top: 120px;
.part3_con {
width: 1200px;
margin: auto;
display: flex;
justify-content: space-between;
.con_list {
width: 285px;
// background: rgba(255, 255, 255, 0.39);
background-size: 100% 100%;
box-shadow: 0px 1px 12px rgba(0, 0, 0, 0.13);
display: flex;
flex-direction: column;
align-items: center;
padding: 47px 0 48px 0;
border-bottom: 3px solid #aa1941;
cursor: pointer;
position: relative;
.list_tit {
font-size: 22px;
font-weight: bold;
color: #333333;
}
.list_desc {
font-size: 20px;
font-weight: 400;
line-height: 38px;
color: #666666;
margin-top: 32px;
text-align: center;
}
.list_btn {
width: 107px;
height: 37px;
background: #aa1941;
text-align: center;
line-height: 37px;
font-size: 14px;
font-weight: 400;
color: #ffffff;
margin-top: 72px;
}
.imgActive {
display: none;
}
.mask {
position: absolute;
background: none;
top: 0;
right: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
&:hover {
border: none;
position: relative;
z-index: 10;
background-image: url('https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/bg1.png');
.mask {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.24) !important;
z-index: 20;
}
.imgActive {
display: block;
position: relative;
z-index: 30;
}
.img {
display: none;
}
.list_tit,
.list_desc {
color: #ffffff;
position: relative;
z-index: 30;
}
.list_btn {
background: #ffffff;
color: #333333;
position: relative;
z-index: 30;
}
}
}
.con_list:nth-child(3) {
&:hover {
background-image: url('https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/bg3.png');
}
.list_tit {
margin-top: 24px;
}
.list_btn {
margin-top: 34px;
}
}
.con_list:nth-child(1) {
&:hover {
background-image: url('https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/bg1.png');
}
.list_tit {
margin-top: 26px;
}
}
.con_list:nth-child(2) {
&:hover {
background-image: url('https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/bg2.png');
}
.list_tit {
margin-top: 21px;
}
}
.con_list:nth-child(4) {
&:hover {
background-image: url('https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/practice/Index/bg4.png');
}
.list_tit {
margin-top: 22px;
}
}
}
}
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论