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

内容替换

上级 f1d4e880
...@@ -33,6 +33,6 @@ module.exports = { ...@@ -33,6 +33,6 @@ module.exports = {
}, },
ProvidePlugin: {}, ProvidePlugin: {},
others: { others: {
projectId: '1009' projectId: '1010'
} }
} }
...@@ -14,6 +14,6 @@ module.exports = { ...@@ -14,6 +14,6 @@ module.exports = {
}, },
ProvidePlugin: {}, ProvidePlugin: {},
others: { others: {
projectId: '1009' projectId: '1010'
} }
} }
...@@ -15,6 +15,6 @@ module.exports = { ...@@ -15,6 +15,6 @@ module.exports = {
}, },
ProvidePlugin: {}, ProvidePlugin: {},
others: { others: {
projectId: '1009' projectId: '1010'
} }
} }
...@@ -14,7 +14,7 @@ export function queryInformation(param) { ...@@ -14,7 +14,7 @@ export function queryInformation(param) {
// url: host.main + path.queryInformation, // url: host.main + path.queryInformation,
url: '/api/zws/v1/enrollment/submissions', url: '/api/zws/v1/enrollment/submissions',
params: { params: {
project_id: 1009, project_id: 1010,
name: 'hhahah' name: 'hhahah'
} }
}) })
...@@ -30,7 +30,7 @@ export function introduction(params) { ...@@ -30,7 +30,7 @@ export function introduction(params) {
// 获取所有介绍内容 // 获取所有介绍内容
return ax({ return ax({
method: 'GET', 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) { .then(function(response) {
params.cb(response.data[0].content) params.cb(response.data[0].content)
...@@ -47,7 +47,7 @@ export function getNews(params) { ...@@ -47,7 +47,7 @@ export function getNews(params) {
// url: host.main + path.news, // url: host.main + path.news,
url: '/api/zws/v1/cms/news', url: '/api/zws/v1/cms/news',
params: { params: {
project_id: 1009 project_id: 1010
} }
}) })
.then(function(response) { .then(function(response) {
......
...@@ -6,7 +6,7 @@ export default class ScoreAPI extends BaseAPI { ...@@ -6,7 +6,7 @@ export default class ScoreAPI extends BaseAPI {
*/ */
getContent = name => getContent = name =>
this.get( 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', addhost: 'zws-api.ezijing.com',
Host: 'zws-api.ezijing.com' Host: 'zws-api.ezijing.com'
......
...@@ -7,7 +7,7 @@ export default class ScoreAPI extends BaseAPI { ...@@ -7,7 +7,7 @@ export default class ScoreAPI extends BaseAPI {
*/ */
getContent = name => getContent = name =>
this.get( 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 @@ ...@@ -15,7 +15,7 @@
<h3>联系我们</h3> <h3>联系我们</h3>
<p> <p>
Swiss Education Group<br /> Swiss Education Group<br />
SHMS瑞士酒店管理大学<br /> CRCS瑞士恺撒里兹大学<br />
<!-- 电话:010-62793909<br /> <!-- 电话:010-62793909<br />
E-mail:chinafflg@ezijing.com<br /> --> E-mail:chinafflg@ezijing.com<br /> -->
地址:北京市海淀区中关村东路1号院7号楼5层<br /> 地址:北京市海淀区中关村东路1号院7号楼5层<br />
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
menuList: [ menuList: [
{ title: '中国教育部', href: 'http://www.moe.gov.cn/' }, { title: '中国教育部', href: 'http://www.moe.gov.cn/' },
{ title: '中国涉外教育监管网', href: 'http://jsj.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' } { title: 'Swiss Education Group ', href: 'www.swisseducation.com' }
] ]
} }
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
export default { export default {
data() { data() {
return { return {
title: 'SHMS瑞士酒店管理大学', title: 'CRCS瑞士恺撒里兹大学',
navList: [ navList: [
{ title: '首页', path: '/index' }, { title: '首页', path: '/index' },
{ title: '项目介绍', path: '/project' }, { title: '项目介绍', path: '/project' },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="origin" name="referrer" /> <meta content="origin" name="referrer" />
<title>SHMS瑞士酒店管理大学</title> <title>CRCS瑞士恺撒里兹大学</title>
<!-- <meta <!-- <meta
name="viewport" name="viewport"
id="viewport" id="viewport"
......
...@@ -4,7 +4,11 @@ ...@@ -4,7 +4,11 @@
<div class="cont-mian center97"> <div class="cont-mian center97">
<div class="module" v-if="activeIndex == 0"> <div class="module" v-if="activeIndex == 0">
<div class="left-txt" v-html="content"></div> <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>
<div class="module" v-if="activeIndex == 1"> <div class="module" v-if="activeIndex == 1">
<div> <div>
...@@ -31,7 +35,11 @@ ...@@ -31,7 +35,11 @@
<li :key="index" @click="goPage(item.source)">{{ item.title }}</li> <li :key="index" @click="goPage(item.source)">{{ item.title }}</li>
</template> </template>
</ul> </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> </div>
</div> </div>
...@@ -58,7 +66,7 @@ export default { ...@@ -58,7 +66,7 @@ export default {
page: 1, page: 1,
per_page: 100, per_page: 100,
type: 59, type: 59,
project_id: 1009 project_id: 1010
}, },
M1listData: [], M1listData: [],
M2listData: [] M2listData: []
......
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
</swiper> </swiper>
<div class="written"> <div class="written">
<div class="btn">项目介绍</div> <div class="btn">项目介绍</div>
<div class="txt">SHMS瑞士酒店管理大学 | 酒店与旅游方向工商管理硕士(MBA)</div> <div class="txt">CRCS瑞士恺撒里兹大学 | 酒店与旅游方向工商管理硕士(MBA)</div>
</div> </div>
</div> </div>
<div <div
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
</swiper> </swiper>
<div class="written"> <div class="written">
<div class="btn color">新闻活动</div> <div class="btn color">新闻活动</div>
<div class="txt">SHMS瑞士酒店管理大学 新年线下活动都分享了哪些干货?</div> <div class="txt">CRCS瑞士恺撒里兹大学 新年线下活动都分享了哪些干货?</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -30,12 +30,12 @@ export default { ...@@ -30,12 +30,12 @@ export default {
page: 1, page: 1,
per_page: 100, per_page: 100,
type: 58, type: 58,
project_id: 1009 project_id: 1010
}, },
listData: { listData: {
0: [], 0: [],
1: [] 1: []
}, }
} }
}, },
mounted() { mounted() {
......
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
if (n === 1) { if (n === 1) {
requestType = [ requestType = [
{ {
name: 'SHMS介绍', name: 'CRCS介绍',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png' image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
}, },
{ {
......
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
page: 1, page: 1,
per_page: 100, per_page: 100,
type: 55, type: 55,
project_id: 1009 project_id: 1010
}, },
allList: { allList: {
55: [], 55: [],
...@@ -76,7 +76,9 @@ export default { ...@@ -76,7 +76,9 @@ export default {
}) })
}, },
request(item, index) { request(item, index) {
cAction.reportAction.getContent(item.name).then(json => { cAction.reportAction
.getContent(item.name)
.then(json => {
this.newsData.push({ this.newsData.push({
id: index, id: index,
title: item.name, title: item.name,
...@@ -84,7 +86,11 @@ export default { ...@@ -84,7 +86,11 @@ export default {
image: item.image 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) { // request(item, index) {
// this.requestParam.type = item.type // this.requestParam.type = item.type
...@@ -122,7 +128,7 @@ export default { ...@@ -122,7 +128,7 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.list-box{ .list-box {
width: 100%; width: 100%;
} }
.cont-mian { .cont-mian {
......
...@@ -42,8 +42,7 @@ export default { ...@@ -42,8 +42,7 @@ export default {
menu: ['项目介绍', '宣传片', '教授采访', '学生风采'], menu: ['项目介绍', '宣传片', '教授采访', '学生风采'],
imgUrl: 'https://zws-imgs-pub.ezijing.com/static/public/24c97bb61b77949b415adcb06c7e43b1.png' imgUrl: 'https://zws-imgs-pub.ezijing.com/static/public/24c97bb61b77949b415adcb06c7e43b1.png'
}, },
newsData: [ newsData: [],
],
activeIndex: 0, activeIndex: 0,
tabMenu: ['宣讲会实录', '项目介绍'], tabMenu: ['宣讲会实录', '项目介绍'],
childActiveIndex: 0, childActiveIndex: 0,
...@@ -51,7 +50,7 @@ export default { ...@@ -51,7 +50,7 @@ export default {
page: 1, page: 1,
per_page: 100, per_page: 100,
type: 52, type: 52,
project_id: 1009 project_id: 1010
} }
} }
}, },
...@@ -87,7 +86,9 @@ export default { ...@@ -87,7 +86,9 @@ export default {
}) })
}, },
request(item, index) { request(item, index) {
cAction.reportAction.getContent(item.name).then(json => { cAction.reportAction
.getContent(item.name)
.then(json => {
this.newsData.push({ this.newsData.push({
id: index, id: index,
title: item.name, title: item.name,
...@@ -95,7 +96,11 @@ export default { ...@@ -95,7 +96,11 @@ export default {
image: item.image 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(() => {})
}, },
requestList(n) { requestList(n) {
cAction.reportAction cAction.reportAction
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论