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

bug fixes

上级 df9f5998
...@@ -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/1014/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=seg-ajsa.ezijing.com`, `zws/v1/cms/projects/1014/contents?sites=seg-ajsa.ezijing.com&tags=${name}`,
{} {}
) )
/** /**
......
...@@ -32,15 +32,15 @@ export default { ...@@ -32,15 +32,15 @@ export default {
getData() { getData() {
const requestType = [ const requestType = [
{ {
name: '申请条件', name: '本科-申请条件',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png' image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
}, },
{ {
name: '申请流程', name: '本科-申请流程',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png' image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
}, },
{ {
name: '常见问题', name: '本科-常见问题',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png' image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
} }
] ]
......
...@@ -44,7 +44,15 @@ export default { ...@@ -44,7 +44,15 @@ export default {
getData() { getData() {
const requestType = [ const requestType = [
{ {
name: '学费', name: '硕士-申请条件',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
},
{
name: '硕士-申请流程',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
},
{
name: '硕士-常见问题',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png' image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
} }
] ]
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
:data="bannerTabData" :data="bannerTabData"
@changeTab="changeTab" @changeTab="changeTab"
></banner-tab> ></banner-tab>
<apply :data="content"></apply> <apply v-show="activeIndex == 0" :data="content"></apply>
<support v-show="false" :data="content"></support> <support v-show="activeIndex == 1" :data="content"></support>
</div> </div>
</template> </template>
<script> <script>
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
}, },
mounted() { mounted() {
// this.getData() // this.getData()
}, },
methods: { methods: {
changeTab(index) { changeTab(index) {
this.activeIndex = index this.activeIndex = index
......
...@@ -22,7 +22,11 @@ export default { ...@@ -22,7 +22,11 @@ export default {
getData() { getData() {
const requestType = [ const requestType = [
{ {
name: '预科课程设置', name: '本科1+2项目课程',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
},
{
name: '硕士直通车项目课程',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png' image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
} }
] ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论