代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<link rel="icon" href="./favicon.ico" />
<title>国际初中</title>
<script src="./assets/js/global.js"></script>
</head>
<body>
<div v-cloak id="app">
<zb-main>
<!-- banner -->
<div class="my-swipe">
<img src="./assets/images/internationalSchool/bg-5.png" alt="">
</div>
<div class="index-card index-module-5" style="padding-top:0.45rem">
<div class="titles">
<img src="./assets/images/index/tag.png" alt="" class="icon">
<div class="bt">国际学校专题</div>
<div class="content">大家都在找最好的学校,为孩子全力以赴</div>
</div>
<div class="banners">
<van-swipe style="width:100%" indicator-color="#FF2E30">
<van-swipe-item v-for="(item,index) in popularInternationalTopics" :key="index">
<div class="list clearfix">
<div v-for="(sub,idx) in item" :key="idx" class="item fl">
<div class="image">
<img :src="sub.image" alt="">
</div>
<div class="name">{{sub.name}}</div>
<div class="view">{{sub.view}}</div>
<a class="btn"></a>
</div>
</div>
</van-swipe-item>
</van-swipe>
</div>
</div>
<div class="internationalSchool-module-1">
<index-title title="择校必看" top="0.38rem" bottom="0.3rem"></index-title>
<div class="kindergarten-module-1">
<div class="left">
<a class="link">国际初中学费</a>
<a class="link">招生政策</a>
<a class="link">入学考试</a>
<a class="link">入学要求</a>
<a class="link">学校排名</a>
<a class="link">课程体系</a>
<a class="link">报考条件</a>
<a class="link">升学路线</a>
</div>
<div class="right">
<img src="./assets/images/internationalSchool/bg-6.png" alt="">
</div>
</div>
<div class="kindergarten-module-2 middle-school-1">
<div class="head">
<div class="bt">3大模块 助力入学</div>
<div class="line"></div>
</div>
<div class="content">
<div v-for="(item,index) in moduleList" :key="index" class="item">
<div class="left">
<span></span>
</div>
<div class="right">
<div class="box">
<div class="top">
<div class="t1">{{item.title}}</div>
<a @click="onlineService" class="btn">去预约</a>
</div>
<div class="bottom">
<div v-for="(sub,idx) in item.content" :key="idx" class="text">
<span class="dot"></span>
<span class="cont">{{sub}}</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="margin"></div>
<div class="primary-school-2 middle-school-2">
<index-title href="" title="优质国际初中推荐" top="0.4rem" bottom="0.44rem" type="2">更多></index-title>
<div class="citys">
<div class="city-list">
<div v-for="(item,index) in cityList" :key="index" class="item" :class="{ active: payload.cityId == item.id }" @click="updateCity(item)">{{item.name}}</div>
</div>
</div>
<div class="regions">
<div class="region-list">
<div v-for="(item,index) in regionList" :key="index" class="item" :class="{ active: payload.regionId == item.id }" @click="updateRegion(item)">{{item.name}}</div>
</div>
</div>
<!-- banner -->
<van-swipe class="primary-school-swipe" :autoplay="3000" indicator-color="#FF2E30">
<van-swipe-item v-for="(item,index) in 3" :key="index">
<div v-for="(sub,idx) in 3" :key="idx" class="swipe-item">
<div class="photo">
<img src="" alt="">
</div>
<div class="infos">
<div class="name">北京爱迪国际学校</div>
<div class="tags">
<div class="item">IGCSE课程</div>
<div class="item">双语课程</div>
<div class="item">澳大利亚课程</div>
<div class="item">艺术课程</div>
</div>
</div>
</div>
</van-swipe-item>
</van-swipe>
</div>
<div class="margin"></div>
<div class="quick-module-1 quick-module-2">
<index-title title="最新资讯" bottom="0.5rem">有问必有答</index-title>
<div class="news-wrapper">
<div class="news-list">
<div class="item item-1">
<div class="head">
<div class="rank">01</div>
<div class="bt">择校必读</div>
</div>
<div class="box">
<a class="sub" href="newsDetail.html?id=1"><span>【最新】</span>2023年秋季招生,耀华国际教育学校北京亦庄校区...</a>
<a class="sub" href="newsDetail.html?id=2">【最新】2023年泛洋文华学校录取分数线是多少?</a>
<a class="sub" href="newsDetail.html?id=3">【最新】北京新府学外国语学校排名怎么样?</a>
</div>
</div>
<div class="item item-2">
<div class="head">
<div class="rank">02</div>
<div class="bt">优质选校</div>
</div>
<div class="box">
<a class="sub" href="newsDetail.html?id=4"><span>【最新】</span>2023年秋季招生,耀华国际教育学校北京亦庄校区...</a>
<a class="sub" href="newsDetail.html?id=5">【最新】2023年泛洋文华学校录取分数线是多少?</a>
<a class="sub" href="newsDetail.html?id=6">【最新】北京新府学外国语学校排名怎么样?</a>
</div>
</div>
<div class="item item-3">
<div class="head">
<div class="rank">03</div>
<div class="bt">百所院校</div>
</div>
<div class="box">
<a class="sub" href="newsDetail.html?id=4"><span>【最新】</span>2023年秋季招生,耀华国际教育学校北京亦庄校区...</a>
<a class="sub" href="newsDetail.html?id=5">【最新】2023年泛洋文华学校录取分数线是多少?</a>
<a class="sub" href="newsDetail.html?id=6">【最新】北京新府学外国语学校排名怎么样?</a>
</div>
</div>
</div>
</div>
<div class="list">
<div v-for="(item,index) in newsList" :key="index" class="item" :style="{
backgroundColor: item.bgColor,
color: item.color
}">
<img :src="item.icon" alt="" class="icon">
<div class="name">{{item.name}}</div>
</div>
</div>
</div>
</zb-main>
</div>
<script type="text/babel">
new Vue({
el: '#app',
data: {
// 热门国际学校专题
popularInternationalTopics: [
[
{ image: './assets/images/index/ico-1.png', name: '国际学校怎么选', view: '10586' },
{ image: './assets/images/index/ico-2.png', name: '艺术国际高中', view: '10500' },
{ image: './assets/images/index/ico-3.png', name: '非京籍入学四证', view: '9100' },
],
[
{ image: './assets/images/index/ico-1.png', name: '国际学校怎么选', view: '10586' },
{ image: './assets/images/index/ico-2.png', name: '艺术国际高中', view: '10500' },
{ image: './assets/images/index/ico-3.png', name: '非京籍入学四证', view: '9100' },
],
[
{ image: './assets/images/index/ico-1.png', name: '国际学校怎么选', view: '10586' },
{ image: './assets/images/index/ico-2.png', name: '艺术国际高中', view: '10500' },
{ image: './assets/images/index/ico-3.png', name: '非京籍入学四证', view: '9100' },
]
],
// 最新资讯
newsList: [
{ icon: './assets/images/quickSelection/icon-1.png', name: '非京籍读国际学校', bgColor: '#e9fbf2', color: '#2ed28a' },
{ icon: './assets/images/quickSelection/icon-2.png', name: '国际学校入学条件', bgColor: '#EDF6FF', color: '#0679D4' },
{ icon: './assets/images/quickSelection/icon-3.png', name: '国际学校摇号', bgColor: '#FEF7EC', color: '#FF9D03' },
{ icon: './assets/images/quickSelection/icon-4.png', name: '国际学校开学时间', bgColor: '#FFF1EA', color: '#FE7153' },
{ icon: './assets/images/quickSelection/icon-5.png', name: '民办国际学校', bgColor: '#ECEEFD', color: '#2E5AF4' },
{ icon: './assets/images/quickSelection/icon-6.png', name: '外籍国际学校', bgColor: '#EDF6FF', color: '#0679D4' },
{ icon: './assets/images/quickSelection/icon-7.png', name: '国际学校好不好', bgColor: '#FEF7EC', color: '#FF9D03' },
{ icon: './assets/images/quickSelection/icon-8.png', name: '中国国际学校排名', bgColor: '#E9FBF2', color: '#009E59' },
{ icon: './assets/images/quickSelection/icon-9.png', name: '转国际学校', bgColor: '#FFF1EA', color: '#FE7153' },
{ icon: './assets/images/quickSelection/icon-10.png', name: '国际学校插班', bgColor: '#ECEEFD', color: '#2E5AF4' },
{ icon: './assets/images/quickSelection/icon-11.png', name: '如何选择国际学校', bgColor: '#EDF6FF', color: '#0679D4' },
{ icon: './assets/images/quickSelection/icon-12.png', name: '国际学校入学政策', bgColor: '#E9FBF2', color: '#009E59' },
{ icon: './assets/images/quickSelection/icon-13.png', name: '中考后读国际学校', bgColor: '#FFF1EA', color: '#FE7153' },
],
// 3大模块 助力入学
moduleList: [
{ title: '适合人群:', content: ['将来有出国留学意向的家庭','非京籍想北京上初中的家庭','获得北京小学学籍的家庭'] },
{ title: '户籍要求:', content: ['外籍国际初中(有户籍限制)','私立国际初中(无国籍户籍限制) '] },
{ title: '入学考试:', content: ['参加学校自主出题笔试和面试','初一新生无需参加入学考试仅面试即可'] },
],
// 市区选择
cityList: [
{
name: '北京',
id: '1001',
list: [
{ name: '东城区', id: '100101' },
{ name: '西城区', id: '100102' },
{ name: '朝阳区', id: '100103' },
{ name: '丰台区', id: '100104' },
{ name: '石景山区', id: '100105' },
{ name: '海淀区', id: '100106' },
{ name: '顺义区', id: '100107' },
{ name: '通州区', id: '100108' },
{ name: '大兴区', id: '100109' },
{ name: '房山区', id: '1001010' },
{ name: '门头沟区', id: '1001011' },
{ name: '昌平区', id: '1001012' },
{ name: '平谷区', id: '1001013' },
{ name: '密云区', id: '1001014' },
{ name: '怀柔区', id: '1001015' },
{ name: '延庆区', id: '1001016' },
]
},{
name: '天津',
id: '1002',
list: [
{ name: '和平区', id: '100101' },
{ name: '河东区', id: '100102' },
{ name: '河西区', id: '100103' },
{ name: '南开区', id: '100104' },
{ name: '河北区', id: '100105' },
{ name: '红桥区', id: '100106' },
{ name: '东丽区', id: '100107' },
{ name: '西青区', id: '100108' },
{ name: '津南区', id: '100109' },
{ name: '北辰区', id: '1001010' },
{ name: '武清区', id: '1001011' },
{ name: '宝坻区', id: '1001012' },
{ name: '滨海新区', id: '1001013' },
{ name: '宁河区', id: '1001014' },
{ name: '静海区', id: '1001015' },
{ name: '蓟州区', id: '1001016' },
]
},{
name: '河北',
id: '1003',
list: [
{ name: '海淀区', id: '100101' },
{ name: '朝阳区', id: '100102' },
{ name: '大兴区', id: '100103' },
{ name: '石景山区', id: '100104' },
{ name: '东城区', id: '100105' },
{ name: '西城区', id: '100106' },
{ name: '顺义区', id: '100107' },
{ name: '怀柔区', id: '100108' },
{ name: '门头沟', id: '100109' },
{ name: '延庆区', id: '1001010' },
{ name: '昌平区', id: '1001011' },
{ name: '通州区', id: '1001012' },
{ name: '平谷区', id: '1001013' },
{ name: '丰台区', id: '1001014' },
{ name: '房山区', id: '1001015' },
{ name: '密云区', id: '1001016' },
]
},{
name: '四川',
id: '1004',
list: [
{ name: '海淀区', id: '100101' },
{ name: '朝阳区', id: '100102' },
{ name: '大兴区', id: '100103' },
{ name: '石景山区', id: '100104' },
{ name: '东城区', id: '100105' },
{ name: '西城区', id: '100106' },
{ name: '顺义区', id: '100107' },
{ name: '怀柔区', id: '100108' },
{ name: '门头沟', id: '100109' },
{ name: '延庆区', id: '1001010' },
{ name: '昌平区', id: '1001011' },
{ name: '通州区', id: '1001012' },
{ name: '平谷区', id: '1001013' },
{ name: '丰台区', id: '1001014' },
{ name: '房山区', id: '1001015' },
{ name: '密云区', id: '1001016' },
]
},{
name: '广东',
id: '1005',
list: [
{ name: '海淀区', id: '100101' },
{ name: '朝阳区', id: '100102' },
{ name: '大兴区', id: '100103' },
{ name: '石景山区', id: '100104' },
{ name: '东城区', id: '100105' },
{ name: '西城区', id: '100106' },
{ name: '顺义区', id: '100107' },
{ name: '怀柔区', id: '100108' },
{ name: '门头沟', id: '100109' },
{ name: '延庆区', id: '1001010' },
{ name: '昌平区', id: '1001011' },
{ name: '通州区', id: '1001012' },
{ name: '平谷区', id: '1001013' },
{ name: '丰台区', id: '1001014' },
{ name: '房山区', id: '1001015' },
{ name: '密云区', id: '1001016' },
]
},{
name: '上海',
id: '1006',
list: [
{ name: '海淀区', id: '100101' },
{ name: '朝阳区', id: '100102' },
{ name: '大兴区', id: '100103' },
{ name: '石景山区', id: '100104' },
{ name: '东城区', id: '100105' },
{ name: '西城区', id: '100106' },
{ name: '顺义区', id: '100107' },
{ name: '怀柔区', id: '100108' },
{ name: '门头沟', id: '100109' },
{ name: '延庆区', id: '1001010' },
{ name: '昌平区', id: '1001011' },
{ name: '通州区', id: '1001012' },
{ name: '平谷区', id: '1001013' },
{ name: '丰台区', id: '1001014' },
{ name: '房山区', id: '1001015' },
{ name: '密云区', id: '1001016' },
]
},{
name: '江苏',
id: '1007',
list: [
{ name: '海淀区', id: '100101' },
{ name: '朝阳区', id: '100102' },
{ name: '大兴区', id: '100103' },
{ name: '石景山区', id: '100104' },
{ name: '东城区', id: '100105' },
{ name: '西城区', id: '100106' },
{ name: '顺义区', id: '100107' },
{ name: '怀柔区', id: '100108' },
{ name: '门头沟', id: '100109' },
{ name: '延庆区', id: '1001010' },
{ name: '昌平区', id: '1001011' },
{ name: '通州区', id: '1001012' },
{ name: '平谷区', id: '1001013' },
{ name: '丰台区', id: '1001014' },
{ name: '房山区', id: '1001015' },
{ name: '密云区', id: '1001016' },
]
}
],
payload: {
cityId: '1001',
regionId: '100101'
}
},
computed: {
regionList() {
const target = this.cityList.find(v => v.id == this.payload.cityId)
if (target) {
return target.list
}
return []
}
},
methods: {
onlineService() {
onlineService()
},
// 切换城市
updateCity(row) {
this.payload.cityId = row.id
this.payload.regionId = this.regionList[0].id
},
// 切换区县
updateRegion(row) {
this.payload.regionId = row.id
}
},
mounted() {
}
})
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。