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

内容替换

上级 f1d4e880
......@@ -33,6 +33,6 @@ module.exports = {
},
ProvidePlugin: {},
others: {
projectId: '1009'
projectId: '1010'
}
}
......@@ -14,6 +14,6 @@ module.exports = {
},
ProvidePlugin: {},
others: {
projectId: '1009'
projectId: '1010'
}
}
......@@ -15,6 +15,6 @@ module.exports = {
},
ProvidePlugin: {},
others: {
projectId: '1009'
projectId: '1010'
}
}
......@@ -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: 1010,
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/1010/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: 1010
}
})
.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/1010/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=seg-crcs.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/1010/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=seg-crcs.ezijing.com`,
{}
)
/**
......
......@@ -15,7 +15,7 @@
<h3>联系我们</h3>
<p>
Swiss Education Group<br />
SHMS瑞士酒店管理大学<br />
CRCS瑞士恺撒里兹大学<br />
<!-- 电话:010-62793909<br />
E-mail:chinafflg@ezijing.com<br /> -->
地址:北京市海淀区中关村东路1号院7号楼5层<br />
......@@ -65,7 +65,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: 'CRCS瑞士恺撒里兹大学', href: 'http://www.shms.com' },
{ title: 'Swiss Education Group ', href: 'www.swisseducation.com' }
]
}
......
......@@ -47,7 +47,7 @@
export default {
data() {
return {
title: 'SHMS瑞士酒店管理大学',
title: 'CRCS瑞士恺撒里兹大学',
navList: [
{ title: '首页', path: '/index' },
{ title: '项目介绍', path: '/project' },
......
......@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="origin" name="referrer" />
<title>SHMS瑞士酒店管理大学</title>
<title>CRCS瑞士恺撒里兹大学</title>
<!-- <meta
name="viewport"
id="viewport"
......@@ -41,7 +41,7 @@
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?45ff88cfcd1cf031f43e64eb9650315d";
var s = document.getElementsByTagName("script")[0];
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</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: 1010
},
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>
......@@ -112,7 +112,7 @@
<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>
......@@ -168,7 +168,7 @@
</swiper>
<div class="written">
<div class="btn">项目介绍</div>
<div class="txt">SHMS瑞士酒店管理大学 | 酒店与旅游方向工商管理硕士(MBA)</div>
<div class="txt">CRCS瑞士恺撒里兹大学 | 酒店与旅游方向工商管理硕士(MBA)</div>
</div>
</div>
<div
......@@ -187,7 +187,7 @@
</swiper>
<div class="written">
<div class="btn color">新闻活动</div>
<div class="txt">SHMS瑞士酒店管理大学 新年线下活动都分享了哪些干货?</div>
<div class="txt">CRCS瑞士恺撒里兹大学 新年线下活动都分享了哪些干货?</div>
</div>
</div>
</div>
......
......@@ -30,12 +30,12 @@ export default {
page: 1,
per_page: 100,
type: 58,
project_id: 1009
project_id: 1010
},
listData: {
0: [],
1: []
},
}
}
},
mounted() {
......
......@@ -44,7 +44,7 @@ export default {
if (n === 1) {
requestType = [
{
name: 'SHMS介绍',
name: 'CRCS介绍',
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: 1010
},
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: 1010
}
}
},
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论