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

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

上级 7493af3d
<template>
<div class="card">
<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>
<div class="card-bd"><slot /></div>
......@@ -34,6 +36,9 @@ export default {
font-size: 32px;
font-weight: bold;
line-height: 1;
a:hover {
color: var(--main-color);
}
}
.card-hd__aside {
font-size: 16px;
......
......@@ -183,7 +183,7 @@ export default {
// pathType: 3
},
{
name: '服务案例',
name: '落地案例',
path: '/services/college/case'
}
]
......@@ -191,7 +191,7 @@ export default {
{
name: '产业学院',
path: '/services/college',
path: '/services',
childern: [
{
name: '紫荆E-SAAS平台',
......
<template>
<div class="main_content">
<h5 class="gov_tit">留学深造</h5>
<AppCard title="留学深造">
<template #title>
<nuxt-link to="/studyAbroad">留学深造</nuxt-link>
</template>
<div class="content_con">
<div class="con_left con_left1" v-for="(item, index) in abroadList" :key="index">
<div class="left_tit">{{ item.title }}</div>
......@@ -19,7 +22,7 @@
</div>
</div>
</div>
</div>
</AppCard>
</template>
<script>
......@@ -68,95 +71,85 @@ export default {
</script>
<style lang="scss" scoped>
.main_content {
width: 1200px;
margin: 66px auto;
.gov_tit {
font-size: 30px;
font-weight: bold;
color: #333333;
}
.content_con {
margin-top: 21px;
display: flex;
background: #ffffff;
padding: 43px 30px 50px 30px;
.content_con {
margin-top: 21px;
.con_left {
height: 192px;
display: flex;
background: #ffffff;
padding: 43px 30px 50px 30px;
.con_left {
height: 192px;
flex-direction: column;
// align-items: center;
.left_tit {
font-size: 16px;
color: #000000;
}
.left_content {
display: flex;
flex-direction: column;
// align-items: center;
.left_tit {
font-size: 16px;
color: #000000;
}
.left_content {
display: flex;
.left_con1 {
display: flex;
margin-top: 30px;
.left_con1 {
display: flex;
margin-top: 30px;
li {
li {
width: 260px;
height: 110px;
background: #f9f8f8;
box-sizing: border-box;
.con {
width: 260px;
height: 110px;
background: #f9f8f8;
box-sizing: border-box;
.con {
width: 260px;
height: 110px;
display: flex;
justify-content: center;
align-items: center;
padding: 10px 25px 10px 10px;
}
&:hover {
background: #aa1940;
.con_desc {
color: #f9f8f8;
}
}
.con_img {
width: 128px;
height: 90px;
}
display: flex;
justify-content: center;
align-items: center;
padding: 10px 25px 10px 10px;
}
&:hover {
background: #aa1940;
.con_desc {
margin-left: 8px;
text-align: center;
width: 84px;
font-size: 14px;
line-height: 18px;
color: #333333;
white-space: nowrap;
color: #f9f8f8;
}
}
li:nth-child(2) {
margin-left: 20px;
.con_img {
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 {
width: 0px;
height: 110px;
border: 1px dashed #c4c4c4;
margin: 30px 30px;
li:nth-child(2) {
margin-left: 20px;
}
}
}
.con_left:nth-child(1) {
.left_tit {
margin-left: 275px;
.line1 {
width: 0px;
height: 110px;
border: 1px dashed #c4c4c4;
margin: 30px 30px;
}
}
.con_left1:nth-child(1) {
.left_tit {
margin-left: 226px;
}
}
.con_left:nth-child(1) {
.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>
<template>
<div class="home-alumni">
<AppCard title="校友故事" class="max-width">
<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> -->
<AppCard title="校友故事" class="home-alumni">
<template #title><nuxt-link to="/alumnus/story">校友故事</nuxt-link></template>
<template #header-aside><nuxt-link to="/alumnus/story">查看更多+</nuxt-link></template>
<app-link v-if="listData.length > 0" :data="listData[0]" :to="`/alumnus/story/${listData[0].id}`">
<div class="alumni_content">
<img class="content_img" :src="listData[0].web_img_uri" loading="lazy" />
......@@ -29,7 +15,7 @@
</div>
</div>
</app-link>
</div>
</AppCard>
</template>
<script>
import AppCard from '@/components/AppCard'
......@@ -38,15 +24,7 @@ export default {
components: { AppCard, AppLink },
data() {
return {
listData: [],
swiperOptions: {
autoplay: true,
delay: 5000,
loop: true,
slidesPerView: 'auto',
centeredSlides: true,
spaceBetween: 10
}
listData: []
}
},
async fetch() {
......@@ -61,104 +39,32 @@ export default {
}
</script>
<style lang="scss" scoped>
.max-width {
max-width: 1200px;
margin: 0 auto;
}
.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;
.alumni_content {
display: flex;
height: 400px;
.content_img {
width: 600px;
height: 100%;
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_img {
width: 600px;
height: 100%;
object-fit: cover;
}
}
.is-h5 {
.home-alumni {
margin: 0.2rem 0.15rem;
padding: 0;
.tips {
font-size: 0.1rem;
font-weight: 500;
margin-bottom: 0.1rem;
}
.swiper-slide {
position: relative;
width: 2.1rem;
height: 1.22rem;
.content_desc {
width: 568px;
height: 100%;
margin-left: 32px;
.desc_tit {
margin-top: 56px;
font-size: 20px;
line-height: 32px;
color: #000000;
}
.swiper-slide-active {
width: 2.1rem;
height: 1.34rem;
.desc_con {
text-align: justify;
font-size: 16px;
font-weight: 400;
line-height: 34px;
color: #666666;
margin-top: 30px;
}
}
}
......
<template>
<div class="home-menu">
<div class="menu-card" v-for="(row, index) in rows" :key="index">
<h2 class="menu-card__title">{{ row.title }}</h2>
<div>
<AppCard v-for="(row, index) in rows" :key="index">
<template #title>
<nuxt-link :to="row.to">{{ row.title }}</nuxt-link>
</template>
<ul class="menu-card-nav">
<li v-for="(item, itemIndex) in row.children" :key="itemIndex">
<AppLink :data="item">
......@@ -11,7 +13,7 @@
</AppLink>
</li>
</ul>
</div>
</AppCard>
</div>
</template>
<script>
......@@ -23,6 +25,7 @@ export default {
rows: [
{
title: '数字人才产教融合实践基地',
to: '/practice',
children: [
{
icon: 'https://webapp-pub.ezijing.com/www/pc/home/gov/icon_gongjian.png',
......@@ -78,73 +81,58 @@ export default {
</script>
<style lang="scss" scoped>
.home-menu {
width: 1200px;
margin: 90px auto;
.menu-card {
width: 100%;
.menu-card__title {
font-size: 30px;
font-weight: bold;
color: #333333;
.menu-card-nav {
display: flex;
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;
.menu-card-nav {
display: flex;
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;
}
.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;
}
}
}
......
<template>
<div class="service-content max-width-center">
<div class="title">数字经济产业学院</div>
<AppCard title="数字经济产业学院">
<template #title>
<nuxt-link to="/services">数字经济产业学院</nuxt-link>
</template>
<ul class="nav-content">
<li v-for="(item, index) in data" :key="index">
<AppLink :data="item">
......@@ -12,7 +14,7 @@
</AppLink>
</li>
</ul>
</div>
</AppCard>
</template>
<script>
import AppLink from '@/components/Link'
......@@ -82,64 +84,55 @@ export default {
</script>
<style lang="scss" scoped>
.service-content {
width: 1200px;
margin: 70px auto;
.title {
font-size: 30px;
font-weight: bold;
color: #333333;
}
.nav-content {
display: flex;
justify-content: space-between;
.nav-content {
display: flex;
justify-content: space-between;
background: #ffffff;
padding: 78px 58px 70px 56px;
margin-top: 20px;
li {
background: #ffffff;
padding: 78px 58px 70px 56px;
margin-top: 20px;
li {
background: #ffffff;
margin-right: 20px;
cursor: pointer;
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 {
width: 100px;
height: 100px;
background: #f6f5f5;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
background: #aa1941;
}
img {
display: block;
.text {
color: #aa1941;
}
.icon-active {
.icon {
display: none;
}
&:hover {
.img_box {
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;
.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;
}
}
}
</style>
<template>
<div class="main_content">
<h5 class="gov_tit">国际学位</h5>
<AppCard title="国际学位">
<template #title>
<nuxt-link to="/internationalDegree">国际学位</nuxt-link>
</template>
<div class="content_con">
<div class="con_left" v-for="(item, index) in degreeList" :key="index">
<div class="left_tit">{{ item.title }}</div>
......@@ -17,7 +19,7 @@
</div>
</div>
</div>
</div>
</AppCard>
</template>
<script>
import AppLink from '@/components/Link'
......@@ -81,132 +83,122 @@ export default {
</script>
<style lang="scss" scoped>
.main_content {
width: 1200px;
margin: 70px auto;
.gov_tit {
font-size: 30px;
font-weight: bold;
color: #333333;
}
.content_con {
margin-top: 20px;
display: flex;
padding: 59px 40px 49px 32px;
background: #ffffff;
.content_con {
margin-top: 20px;
.con_left {
height: 192px;
display: flex;
padding: 59px 40px 49px 32px;
background: #ffffff;
.con_left {
height: 192px;
flex-direction: column;
.left_tit {
font-size: 16px;
color: #000000;
}
.left_content {
display: flex;
flex-direction: column;
.left_tit {
font-size: 16px;
color: #000000;
}
.left_content {
.left_con {
display: flex;
.left_con {
justify-content: space-around;
margin-top: 30px;
li {
width: 148px;
display: flex;
justify-content: space-around;
margin-top: 30px;
li {
width: 148px;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
flex-direction: column;
align-items: center;
cursor: pointer;
&:hover {
background: #aa1940;
padding-top: 10px;
padding-bottom: 14px;
margin-top: -10px;
.con_desc {
color: #f9f8f8;
}
}
.con_img {
width: 128px;
height: 90px;
}
&:hover {
background: #aa1940;
padding-top: 10px;
padding-bottom: 14px;
margin-top: -10px;
.con_desc {
text-align: center;
margin-top: 10px;
font-size: 14px;
line-height: 18px;
color: #333333;
color: #f9f8f8;
}
}
li:not(:last-child) {
margin-right: 10px;
.con_img {
width: 128px;
height: 90px;
}
.con_desc {
text-align: center;
margin-top: 10px;
font-size: 14px;
line-height: 18px;
color: #333333;
}
}
.line {
width: 0px;
height: 129px;
border: 1px dashed #c4c4c4;
margin: 30px 25px 5px 25px;
li:not(:last-child) {
margin-right: 10px;
}
}
.line {
width: 0px;
height: 129px;
border: 1px dashed #c4c4c4;
margin: 30px 25px 5px 25px;
}
.left_con1 {
display: flex;
margin-top: 30px;
.left_con1 {
display: flex;
margin-top: 30px;
li {
li {
width: 342px;
height: 130px;
background: #f9f8f8;
box-sizing: border-box;
.con {
width: 342px;
height: 130px;
background: #f9f8f8;
box-sizing: border-box;
.con {
width: 342px;
height: 130px;
display: flex;
justify-content: center;
align-items: center;
padding: 10px 16px 10px 10px;
}
&:hover {
background: #aa1940;
.con_desc {
color: #f9f8f8;
}
}
.con_img {
width: 160px;
height: 110px;
}
display: flex;
justify-content: center;
align-items: center;
padding: 10px 16px 10px 10px;
}
&:hover {
background: #aa1940;
.con_desc {
margin-left: 16px;
white-space: nowrap;
text-align: center;
width: 140px;
font-size: 14px;
line-height: 18px;
color: #333333;
color: #f9f8f8;
}
}
li:nth-child(2) {
margin-left: 30px;
.con_img {
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 {
width: 0px;
height: 129px;
border: 1px dashed #c4c4c4;
margin: 30px 35px;
li:nth-child(2) {
margin-left: 30px;
}
}
}
.con_left:nth-child(1) {
.left_tit {
margin-left: 275px;
.line1 {
width: 0px;
height: 129px;
border: 1px dashed #c4c4c4;
margin: 30px 35px;
}
}
.con_left:nth-child(2) {
align-items: center;
}
.con_left:nth-child(1) {
.left_tit {
margin-left: 275px;
}
}
.con_left:nth-child(2) {
align-items: center;
}
}
</style>
<template>
<AppCard title="通知公告" class="home-news">
<AppCard title="通知公告">
<template #title>
<nuxt-link to="/about/news">通知公告</nuxt-link>
</template>
<template #header-aside>
<nuxt-link to="/about/news">{{ $t('viewMore') }}</nuxt-link>
</template>
......@@ -101,180 +104,175 @@ export default {
}
</script>
<style lang="scss" scoped>
.home-news {
max-width: 1200px;
margin: 80px auto;
.news-content {
margin-top: 15px;
.news-content {
margin-top: 15px;
display: flex;
.left-content {
width: 600px;
height: 282px;
background: #ffffff;
box-shadow: 0px 0px 29px rgba(0, 0, 0, 0.03);
padding: 40px 25px 40px 38px;
display: flex;
.left-content {
width: 600px;
height: 282px;
background: #ffffff;
box-shadow: 0px 0px 29px rgba(0, 0, 0, 0.03);
padding: 40px 25px 40px 38px;
display: flex;
.tit {
font-size: 34px;
font-weight: 500;
line-height: 51px;
color: #424242;
padding-top: 29px;
text-align: center;
}
.list {
overflow: hidden;
::v-deep {
.swiper-container {
height: 100%;
// transform: translateY(-2px);
}
.tit {
font-size: 34px;
font-weight: 500;
line-height: 51px;
color: #424242;
padding-top: 29px;
text-align: center;
}
.list {
overflow: hidden;
::v-deep {
.swiper-container {
height: 100%;
// transform: translateY(-2px);
}
.swiper-slide-active {
.li {
border-bottom: 1px solid #999999;
}
}
.swiper-slide-active {
.li {
border-bottom: 1px solid #999999;
}
}
.li {
width: 549px;
.li {
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;
flex-direction: column;
align-items: center;
padding-bottom: 30px;
box-sizing: border-box;
padding-left: 12px;
justify-content: center;
.time-block {
width: 70px;
height: 70px;
background: #aa1941;
border-radius: 5px;
display: flex;
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;
}
.m-time {
font-size: 20px;
font-weight: normal;
color: #ffffff;
text-align: center;
opacity: 0.8;
}
.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; //超出第几行,关键在这里
.t-time {
font-size: 16px;
font-weight: normal;
line-height: 15px;
color: #ffffff;
opacity: 0.8;
text-align: center;
}
}
.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;
height: 282px;
}
.right-content {
margin-left: 45px;
height: 282px;
ul {
li {
padding: 9px 0 22px 0;
ul {
li {
padding: 9px 0 22px 0;
display: flex;
align-items: center;
cursor: pointer;
&:nth-child(1) {
border: none;
}
&:hover {
.content_con {
.text {
color: #aa1941;
}
.desc {
color: #aa1941;
}
display: flex;
align-items: center;
cursor: pointer;
&:nth-child(1) {
border: none;
}
&:hover {
.content_con {
.text {
color: #aa1941;
}
.time-block {
background: #aa1941;
.m-time {
color: #ffffff;
opacity: 1;
}
.t-time {
color: #ffffff;
opacity: 1;
}
.desc {
color: #aa1941;
}
}
.time-block {
width: 70px;
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;
background: #aa1941;
.m-time {
font-size: 20px;
font-weight: normal;
color: #777777;
opacity: 0.8;
color: #ffffff;
opacity: 1;
}
.t-time {
font-size: 16px;
font-weight: normal;
line-height: 15px;
color: #777777;
opacity: 0.8;
color: #ffffff;
opacity: 1;
}
}
.content_con {
width: 459px;
margin-left: 15px;
}
.text {
text-align: left;
font-size: 18px;
font-weight: 500;
color: #333333;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
// margin-bottom: 11px;
}
.desc {
text-align: left;
.time-block {
width: 70px;
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 {
font-size: 20px;
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;
font-weight: 400;
line-height: 22px;
color: #666666;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.text {
text-align: left;
font-size: 18px;
font-weight: 500;
color: #333333;
display: -webkit-box;
-webkit-box-orient: vertical;
-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 {
program: '专业共建',
college: '数字经济产业学院',
career: '新职业',
highLevel: '实习就业',
highLevel: '实习就业',
online: '在线教育解决方案',
xChild: {
products: '金融产品数字化营销证书'
......
......@@ -61,3 +61,10 @@ export default {
}
}
</script>
<style lang="scss">
.card {
max-width: 1200px;
margin: 80px auto;
}
</style>
......@@ -2,7 +2,7 @@
<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_title">数字经济产业学院</div>
<div class="part_desc">
数字经济产教融合实践基地”的建设内涵由“N+3”组成,即N个数字经济产业学院集群;一个数字经济实验室,一个数字职业技能中心;一个数字经济<br />产业与人才公共服务平台。
</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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论