提交 b039dbd6 authored 作者: matian's avatar matian

updates

上级 40aed6b3
...@@ -14,6 +14,10 @@ export default { ...@@ -14,6 +14,10 @@ export default {
const _this = this const _this = this
return { return {
list: [ list: [
{
name: '学校介绍',
path: '/school/school'
},
{ {
name: '项目介绍', name: '项目介绍',
children: [ children: [
...@@ -22,13 +26,7 @@ export default { ...@@ -22,13 +26,7 @@ export default {
{ name: '最近动态', path: '/news/hot' } { name: '最近动态', path: '/news/hot' }
] ]
}, },
// {
// name: '学校介绍',
// children: [
// { name: '纽约州立大学石溪分校', path: '/about/school' }
// // { name: '师资介绍', path: '/about/teacher' }
// ]
// },
{ {
name: '学历认证', name: '学历认证',
path: '/academic/academic' path: '/academic/academic'
...@@ -41,17 +39,28 @@ export default { ...@@ -41,17 +39,28 @@ export default {
] ]
}, },
{ {
name: '资料下载', name: '就业福利',
path: '/dataDownload/dataDownload' path: '/returnPolicy/returnPolicy',
children: [
{
name: '高薪就业',
path: '/news/hot/74805116510687232'
},
{
name: '就业指导',
path: '/returnPolicy/guidance'
},
{
name: this.$t('menu.returnPolicy'),
path: '/returnPolicy/returnPolicy'
}
]
}, },
{ {
name: '归国政策', name: '资料下载',
path: '/returnPolicy/returnPolicy' path: '/dataDownload/dataDownload'
}, },
// {
// name: '常见问题',
// path: '/question/question'
// },
{ {
name: '报名申请', name: '报名申请',
onClick: () => { onClick: () => {
......
<template> <template>
<section class="section"> <section class="section" v-if="!isMobile ? 'is-h5' : 'is-pc'">
<div class="swiper-content1" @mouseenter="swiperStop" @mouseleave="swiperStart"> <div class="swiper-content1" @mouseenter="swiperStop" @mouseleave="swiperStart">
<div v-swiper:mySwiper1="swiperOption" ref="mySwiper"> <div v-swiper:mySwiper1="swiperOption" ref="mySwiper">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
<div class="swiper-slide" v-for="(item, index) in videoData" :key="index"> <div class="swiper-slide" v-for="(item, index) in videoData" :key="index">
<video :src="item.web_img_uri" /> <!-- <video :src="item.web_img_uri" /> -->
<video controls>
<source :src="item.web_img_uri" type="video/mp4" />
</video>
</div> </div>
</div> </div>
</div> </div>
...@@ -52,7 +55,7 @@ export default { ...@@ -52,7 +55,7 @@ export default {
loop: true, loop: true,
slidesPerView: 'auto', slidesPerView: 'auto',
centeredSlides: true, centeredSlides: true,
spaceBetween: 20, spaceBetween: 1,
on: { on: {
init() { init() {
_this.swiper.slideNext() _this.swiper.slideNext()
...@@ -82,19 +85,35 @@ export default { ...@@ -82,19 +85,35 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.section { .is-pc {
max-width: 1212px; .section {
margin: 83px auto; max-width: 1212px;
.swiper-content1 { margin: 83px auto;
width: 1200px; .swiper-content1 {
width: 1200px;
.swiper-slide { .swiper-slide {
width: 360px; width: 360px;
height: 574px; height: 574px;
video { video {
width: 100%; width: 100%;
height: 100%; height: 100%;
line-height: 100%; line-height: 100%;
}
}
}
}
}
.is-h5 {
.section {
.swiper-content1 {
.swiper-slide {
width: 3.3rem;
height: 4.58rem;
video {
height: 100%;
line-height: 100%;
}
} }
} }
} }
......
...@@ -58,30 +58,9 @@ export default { ...@@ -58,30 +58,9 @@ export default {
children: [ children: [
{ name: this.$t('menu.schoolChild.school3'), path: '/about/school' }, { name: this.$t('menu.schoolChild.school3'), path: '/about/school' },
{ name: this.$t('menu.newsChild.hot'), path: '/news/hot' } { name: this.$t('menu.newsChild.hot'), path: '/news/hot' }
// { name: this.$t('menu.projectChild.feature'), path: '/project-intro/charac' },
// { name: this.$t('menu.projectChild.cert'), path: '/project-intro/certificate' }
] ]
}, },
// 项目优势
// {
// name: this.$t('menu.course'),
// path: '/about/course',
// children: [
// { name: this.$t('menu.courseChild.set'), path: '/about/course' },
// { name: this.$t('menu.courseChild.teachers'), path: '/about/teacher' }
// ]
// },
// 学校介绍
// {
// name: this.$t('menu.school'),
// path: '/about/school',
// children: [
// // // { name: this.$t('menu.schoolChild.school1'), path: '/school/school1' },
// // // { name: this.$t('menu.schoolChild.school2'), path: '/school/school2' },
// { name: this.$t('menu.schoolChild.school3'), path: '/about/school' }
// // { name: this.$t('menu.courseChild.teachers'), path: '/about/teacher' }
// ]
// },
// 学历认证 // 学历认证
{ {
name: this.$t('menu.academic'), name: this.$t('menu.academic'),
...@@ -103,7 +82,8 @@ export default { ...@@ -103,7 +82,8 @@ export default {
children: [ children: [
{ {
name: '高薪就业', name: '高薪就业',
path: '/news/hot/74805116510687232' path: '/returnPolicy/salary'
}, },
{ {
name: '就业指导', name: '就业指导',
......
...@@ -123,32 +123,59 @@ export default { ...@@ -123,32 +123,59 @@ export default {
} }
.is-h5 { .is-h5 {
.dataList { .dataList {
padding: 0.48rem 0 0.54rem 0; width: 3.3rem;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: flex-start;
flex-wrap: wrap;
margin-left: 50px;
padding: 0.48rem 0.61rem 0.3rem;
.item { .item {
width: 1.68rem; width: 3.3rem;
height: 2.45rem; height: 0.5rem;
opacity: 1; opacity: 1;
display: flex; display: flex;
justify-content: flex-start; justify-content: space-between;
align-items: center; align-items: center;
flex-direction: column;
background: #f6f6f6;
cursor: pointer; cursor: pointer;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.38); border-top: 1px solid #dedede;
.item_top { border-bottom: 1px solid #dedede;
width: 100%; padding: 0 0.23rem 0 0.1rem;
height: 1.74rem; .item_left {
display: flex;
justify-content: space-between;
align-items: center;
.item_left_img {
width: 0.235rem;
height: 0.235rem;
}
.item_left_line {
width: 0px;
height: 0.3rem;
border: 1px solid #dedede;
opacity: 1;
margin-left: 0.26rem;
}
.item_left_doc {
font-size: 0.08rem;
font-weight: 400;
margin-left: 0.24rem;
color: #666666;
}
} }
.doc { .item_right {
width: 100%; .btn {
height: 0.7rem; width: 0.69rem;
font-size: 0.14rem; height: 0.16rem;
font-weight: 400; background: #aa1941;
line-height: 0.7rem; border-radius: 4px;
text-align: center; line-height: 0.16rem;
color: #333333; text-align: center;
font-size: 0.07rem;
color: #ffffff;
}
} }
} }
} }
......
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 0.01rem; width: 0.01rem;
height: 95%; height: 93%;
background-color: #aa1941; background-color: #aa1941;
} }
.apply-item { .apply-item {
......
...@@ -1789,6 +1789,11 @@ export default { ...@@ -1789,6 +1789,11 @@ export default {
return { return {
frameParams: { frameParams: {
slider: [ slider: [
{
name: '高薪就业',
path: '/returnPolicy/salary'
},
{ {
name: '就业指导', name: '就业指导',
path: '/returnPolicy/guidance' path: '/returnPolicy/guidance'
......
...@@ -72,6 +72,10 @@ export default { ...@@ -72,6 +72,10 @@ export default {
return { return {
frameParams: { frameParams: {
slider: [ slider: [
{
name: '高薪就业',
path: '/returnPolicy/salary'
},
{ {
name: '就业指导', name: '就业指导',
path: '/returnPolicy/guidance' path: '/returnPolicy/guidance'
......
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论