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

updates

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