Commit 23a3871a authored by 罗超's avatar 罗超

1

parent 452f4068
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
v-model="slide" v-model="slide"
swipeable swipeable
animated animated
:navigation="swiperList.length>1" :navigation="swiperList.length > 1"
height="100%" height="100%"
autoplay autoplay
infinite infinite
...@@ -15,20 +15,20 @@ ...@@ -15,20 +15,20 @@
<div v-else @click="onClick" class="parmaryBtn"></div> <div v-else @click="onClick" class="parmaryBtn"></div>
</template> </template>
<q-carousel-slide <q-carousel-slide
v-for="item in swiperList" v-for="(item,index) in swiperList"
:key="item.Id" :key="item.Id"
:name="item.NavTypeName" :name="index"
:img-src="item.BgImg" :img-src="item.BgImg"
> >
<div class="conbox"> <div class="conbox">
<div class="con1"><span class="jh">{{item.NavTitle}}<!--甲鹤---></span><!--特色教室--></div> <div class="con1">
<span class="jh">甲鹤</span>-{{ item.NavTitle }}
</div>
<div class="con2"> <div class="con2">
{{item.SubTitle}} {{ item.SubTitle }}
<!-- 这里给一点小文字介绍什么的最好,这里给一点小文字介绍什么的最好,这里给一点
小文字介绍什么的最好。 -->
</div> </div>
<div class="con3"></div> <div class="con3"></div>
<div class="btn">查看更多</div> <div class="btn" @click="seeMore(item.LinkUrl)">查看更多</div>
</div> </div>
</q-carousel-slide> </q-carousel-slide>
</q-carousel> </q-carousel>
...@@ -36,17 +36,22 @@ ...@@ -36,17 +36,22 @@
</template> </template>
<script> <script>
export default { export default {
props:{ props: {
swiperList:{ swiperList: {
type:Array, type: Array,
default:[] default: [],
}, },
}, },
data() { data() {
return { return {
slide: this.swiperList.NavTitle, slide: 0,
}; };
}, },
methods:{
seeMore(url){
this.$router.push(url)
}
}
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -63,8 +68,8 @@ export default { ...@@ -63,8 +68,8 @@ export default {
.con1 { .con1 {
width: calc(845 / 1920 * 100%); width: calc(845 / 1920 * 100%);
white-space: nowrap; white-space: nowrap;
// font-size: 100px;
font-size: 5.208vw; font-size: 5.208vw;
line-height: 5.208vw;
color: #111111; color: #111111;
margin-bottom: 3.125vw; margin-bottom: 3.125vw;
.jh { .jh {
...@@ -73,8 +78,9 @@ export default { ...@@ -73,8 +78,9 @@ export default {
} }
.con2 { .con2 {
width: 38.489vw; width: 38.489vw;
font-size: 20px !important;
font-size: 1.041vw; font-size: 1.041vw;
line-height: 1.51vw;
font-weight: 500;
color: #111111; color: #111111;
padding-bottom: 3.593vw; padding-bottom: 3.593vw;
} }
......
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei !important;
color: #ffffff; color: #ffffff;
} }
} }
......
...@@ -2,23 +2,7 @@ ...@@ -2,23 +2,7 @@
<div class="jiahe"> <div class="jiahe">
<Header :menuList="menuList" :curMenu="menuList[1].Name" :type="2" /> <Header :menuList="menuList" :curMenu="menuList[1].Name" :type="2" />
<!-- bannner部分 --> <!-- bannner部分 -->
<div <Banner :swiperList="swiperData"/>
class="JapaneseTrainBannerBox"
:style="{ backgroundImage: 'url(' + swiperData[0].BgImg + ')' }"
>
<div class="conbox">
<div class="con1">
<span class="jh">甲鹤</span>-{{ swiperData[0].NavTitle }}
</div>
<div class="con2">
{{ swiperData[0].SubTitle }}
<!-- 这里给一点小文字介绍什么的最好,这里给一点小文字介绍什么的最好,这里给一点
小文字介绍什么的最好。 -->
</div>
<div class="con3"></div>
<div class="btn" @click="seeMore(swiperData[0].LinkUrl)">查看更多</div>
</div>
</div>
<!-- 教育产品 --> <!-- 教育产品 -->
<div class="edu_con"> <div class="edu_con">
<div class="edu_name">教育产品</div> <div class="edu_name">教育产品</div>
...@@ -239,7 +223,7 @@ ...@@ -239,7 +223,7 @@
<script> <script>
import Header from "../../components/header/header"; import Header from "../../components/header/header";
import Footer from "../../components/footer/footerType2"; import Footer from "../../components/footer/footerType2";
// import Banner from "../../components/banner/banner"; import Banner from "../../components/banner/banner";
import TeacherTeam from "../../components/teacherTeam/teacherTeam"; import TeacherTeam from "../../components/teacherTeam/teacherTeam";
import NoData from "../../components/noData/noData"; import NoData from "../../components/noData/noData";
import { getWebNavList } from "../../api/indexApi.js"; import { getWebNavList } from "../../api/indexApi.js";
...@@ -255,7 +239,7 @@ export default { ...@@ -255,7 +239,7 @@ export default {
components: { components: {
Header, Header,
Footer, Footer,
// Banner, Banner,
TeacherTeam, TeacherTeam,
NoData, NoData,
}, },
...@@ -452,58 +436,6 @@ export default { ...@@ -452,58 +436,6 @@ export default {
height: 100%; height: 100%;
background-color: #f6f6f6; background-color: #f6f6f6;
} }
.JapaneseTrainBannerBox {
width: 100%;
height: 39.0625vw;
// background-image: url("../../assets/images/aboutUs/aboutUsBanner.png");
background-repeat: no-repeat;
background-size: contain;
position: relative;
.conbox {
position: absolute;
top: 9.635vw;
left: 10.208vw;
}
.con1 {
width: calc(845 / 1920 * 100%);
white-space: nowrap;
// font-size: 100px;
font-size: 5.208vw;
line-height: 5.208vw;
color: #111111;
margin-bottom: 3.125vw;
.jh {
font-family: "pingfang-b" !important;
}
}
.con2 {
width: 38.489vw;
font-size: 1.041vw;
line-height: 1.51vw;
font-weight: 500;
color: #111111;
padding-bottom: 3.593vw;
}
.con3 {
width: 31.041vw;
height: 1px;
background-color: #111111;
margin-bottom: 4.01vw;
}
.btn {
width: 9.375vw;
height: 2.916vw;
background-color: #45766dff;
// font-size: 24px !important;
font-size: 1.249vw;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
cursor: pointer;
}
}
.edu_con { .edu_con {
width: 62.5vw; width: 62.5vw;
margin: 5.516vw auto 0; margin: 5.516vw auto 0;
......
...@@ -104,11 +104,8 @@ export default { ...@@ -104,11 +104,8 @@ export default {
.aboutUsBannerBox { .aboutUsBannerBox {
width: 100%; width: 100%;
height: 52.08vw; height: 52.08vw;
// background-image: url("../../assets/images/aboutUs/aboutUsBanner.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
// display: flex;
// align-items: center;
padding-left: 10.208vw; padding-left: 10.208vw;
.aboutUs_conbox { .aboutUs_conbox {
.banner_title { .banner_title {
......
...@@ -540,8 +540,7 @@ ...@@ -540,8 +540,7 @@
class="class_icon5" class="class_icon5"
/> />
<q-img <q-img
src="../assets/images/index/chairman_img.png" src="../assets/images/index/chairman_index_img.png"
spinner-color="white"
class="chairman_img" class="chairman_img"
/> />
<div class="chairman_desc"> <div class="chairman_desc">
...@@ -1157,7 +1156,6 @@ export default { ...@@ -1157,7 +1156,6 @@ export default {
.fourbox { .fourbox {
width: 100%; width: 100%;
padding-top: calc(2377 / 1920 * 100%); padding-top: calc(2377 / 1920 * 100%);
position: relative; position: relative;
.subFourBox { .subFourBox {
width: 100vw; width: 100vw;
...@@ -1227,11 +1225,10 @@ export default { ...@@ -1227,11 +1225,10 @@ export default {
width: 100vw; width: 100vw;
height: 56.25vw; height: 56.25vw;
position: relative; position: relative;
width: 100%;
height: 100%;
background-image: url("../assets/images/index/chairman_bg.png"); background-image: url("../assets/images/index/chairman_bg.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
background-position: center;
display: flex; display: flex;
.class_icon5 { .class_icon5 {
width: calc(350 / 1920 * 100%); width: calc(350 / 1920 * 100%);
...@@ -1241,8 +1238,8 @@ export default { ...@@ -1241,8 +1238,8 @@ export default {
left: 41.354vw; left: 41.354vw;
} }
.chairman_img { .chairman_img {
width: calc(700 / 1920 * 100%); width: 36.458vw;
height: 100%; height: auto;
background-color: #eee; background-color: #eee;
} }
.chairman_desc { .chairman_desc {
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<div class="joinUs_imgBox"> <div class="joinUs_imgBox">
<div v-for="item in recruitmentTypeList" :key="item.Id" class="imgItem" @click="checkType(item)"> <div v-for="item in recruitmentTypeList" :key="item.Id" class="imgItem" @click="checkType(item)">
<div class="main_title">{{ item.TypeName }}</div> <div class="main_title">{{ item.TypeName }}</div>
<img :src="item.ImgCover" alt="" class="imgItem" v-if="!item.check"/> <img :src="item.CheckImg" alt="" class="imgItem" v-if="item.Id==currentId"/>
<img :src="item.CheckImg" alt="" class="imgItem" v-if="item.check"/> <img :src="item.ImgCover" alt="" class="imgItem" v-else />
</div> </div>
</div> </div>
<div class="conBox" v-if="jobList.length>0"> <div class="conBox" v-if="jobList.length>0">
...@@ -131,6 +131,7 @@ export default { ...@@ -131,6 +131,7 @@ export default {
Name: "", Name: "",
}, },
], ],
currentId:"",
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
...@@ -161,12 +162,8 @@ export default { ...@@ -161,12 +162,8 @@ export default {
}, },
// 切换职位类型 // 切换职位类型
checkType(item){ checkType(item){
item.check=!item.check this.currentId=item.Id
if(item.check){ this.msg.TypeId=item.Id
this.msg.TypeId=item.Id
}else{
this.msg.TypeId=""
}
this.getWebRecruitmentPage() this.getWebRecruitmentPage()
}, },
//跳转职位详情 //跳转职位详情
...@@ -176,10 +173,7 @@ export default { ...@@ -176,10 +173,7 @@ export default {
//获取招聘信息分页列表 //获取招聘信息分页列表
async getWebRecruitmentTypeList() { async getWebRecruitmentTypeList() {
let res = await getWebRecruitmentTypeList(); let res = await getWebRecruitmentTypeList();
this.recruitmentTypeList = res.Data.map(item=>{ this.recruitmentTypeList = res.Data
item.check=false
return item
});
}, },
//获取招聘信息分页列表 //获取招聘信息分页列表
async getWebRecruitmentPage() { async getWebRecruitmentPage() {
...@@ -258,7 +252,6 @@ export default { ...@@ -258,7 +252,6 @@ export default {
.bannerBox { .bannerBox {
width: 100%; width: 100%;
height: 16.666vw; height: 16.666vw;
// background-image: url("../../assets/images/joinUs/joinUsBanner.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
display: flex; display: flex;
...@@ -289,6 +282,7 @@ export default { ...@@ -289,6 +282,7 @@ export default {
.main_title { .main_title {
font-size: 1.354vw; font-size: 1.354vw;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
line-height: 1.354vw;
color: #000000; color: #000000;
position: absolute; position: absolute;
top: 1.5vw; top: 1.5vw;
......
...@@ -653,6 +653,7 @@ export default { ...@@ -653,6 +653,7 @@ export default {
background-color: #fff; background-color: #fff;
margin-right: 1.25vw; margin-right: 1.25vw;
box-shadow: 0px 1px 6px 0px rgba(104, 104, 104, 0.1); box-shadow: 0px 1px 6px 0px rgba(104, 104, 104, 0.1);
cursor: pointer;
.itemImg { .itemImg {
width: 20vw; width: 20vw;
height: 13.229vw; height: 13.229vw;
......
<template> <template>
<div class="jiahe"> <div class="jiahe">
<Header :menuList="menuList" :curMenu="menuList[2].Name" :type="2" /> <Header :menuList="menuList" :curMenu="menuList[2].Name" :type="2" />
<!-- <Banner :swiperList="swiperData" /> -->
<!-- bannner部分 --> <!-- bannner部分 -->
<div <Banner :swiperList="swiperData" />
class="studyServeBannerBox"
:style="{ backgroundImage: 'url(' + swiperData[0].BgImg + ')' }"
>
<div class="conbox">
<div class="con1">
<span class="jh">甲鹤</span>-{{ swiperData[0].NavTitle }}
</div>
<div class="con2">
{{ swiperData[0].SubTitle }}
<!-- 这里给一点小文字介绍什么的最好,这里给一点小文字介绍什么的最好,这里给一点
小文字介绍什么的最好。 -->
</div>
<div class="con3"></div>
<div class="btn" @click="seeMore(swiperData[0].LinkUrl)">查看更多</div>
</div>
</div>
<!-- 留学产品 --> <!-- 留学产品 -->
<div class="studyProduct"> <div class="studyProduct">
<div class="title">留学产品</div> <div class="title">留学产品</div>
...@@ -78,7 +62,7 @@ ...@@ -78,7 +62,7 @@
</template> </template>
<script> <script>
import Header from "../../components/header/header"; import Header from "../../components/header/header";
// import Banner from "../../components/banner/banner"; import Banner from "../../components/banner/banner";
import TeacherTeam from "../../components/teacherTeam/teacherTeam"; import TeacherTeam from "../../components/teacherTeam/teacherTeam";
import Footer from "../../components/footer/footerType2"; import Footer from "../../components/footer/footerType2";
import { getWebNavList } from "../../api/indexApi.js"; import { getWebNavList } from "../../api/indexApi.js";
...@@ -87,7 +71,7 @@ import { getWebTeacherList } from "../../api/JapaneseTrainApi"; ...@@ -87,7 +71,7 @@ import { getWebTeacherList } from "../../api/JapaneseTrainApi";
import NoData from "../../components/noData/noData"; import NoData from "../../components/noData/noData";
export default { export default {
components: { components: {
// Banner, Banner,
Header, Header,
TeacherTeam, TeacherTeam,
Footer, Footer,
...@@ -142,58 +126,7 @@ export default { ...@@ -142,58 +126,7 @@ export default {
.jiahe { .jiahe {
background-color: #f6f6f6; background-color: #f6f6f6;
} }
.studyServeBannerBox {
width: 100%;
height: 39.0625vw;
// background-image: url("../../assets/images/aboutUs/aboutUsBanner.png");
background-repeat: no-repeat;
background-size: contain;
background-color: #fff;
position: relative;
.conbox {
position: absolute;
top: 9.635vw;
left: 10.208vw;
}
.con1 {
width: calc(845 / 1920 * 100%);
white-space: nowrap;
// font-size: 100px;
font-size: 5.208vw;
line-height: 5.208vw;
color: #111111;
margin-bottom: 3.125vw;
.jh {
font-family: "pingfang-b" !important;
}
}
.con2 {
width: 38.489vw;
font-size: 1.041vw;
line-height: 1.51vw;
font-weight: 500;
color: #111111;
padding-bottom: 3.541vw;
}
.con3 {
width: 31.041vw;
height: 1px;
background-color: #111111;
margin-bottom: 4.01vw;
}
.btn {
width: 9.375vw;
height: 2.916vw;
background-color: #45766dff;
font-size: 1.249vw;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
cursor: pointer;
}
}
.studyProduct { .studyProduct {
width: 62.5vw; width: 62.5vw;
margin: 0 auto; margin: 0 auto;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment