Commit 6635e5d4 authored by 黄奎's avatar 黄奎

页面修改

parent 370d9238
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<span @click="jumpPage()">联系我们</span> <span @click="jumpPage()">联系我们</span>
</div> </div>
<div class="copyright"> <div class="copyright">
CopyRight © 2021 甲鹤教育集团. All Rights Reserved 蜀ICP备2021008812号 CopyRight © 2023 甲鹤教育集团. All Rights Reserved 蜀ICP备2021008812号
</div> </div>
<!-- </div> --> <!-- </div> -->
</div> </div>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<span @click="jumpPage()">联系我们</span> <span @click="jumpPage()">联系我们</span>
</div> </div>
<div class="copyright"> <div class="copyright">
CopyRight © 2021 甲鹤教育集团. All Rights Reserved 蜀ICP备2021008812号 CopyRight © 2023 甲鹤教育集团. All Rights Reserved 蜀ICP备2021008812号
</div> </div>
<div class="ewm_icon_box"> <div class="ewm_icon_box">
<q-img <q-img
......
...@@ -9,17 +9,14 @@ ...@@ -9,17 +9,14 @@
<div class="title">留学产品</div> <div class="title">留学产品</div>
<div class="subTitle"></div> <div class="subTitle"></div>
<div v-for="(item, index) in studyProductList" :key="index"> <div v-for="(item, index) in studyProductList" :key="index">
<div <div class="studyProductBox" v-if="index % 2 == 0" @click="seeMore('/studyServeDetail')">
class="studyProductBox"
v-if="index % 2 == 0"
@click="seeMore('/studyServeDetail')"
>
<div class="left"> <div class="left">
<div class="name">{{ item.Name }}</div> <div class="name">{{ item.Name }}</div>
<div class="line"></div> <div class="line"></div>
<div class="desc">{{ item.Remark }}</div> <div class="desc" v-html="item.Remark"></div>
</div> </div>
<div class="right"> <div class="right">
<template v-if="item.ImgCover&&item.ImgCover!=''">
<q-img :src="item.ImgCover" class="right" alt=""> <q-img :src="item.ImgCover" class="right" alt="">
<template v-slot:loading> <template v-slot:loading>
<div class="text-yellow"> <div class="text-yellow">
...@@ -28,14 +25,22 @@ ...@@ -28,14 +25,22 @@
</div> </div>
</template> </template>
</q-img> </q-img>
</template>
<template v-else>
<q-img src="../../assets/images/banner.png" class="right" alt="">
<template v-slot:loading>
<div class="text-yellow">
<q-spinner-ios />
<div class="q-mt-md">Loading...</div>
</div>
</template>
</q-img>
</template>
</div> </div>
</div> </div>
<div <div class="studyProductBox" v-if="index % 2 != 0" @click="seeMore('/studyServeDetail')">
class="studyProductBox"
v-if="index % 2 != 0"
@click="seeMore('/studyServeDetail')"
>
<div class="right"> <div class="right">
<template v-if="item.ImgCover&&item.ImgCover!=''">
<q-img :src="item.ImgCover" class="right" alt=""> <q-img :src="item.ImgCover" class="right" alt="">
<template v-slot:loading> <template v-slot:loading>
<div class="text-yellow"> <div class="text-yellow">
...@@ -44,11 +49,22 @@ ...@@ -44,11 +49,22 @@
</div> </div>
</template> </template>
</q-img> </q-img>
</template>
<template v-else>
<q-img src="../../assets/images/banner.png" class="right" alt="">
<template v-slot:loading>
<div class="text-yellow">
<q-spinner-ios />
<div class="q-mt-md">Loading...</div>
</div>
</template>
</q-img>
</template>
</div> </div>
<div class="left"> <div class="left">
<div class="name">{{ item.Name }}</div> <div class="name">{{ item.Name }}</div>
<div class="line"></div> <div class="line"></div>
<div class="desc">{{ item.Remark }}</div> <div class="desc" v-html="item.Remark"> </div>
</div> </div>
</div> </div>
</div> </div>
...@@ -61,15 +77,21 @@ ...@@ -61,15 +77,21 @@
</div> </div>
</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 {
import { getStudyAbroadList } from "../../api/studyServeApi.js"; getWebNavList
import { getWebTeacherList } from "../../api/JapaneseTrainApi"; } from "../../api/indexApi.js";
import NoData from "../../components/noData/noData"; import {
export default { getStudyAbroadList
} from "../../api/studyServeApi.js";
import {
getWebTeacherList
} from "../../api/JapaneseTrainApi";
import NoData from "../../components/noData/noData";
export default {
components: { components: {
Banner, Banner,
Header, Header,
...@@ -79,14 +101,18 @@ export default { ...@@ -79,14 +101,18 @@ export default {
}, },
data() { data() {
return { return {
menuList: [ menuList: [{},
{},
{}, {},
{ {
Name: "", Name: "",
}, },
], ],
swiperData: [{ BgImg: "", NavTitle: "", SubTitle: "", LinkUrl: "" }], swiperData: [{
BgImg: "",
NavTitle: "",
SubTitle: "",
LinkUrl: ""
}],
studyProductList: [], studyProductList: [],
teacherList: [], teacherList: [],
}; };
...@@ -120,16 +146,18 @@ export default { ...@@ -120,16 +146,18 @@ export default {
this.getStudyAbroadList(); this.getStudyAbroadList();
this.getTeacherList(); this.getTeacherList();
}, },
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.jiahe { .jiahe {
background-color: #f6f6f6; background-color: #f6f6f6;
} }
.studyProduct { .studyProduct {
width: 62.5vw; width: 62.5vw;
margin: 0 auto; margin: 0 auto;
.title { .title {
font-size: 1.5625vw; font-size: 1.5625vw;
// font-family: Microsoft YaHei; // font-family: Microsoft YaHei;
...@@ -141,6 +169,7 @@ export default { ...@@ -141,6 +169,7 @@ export default {
margin-top: 5.208vw; margin-top: 5.208vw;
margin-bottom: 1.041vw; margin-bottom: 1.041vw;
} }
.subTitle { .subTitle {
text-align: center; text-align: center;
font-size: 0.833vw; font-size: 0.833vw;
...@@ -150,26 +179,31 @@ export default { ...@@ -150,26 +179,31 @@ export default {
line-height: 1.5625vw; line-height: 1.5625vw;
margin-bottom: 2.833vw; margin-bottom: 2.833vw;
} }
.studyProductBox { .studyProductBox {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
height: 27.395vw; height: 27.395vw;
margin-bottom: 5.208vw; margin-bottom: 5.208vw;
.left { .left {
width: 18.125vw; width: 18.125vw;
height: 100%; height: 100%;
.name { .name {
font-size: 1.25vw; font-size: 1.25vw;
font-family: "pingfang-b" !important; font-family: "pingfang-b" !important;
color: #111111; color: #111111;
line-height: 1.5625vw; line-height: 1.5625vw;
} }
.line { .line {
width: 5.208vw; width: 5.208vw;
height: 1px; height: 1px;
background-color: #45766d; background-color: #45766d;
margin: 1.5625vw 0; margin: 1.5625vw 0;
} }
.desc { .desc {
width: 100%; width: 100%;
max-height: 20.104vw; max-height: 20.104vw;
...@@ -179,11 +213,13 @@ export default { ...@@ -179,11 +213,13 @@ export default {
line-height: 1.875vw; line-height: 1.875vw;
} }
} }
.right { .right {
width: 41.145vw; width: 41.145vw;
height: 100%; height: 100%;
background-color: #333; background-color: #333;
} }
} }
} }
</style> </style>
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