|
@@ -7,7 +7,9 @@
|
|
<div class="client-container">
|
|
<div class="client-container">
|
|
<courseCardTitle :title="project.title" class="classification-title"></courseCardTitle>
|
|
<courseCardTitle :title="project.title" class="classification-title"></courseCardTitle>
|
|
<ul class="classification-items">
|
|
<ul class="classification-items">
|
|
- <li class="classification-item" :class="{active:item.type === activeItem }" v-for="item in project.data" @click="changeItem(item)">{{ item.title }}</li>
|
|
|
|
|
|
+ <li class="classification-item" :class="{active:item.type === activeItem }" v-for="item in project.data"
|
|
|
|
+ @click="changeItem(item)">{{ item.title }}
|
|
|
|
+ </li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -15,11 +17,12 @@
|
|
<div class="client-course-classification__info">
|
|
<div class="client-course-classification__info">
|
|
<div class="client-container">
|
|
<div class="client-container">
|
|
<courseCardTitle :title="curItem.title" class="classification__info-title"></courseCardTitle>
|
|
<courseCardTitle :title="curItem.title" class="classification__info-title"></courseCardTitle>
|
|
- <div class="classification__info-mainTitle">{{curItem.mainTitle}}</div>
|
|
|
|
- <div class="classification__info-subHead">{{curItem.subhead}}</div>
|
|
|
|
|
|
+ <div class="classification__info-mainTitle">{{ curItem.mainTitle }}</div>
|
|
|
|
+ <div class="classification__info-subHead">{{ curItem.subhead }}</div>
|
|
<ul class="classification__info-videos">
|
|
<ul class="classification__info-videos">
|
|
<li v-for="item in curItem.videos" class="classification-video-item">
|
|
<li v-for="item in curItem.videos" class="classification-video-item">
|
|
- <img :src="item.imgUrl" />
|
|
|
|
|
|
+ <course-video :img-url="item.imgUrl" :title="item.title" :dialog-title="item.title"
|
|
|
|
+ :source="item.url"></course-video>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
<div class="classification-btns">
|
|
<div class="classification-btns">
|
|
@@ -43,6 +46,7 @@
|
|
<script>
|
|
<script>
|
|
import courseCardTitle from "@/components/course/course-card-title";
|
|
import courseCardTitle from "@/components/course/course-card-title";
|
|
import courseBaojia from "@/components/course/course-baojia";
|
|
import courseBaojia from "@/components/course/course-baojia";
|
|
|
|
+import courseVideo from "@/components/course/course-video";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'animation',
|
|
name: 'animation',
|
|
@@ -56,21 +60,22 @@ export default {
|
|
content: '课件PPT,PPT制作,课件PPT制作,教学微课,教学课件,微课课件,教学课件制作,课件制作,PPT修改,PPT美化,PPT设计'
|
|
content: '课件PPT,PPT制作,课件PPT制作,教学微课,教学课件,微课课件,教学课件制作,课件制作,PPT修改,PPT美化,PPT设计'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name:'description',
|
|
|
|
- content:'麦塔拥有国内专业、成熟的课件PPT制作团队,丰富的电子课程制作经验,业务方向包括教学设计体验、图文内容演示、教学课件、微课、课件PPT等,在院校教育、零售连锁行业、汽车行业、金融等12大行业课程开发经验超过15年,规范可靠的研发流程、完善的质量评估和卓越的项目管理体系,能高效稳定地保障支付。'
|
|
|
|
|
|
+ name: 'description',
|
|
|
|
+ content: '麦塔拥有国内专业、成熟的课件PPT制作团队,丰富的电子课程制作经验,业务方向包括教学设计体验、图文内容演示、教学课件、微课、课件PPT等,在院校教育、零售连锁行业、汽车行业、金融等12大行业课程开发经验超过15年,规范可靠的研发流程、完善的质量评估和卓越的项目管理体系,能高效稳定地保障支付。'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
courseCardTitle,
|
|
courseCardTitle,
|
|
- courseBaojia
|
|
|
|
|
|
+ courseBaojia,
|
|
|
|
+ courseVideo
|
|
},
|
|
},
|
|
async asyncData({$axios, store}) {
|
|
async asyncData({$axios, store}) {
|
|
// 设置选中菜单
|
|
// 设置选中菜单
|
|
store.commit('setActiveNav', '/courseware');
|
|
store.commit('setActiveNav', '/courseware');
|
|
|
|
|
|
- let [ res2, res3] = await Promise.all([
|
|
|
|
|
|
+ let [res2, res3] = await Promise.all([
|
|
$axios.$post(`/develop/sum`, {}),
|
|
$axios.$post(`/develop/sum`, {}),
|
|
$axios.$post(`/develop/userlist`, {}),
|
|
$axios.$post(`/develop/userlist`, {}),
|
|
])
|
|
])
|
|
@@ -206,9 +211,9 @@ export default {
|
|
this.activeItem = item.type;
|
|
this.activeItem = item.type;
|
|
},
|
|
},
|
|
goQuotation() {
|
|
goQuotation() {
|
|
- document.documentElement.scrollTop = this.$refs.quotation.offsetTop-150;
|
|
|
|
- window.pageYOffset = this.$refs.quotation.offsetTop -150;
|
|
|
|
- document.body.scrollTop=this.$refs.quotation.offsetTop -150;
|
|
|
|
|
|
+ document.documentElement.scrollTop = this.$refs.quotation.offsetTop - 150;
|
|
|
|
+ window.pageYOffset = this.$refs.quotation.offsetTop - 150;
|
|
|
|
+ document.body.scrollTop = this.$refs.quotation.offsetTop - 150;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -298,6 +303,7 @@ export default {
|
|
|
|
|
|
.classification-btns {
|
|
.classification-btns {
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+
|
|
.classification-online-zixun {
|
|
.classification-online-zixun {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
background: #0065cd;
|
|
background: #0065cd;
|
|
@@ -355,7 +361,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- @media (max-width: 768px){
|
|
|
|
|
|
+ @media (max-width: 768px) {
|
|
.client-course-classification {
|
|
.client-course-classification {
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -365,10 +371,12 @@ export default {
|
|
.classification-title {
|
|
.classification-title {
|
|
margin-bottom: 42px;
|
|
margin-bottom: 42px;
|
|
}
|
|
}
|
|
- .classification-items{
|
|
|
|
|
|
+
|
|
|
|
+ .classification-items {
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
justify-content: space-around;
|
|
}
|
|
}
|
|
|
|
+
|
|
.classification-item {
|
|
.classification-item {
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
margin: 10px;
|
|
margin: 10px;
|
|
@@ -378,13 +386,14 @@ export default {
|
|
&:not(:nth-child(even)) {
|
|
&:not(:nth-child(even)) {
|
|
margin-right: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
&:nth-child(n+3) {
|
|
&:nth-child(n+3) {
|
|
margin-top: 0;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .client-course-classification__info{
|
|
|
|
|
|
+ .client-course-classification__info {
|
|
height: auto;
|
|
height: auto;
|
|
padding-top: 42px;
|
|
padding-top: 42px;
|
|
|
|
|