提交 6633487c authored 作者: lihuihui's avatar lihuihui

修改样式

上级 6500892a
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<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/3128bdbea80c04f1cbe1d3d5c600f2c5.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 +31,7 @@ ...@@ -31,7 +31,7 @@
<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/3128bdbea80c04f1cbe1d3d5c600f2c5.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>
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<li> <li>
<img src="https://zws-imgs-pub.ezijing.com/static/public/fb858d15ea447d84051d263ea37112d3.png" alt="" /> <img src="https://zws-imgs-pub.ezijing.com/static/public/fb858d15ea447d84051d263ea37112d3.png" alt="" />
<!-- <div class="p">所获学位<br />全球通行,正规硕士学位</div> --> <!-- <div class="p">所获学位<br />全球通行,正规硕士学位</div> -->
<div class="p p2">全球酒店管理大学的楷模</div> <div class="p p2">全球酒店管理<br />大学的楷模</div>
</li> </li>
<li> <li>
<img src="https://zws-imgs-pub.ezijing.com/static/public/9237c8a37d07466b0834e68b8d5f786c.png" alt="" /> <img src="https://zws-imgs-pub.ezijing.com/static/public/9237c8a37d07466b0834e68b8d5f786c.png" alt="" />
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</li> </li>
<li> <li>
<img src="https://zws-imgs-pub.ezijing.com/static/public/b5dd7a8549203158b19c990caf753f15.png" alt="" /> <img src="https://zws-imgs-pub.ezijing.com/static/public/b5dd7a8549203158b19c990caf753f15.png" alt="" />
<div class="p p2">授予国内外高度认可的双学位</div> <div class="p p2">授予国内外高度<br />认可的双学位</div>
</li> </li>
<li> <li>
<img src="https://zws-imgs-pub.ezijing.com/static/public/f35e8152f2c7174e75bf4c2e70188893.png" alt="" /> <img src="https://zws-imgs-pub.ezijing.com/static/public/f35e8152f2c7174e75bf4c2e70188893.png" alt="" />
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<div> <div>
<div class="center97 apply-mian"> <div class="center97 apply-mian">
<news :data="newsData" :defaultPage="defaultPage"> <news :data="newsData" :defaultPage="defaultPage">
<div class="apply-btn" slot="imgBtn"> <!-- <div class="apply-btn" slot="imgBtn">
<div class="icon"></div> <div class="icon"></div>
<div class="txt" @click="goPage">项目申请</div> <div class="txt" @click="goPage">项目申请</div>
</div> </div> -->
</news> </news>
</div> </div>
</div> </div>
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<div class="center97 apply-mian"> <div class="center97 apply-mian">
<div class="apply-left"> <div class="apply-left">
<news :data="newsData"> <news :data="newsData">
<div class="apply-btn" slot="imgBtn"> <!-- <div class="apply-btn" slot="imgBtn">
<div class="icon"></div> <div class="icon"></div>
<div class="txt" @click="goPage">项目申请</div> <div class="txt" @click="goPage">项目申请</div>
</div> </div> -->
</news> </news>
<!-- <div class="tab-item" v-if="tabShowItem == 2" v-html="data.module5"></div> --> <!-- <div class="tab-item" v-if="tabShowItem == 2" v-html="data.module5"></div> -->
</div> </div>
......
...@@ -66,13 +66,7 @@ export default { ...@@ -66,13 +66,7 @@ export default {
}, },
getData() { getData() {
const requestType = [ const requestType = [
// {
// type: 56,
// name: '美方师资',
// image: 'https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/m2-r-img.b002ecd2.png'
// },
{ {
type: 57,
name: '本科课程设置', name: '本科课程设置',
image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png' image: 'https://zws-imgs-pub.ezijing.com/static/public/b9045c3182307689d0371bece5b2bf3a.png'
} }
...@@ -82,31 +76,42 @@ export default { ...@@ -82,31 +76,42 @@ export default {
}) })
}, },
request(item, index) { request(item, index) {
this.requestParam.type = item.type cAction.reportAction.getContent(item.name).then(json => {
cAction.reportAction this.newsData.push({
.getNews(this.requestParam) id: index,
.then(json => { title: item.name,
this.newsData.push({ content: json === null ? '' : json[0].content,
typeId: item.type, image: item.image
type: 'list',
id: index,
title: item.name,
content: '',
image: item.image
})
this.teachingListSetData(item.type, json)
// 针对 如果是多个 则进行数组排序
if (this.newsData.length === 2) {
this.newsData.sort((_, __) => {
return _.typeId - __.typeId
})
}
}) })
.catch(e => { this.newsData = this.newsData.sort((a, b) => a.id - b.id)
this.$message.error(e.message) }).catch(e => { this.$message.error(e.message) }).finally(() => {})
})
.finally(() => {})
}, },
// request(item, index) {
// this.requestParam.type = item.type
// cAction.reportAction
// .getNews(this.requestParam)
// .then(json => {
// this.newsData.push({
// typeId: item.type,
// type: 'list',
// id: index,
// title: item.name,
// content: '',
// image: item.image
// })
// this.teachingListSetData(item.type, json)
// // 针对 如果是多个 则进行数组排序
// if (this.newsData.length === 2) {
// this.newsData.sort((_, __) => {
// return _.typeId - __.typeId
// })
// }
// })
// .catch(e => {
// this.$message.error(e.message)
// })
// .finally(() => {})
// },
changeTab(index) { changeTab(index) {
this.activeIndex = index this.activeIndex = index
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论