提交 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,16 +71,7 @@ export default { ...@@ -68,16 +71,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.main_content { .content_con {
width: 1200px;
margin: 66px auto;
.gov_tit {
font-size: 30px;
font-weight: bold;
color: #333333;
}
.content_con {
margin-top: 21px; margin-top: 21px;
display: flex; display: flex;
background: #ffffff; background: #ffffff;
...@@ -157,6 +151,5 @@ export default { ...@@ -157,6 +151,5 @@ export default {
.con_left:nth-child(2) { .con_left:nth-child(2) {
align-items: center; 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,58 +39,7 @@ export default { ...@@ -61,58 +39,7 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.max-width { .alumni_content {
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; display: flex;
height: 400px; height: 400px;
...@@ -140,26 +67,5 @@ export default { ...@@ -140,26 +67,5 @@ export default {
margin-top: 30px; margin-top: 30px;
} }
} }
}
}
.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;
}
.swiper-slide-active {
width: 2.1rem;
height: 1.34rem;
}
}
} }
</style> </style>
<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,20 +81,7 @@ export default { ...@@ -78,20 +81,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.home-menu { .menu-card-nav {
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; display: flex;
justify-content: space-between; justify-content: space-between;
background: #ffffff; background: #ffffff;
...@@ -145,7 +135,5 @@ export default { ...@@ -145,7 +135,5 @@ export default {
margin-top: 20px; margin-top: 20px;
} }
} }
}
}
} }
</style> </style>
<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,15 +84,7 @@ export default { ...@@ -82,15 +84,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.service-content { .nav-content {
width: 1200px;
margin: 70px auto;
.title {
font-size: 30px;
font-weight: bold;
color: #333333;
}
.nav-content {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background: #ffffff; background: #ffffff;
...@@ -140,6 +134,5 @@ export default { ...@@ -140,6 +134,5 @@ export default {
white-space: nowrap; 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,16 +83,7 @@ export default { ...@@ -81,16 +83,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.main_content { .content_con {
width: 1200px;
margin: 70px auto;
.gov_tit {
font-size: 30px;
font-weight: bold;
color: #333333;
}
.content_con {
margin-top: 20px; margin-top: 20px;
display: flex; display: flex;
padding: 59px 40px 49px 32px; padding: 59px 40px 49px 32px;
...@@ -207,6 +200,5 @@ export default { ...@@ -207,6 +200,5 @@ export default {
.con_left:nth-child(2) { .con_left:nth-child(2) {
align-items: center; 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,11 +104,7 @@ export default { ...@@ -101,11 +104,7 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.home-news { .news-content {
max-width: 1200px;
margin: 80px auto;
.news-content {
margin-top: 15px; margin-top: 15px;
display: flex; display: flex;
.left-content { .left-content {
...@@ -279,6 +278,5 @@ export default { ...@@ -279,6 +278,5 @@ export default {
} }
} }
} }
}
} }
</style> </style>
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论