提交 c2fbde76 authored 作者: 王鹏飞's avatar 王鹏飞

内容替换

上级 f1d4e880
......@@ -33,6 +33,6 @@ module.exports = {
},
ProvidePlugin: {},
others: {
projectId: '1009'
projectId: '1011'
}
}
......@@ -14,6 +14,6 @@ module.exports = {
},
ProvidePlugin: {},
others: {
projectId: '1009'
projectId: '1011'
}
}
......@@ -15,6 +15,6 @@ module.exports = {
},
ProvidePlugin: {},
others: {
projectId: '1009'
projectId: '1011'
}
}
......@@ -14,7 +14,7 @@ export function queryInformation(param) {
// url: host.main + path.queryInformation,
url: '/api/zws/v1/enrollment/submissions',
params: {
project_id: 1009,
project_id: 1011,
name: 'hhahah'
}
})
......@@ -30,7 +30,7 @@ export function introduction(params) {
// 获取所有介绍内容
return ax({
method: 'GET',
url: '/api/zws/v1/cms/projects/1009/contents/' + params.tag
url: '/api/zws/v1/cms/projects/1011/contents/' + params.tag
})
.then(function(response) {
params.cb(response.data[0].content)
......@@ -47,7 +47,7 @@ export function getNews(params) {
// url: host.main + path.news,
url: '/api/zws/v1/cms/news',
params: {
project_id: 1009
project_id: 1011
}
})
.then(function(response) {
......
......@@ -6,7 +6,7 @@ export default class ScoreAPI extends BaseAPI {
*/
getContent = name =>
this.get(
`/v1/cms/projects/1009/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=seg-shms.ezijing.com`,
`/v1/cms/projects/1011/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=seg-him.ezijing.com`,
{
addhost: 'zws-api.ezijing.com',
Host: 'zws-api.ezijing.com'
......
......@@ -7,7 +7,7 @@ export default class ScoreAPI extends BaseAPI {
*/
getContent = name =>
this.get(
`zws/v1/cms/projects/1009/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=seg-shms.ezijing.com`,
`zws/v1/cms/projects/1011/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=seg-him.ezijing.com`,
{}
)
/**
......
......@@ -15,7 +15,7 @@
<h3>联系我们</h3>
<p>
Swiss Education Group<br />
SHMS瑞士酒店管理大学<br />
HIM瑞士蒙特勒酒店工商管理大学<br />
<!-- 电话:010-62793909<br />
E-mail:chinafflg@ezijing.com<br /> -->
地址:北京市海淀区中关村东路1号院7号楼5层<br />
......@@ -30,28 +30,37 @@
</div>
</div>
</div>
<div class="copyright" style="height: 40px;line-height: 40px;color: #fff;background: #ccc;">
<div class="inner" style="width: 100%;justify-content: center;display: flex;">
<p style="font-size: 12px;">Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司</p>
<a target="_blank" href="https://tsm.miit.gov.cn/dxxzsp/" style="color: #fff;text-decoration:none;margin-left: 10px;">
<p style="font-size: 12px;">京ICP证150431号</p>
<div class="copyright" style="height: 40px; line-height: 40px; color: #fff; background: #ccc">
<div class="inner" style="width: 100%; justify-content: center; display: flex">
<p style="font-size: 12px">
Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司
</p>
<a
target="_blank"
href="https://tsm.miit.gov.cn/dxxzsp/"
style="color: #fff; text-decoration: none; margin-left: 10px"
>
<p style="font-size: 12px">京ICP证150431号</p>
</a>
<a target="_blank" class="record" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802023681" style="
color: #fff;
text-decoration:none;
align-items: center;
display: flex;
margin-right: 5px;">
<img src="https://zws-imgs-pub.ezijing.com/e0a0ec47dfdfc1e0797b1d5254021d00.png" alt="" style="
width: 20px;
height: 20px;
margin: 0 6px;
display: block;
">
<p style="font-size: 12px;">安备 11010802023681号</p>
<a
target="_blank"
class="record"
href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802023681"
style="color: #fff; text-decoration: none; align-items: center; display: flex; margin-right: 5px"
>
<img
src="https://zws-imgs-pub.ezijing.com/e0a0ec47dfdfc1e0797b1d5254021d00.png"
alt=""
style="width: 20px; height: 20px; margin: 0 6px; display: block"
/>
<p style="font-size: 12px">安备 11010802023681号</p>
</a>
<a target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index" style="color: #fff;text-decoration:none;">
<p style="font-size: 12px;">京ICP备15016866号-1</p>
<a
target="_blank"
href="https://beian.miit.gov.cn/#/Integrated/index"
style="color: #fff; text-decoration: none"
>
<p style="font-size: 12px">京ICP备15016866号-1</p>
</a>
</div>
</div>
......@@ -65,7 +74,7 @@ export default {
menuList: [
{ title: '中国教育部', href: 'http://www.moe.gov.cn/' },
{ title: '中国涉外教育监管网', href: 'http://jsj.moe.gov.cn/' },
{ title: 'SHMS瑞士酒店管理大学', href: 'www.shms.com' },
{ title: 'HIM瑞士蒙特勒酒店工商管理大学', href: 'www.shms.com' },
{ title: 'Swiss Education Group ', href: 'www.swisseducation.com' }
]
}
......@@ -74,7 +83,7 @@ export default {
</script>
<style lang="scss" scoped>
.logo{
.logo {
width: 60px;
}
.app-footer {
......@@ -133,18 +142,18 @@ export default {
line-height: 40px;
color: #fff;
background: #ccc;
.inner{
.inner {
width: 100%;
justify-content: center;
display: flex;
p{
p {
font-size: 12px;
}
.record{
.record {
align-items: center;
display: flex;
margin-right: 5px;
img{
img {
width: 20px;
height: 20px;
margin: 0 6px;
......
......@@ -19,7 +19,9 @@
<section class="app-header-main">
<div class="hd">
<div class="hd-left">
<a href="/"><img src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/seg-logo.png" class="logo" /></a>
<a href="/"
><img src="http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/seg-logo.png" class="logo"
/></a>
<h1 class="title">{{ title }}</h1>
</div>
<!-- <div class="hd-right">
......@@ -47,7 +49,7 @@
export default {
data() {
return {
title: 'SHMS瑞士酒店管理大学',
title: 'HIM瑞士蒙特勒酒店工商管理大学',
navList: [
{ title: '首页', path: '/index' },
{ title: '项目介绍', path: '/project' },
......
......@@ -4,17 +4,13 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="origin" name="referrer" />
<title>SHMS瑞士酒店管理大学</title>
<title>HIM瑞士蒙特勒酒店工商管理大学</title>
<!-- <meta
name="viewport"
id="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"
/> -->
<meta
name="viewport"
id="viewport"
content="initial-scale=-1,maximum-scale=1,shrink-to-fit=no"
/>
<meta name="viewport" id="viewport" content="initial-scale=-1,maximum-scale=1,shrink-to-fit=no" />
</head>
<body>
<div id="app"></div>
......@@ -37,13 +33,13 @@
src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/common/runtime.js"
></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?45ff88cfcd1cf031f43e64eb9650315d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
var _hmt = _hmt || []
;(function() {
var hm = document.createElement('script')
hm.src = 'https://hm.baidu.com/hm.js?45ff88cfcd1cf031f43e64eb9650315d'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s)
})()
</script>
<!--[if lt IE 9]>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
......
......@@ -4,7 +4,11 @@
<div class="cont-mian center97">
<div class="module" v-if="activeIndex == 0">
<div class="left-txt" v-html="content"></div>
<img src="https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png" alt="" class="exh" />
<img
src="https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png"
alt=""
class="exh"
/>
</div>
<div class="module" v-if="activeIndex == 1">
<div>
......@@ -31,7 +35,11 @@
<li :key="index" @click="goPage(item.source)">{{ item.title }}</li>
</template>
</ul>
<img src="https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png" alt="" class="exh" />
<img
src="https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png"
alt=""
class="exh"
/>
</div>
</div>
</div>
......@@ -58,7 +66,7 @@ export default {
page: 1,
per_page: 100,
type: 59,
project_id: 1009
project_id: 1011
},
M1listData: [],
M2listData: []
......
......@@ -70,7 +70,7 @@
</li>
<li>
<img src="https://zws-imgs-pub.ezijing.com/static/public/f35e8152f2c7174e75bf4c2e70188893.png" alt="" />
<div class="p">国际教育环境<br />强大校友资源</div>
<div class="p">国际教育环境<br />强大校友资源</div>
</li>
</ul>
</div>
......@@ -79,7 +79,7 @@
<ul>
<li>
<div class="logo">
<img src="https://zws-imgs-pub.ezijing.com/static/public/c39c258f69002addb701d6a828eaa29f.png" alt="">
<img src="https://zws-imgs-pub.ezijing.com/static/public/c39c258f69002addb701d6a828eaa29f.png" alt="" />
</div>
<div class="text">
<div>中国教育部</div>
......@@ -89,7 +89,7 @@
</li>
<li>
<div class="logo">
<img src="https://zws-imgs-pub.ezijing.com/static/public/bcf861182fd1e5c3632b0d1e97378c63.png" alt="">
<img src="https://zws-imgs-pub.ezijing.com/static/public/bcf861182fd1e5c3632b0d1e97378c63.png" alt="" />
</div>
<div class="text">
<div>美国教育部</div>
......@@ -99,7 +99,7 @@
</li>
<li>
<div class="logo">
<img src="https://zws-imgs-pub.ezijing.com/static/public/1f73853b05e01507b24567d14c34f164.png" alt="">
<img src="https://zws-imgs-pub.ezijing.com/static/public/1f73853b05e01507b24567d14c34f164.png" alt="" />
</div>
<div class="text">
<div>美国加州</div>
......@@ -109,17 +109,17 @@
</li>
<li>
<div class="logo">
<img src="https://zws-imgs-pub.ezijing.com/static/public/6bf5efe5efec06738318cedccc7cd03c.png" alt="">
<img src="https://zws-imgs-pub.ezijing.com/static/public/6bf5efe5efec06738318cedccc7cd03c.png" alt="" />
</div>
<div class="text">
<div>美国高等教育</div>
<div>美国高等教育</div>
<div>认证委员会(CHEA)</div>
<div class="t">认证大学</div>
</div>
</li>
<li>
<div class="logo">
<img src="https://zws-imgs-pub.ezijing.com/static/public/4c0f67116fac2d0b267457f20852abfa.png" alt="">
<img src="https://zws-imgs-pub.ezijing.com/static/public/4c0f67116fac2d0b267457f20852abfa.png" alt="" />
</div>
<div class="text">
<div>美国</div>
......@@ -168,17 +168,10 @@
</swiper>
<div class="written">
<div class="btn">项目介绍</div>
<div class="txt">SHMS瑞士酒店管理大学 | 酒店与旅游方向工商管理硕士(MBA)</div>
<div class="txt">HIM瑞士蒙特勒酒店工商管理大学 | 酒店与旅游方向工商管理硕士(MBA)</div>
</div>
</div>
<div
class="swiper-mian float-r"
@click="
goPreview(
'https://mp.weixin.qq.com/s/PDSmXXkw1AE0qXGDBsvuhQ'
)
"
>
<div class="swiper-mian float-r" @click="goPreview('https://mp.weixin.qq.com/s/PDSmXXkw1AE0qXGDBsvuhQ')">
<swiper :options="swiperOptions2" ref="mySwiper2" class="item-swiper">
<swiper-slide>
<img src="https://zws-imgs-pub.ezijing.com/static/public/c5db6f01b15492a2197f945407a5bdc9.jpg" alt="" />
......@@ -187,7 +180,7 @@
</swiper>
<div class="written">
<div class="btn color">新闻活动</div>
<div class="txt">SHMS瑞士酒店管理大学 新年线下活动都分享了哪些干货?</div>
<div class="txt">HIM瑞士蒙特勒酒店工商管理大学 新年线下活动都分享了哪些干货?</div>
</div>
</div>
</div>
......@@ -650,7 +643,7 @@ export default {
color: #222222;
line-height: 25px;
margin-top: 10px;
&.p2{
&.p2 {
margin-top: 20px;
}
}
......@@ -663,70 +656,70 @@ export default {
// background: #A4000F;
background: url(https://zws-imgs-pub.ezijing.com/static/public/521a97768110ae52ce07f07757c79238.png);
background-size: cover;
.title{
.title {
font-size: 36px;
font-weight: bold;
color: #FFFFFF;
color: #ffffff;
line-height: 36px;
text-align: center;
padding: 62px 0 58px;
}
ul{
ul {
display: flex;
justify-content: center;
li{
li {
width: 172px;
height: 207px;
background: #fff;
border-radius: 10px;
margin-right: 30px;
&:nth-child(1){
.logo{
&:nth-child(1) {
.logo {
width: 73px;
}
}
&:nth-child(2){
.logo{
&:nth-child(2) {
.logo {
width: 93px;
}
}
&:nth-child(3){
.logo{
&:nth-child(3) {
.logo {
width: 82px;
}
}
&:nth-child(4){
.logo{
&:nth-child(4) {
.logo {
width: 124px;
}
}
&:nth-child(5){
&:nth-child(5) {
margin-right: 0;
.logo{
.logo {
width: 124px;
}
}
.logo{
.logo {
margin: 30px auto 0 auto;
height: 80px;
display: flex;
align-items: center;
img{
img {
width: 100%;
display: block;
}
}
.text{
.text {
padding-top: 17px;
text-align: center;
div{
div {
line-height: 100%;
margin-bottom: 10px;
font-size: 15px;
color: #96203A;
color: #96203a;
font-weight: bold;
}
.t{
.t {
font-weight: normal;
}
}
......
......@@ -30,12 +30,12 @@ export default {
page: 1,
per_page: 100,
type: 58,
project_id: 1009
project_id: 1011
},
listData: {
0: [],
1: []
},
}
}
},
mounted() {
......
......@@ -44,7 +44,7 @@ export default {
if (n === 1) {
requestType = [
{
name: 'SHMS介绍',
name: 'HIM介绍',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
},
{
......@@ -464,4 +464,4 @@ export default {
.zs-cont{
padding-top: 60px;
}
</style>
\ No newline at end of file
</style>
......@@ -46,7 +46,7 @@ export default {
page: 1,
per_page: 100,
type: 55,
project_id: 1009
project_id: 1011
},
allList: {
55: [],
......@@ -76,15 +76,21 @@ export default {
})
},
request(item, index) {
cAction.reportAction.getContent(item.name).then(json => {
this.newsData.push({
id: index,
title: item.name,
content: json === null ? '' : json[0].content,
image: item.image
cAction.reportAction
.getContent(item.name)
.then(json => {
this.newsData.push({
id: index,
title: item.name,
content: json === null ? '' : json[0].content,
image: item.image
})
this.newsData = this.newsData.sort((a, b) => a.id - b.id)
})
this.newsData = this.newsData.sort((a, b) => a.id - b.id)
}).catch(e => { this.$message.error(e.message) }).finally(() => {})
.catch(e => {
this.$message.error(e.message)
})
.finally(() => {})
},
// request(item, index) {
// this.requestParam.type = item.type
......@@ -122,7 +128,7 @@ export default {
}
</script>
<style lang="scss" scoped>
.list-box{
.list-box {
width: 100%;
}
.cont-mian {
......
......@@ -42,8 +42,7 @@ export default {
menu: ['项目介绍', '宣传片', '教授采访', '学生风采'],
imgUrl: 'https://zws-imgs-pub.ezijing.com/static/public/24c97bb61b77949b415adcb06c7e43b1.png'
},
newsData: [
],
newsData: [],
activeIndex: 0,
tabMenu: ['宣讲会实录', '项目介绍'],
childActiveIndex: 0,
......@@ -51,7 +50,7 @@ export default {
page: 1,
per_page: 100,
type: 52,
project_id: 1009
project_id: 1011
}
}
},
......@@ -87,15 +86,21 @@ export default {
})
},
request(item, index) {
cAction.reportAction.getContent(item.name).then(json => {
this.newsData.push({
id: index,
title: item.name,
content: json === null ? '' : json[0].content,
image: item.image
cAction.reportAction
.getContent(item.name)
.then(json => {
this.newsData.push({
id: index,
title: item.name,
content: json === null ? '' : json[0].content,
image: item.image
})
this.newsData = this.newsData.sort((a, b) => a.id - b.id)
})
.catch(e => {
this.$message.error(e.message)
})
this.newsData = this.newsData.sort((a, b) => a.id - b.id)
}).catch(e => { this.$message.error(e.message) }).finally(() => {})
.finally(() => {})
},
requestList(n) {
cAction.reportAction
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论