custom.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. <template>
  2. <div class="client-course-page course-weike">
  3. <!-- 宣传图 -->
  4. <div class="client-course-banner" :style="{backgroundImage:`url(${banner_image})`}" @click="goQuotation"></div>
  5. <!-- 动画分类显示区域 -->
  6. <div class="client-course-classification">
  7. <div class="client-container">
  8. <courseCardTitle :title="project.title" class="classification-title"></courseCardTitle>
  9. <ul class="classification-items">
  10. <li class="classification-item" :class="{active:item.type === activeItem }" v-for="item in project.data" @click="changeItem(item)">
  11. <p>{{ item.title }}</p>
  12. </li>
  13. </ul>
  14. </div>
  15. </div>
  16. <!-- 动画分类详情区域 -->
  17. <div class="client-course-classification__info">
  18. <div class="client-container">
  19. <courseCardTitle :title="curItem.title" class="classification__info-title"></courseCardTitle>
  20. <div class="classification__info-mainTitle">{{curItem.mainTitle}}</div>
  21. <div class="classification__info-subHead">{{curItem.subhead}}</div>
  22. <ul class="classification__info-videos">
  23. <li v-for="item in curItem.videos" class="classification-video-item">
  24. <course-video :img-url="item.imgUrl" :video-data="item" :source="item.url"></course-video>
  25. </li>
  26. </ul>
  27. <div class="classification-btns">
  28. <a class="classification-online-zixun" :href="zixunUrl">在线咨询</a>
  29. </div>
  30. </div>
  31. </div>
  32. <!-- 课程报价区域 -->
  33. <div class="client-course-quotation" ref="quotation">
  34. <div class="client-container quotation-wrap">
  35. <div class="left-text">
  36. <h3>课程定制在线报价</h3>
  37. <p>栋科客服人员会在30分钟内与你取得联系</p>
  38. </div>
  39. <courseBaojia class="baojia-form" tag="wkl" :user-list="userList" :sum="custom_sum"></courseBaojia>
  40. </div>
  41. </div>
  42. </div>
  43. </template>
  44. <script>
  45. import courseCardTitle from "@/components/course/course-card-title";
  46. import courseBaojia from "@/components/course/course-baojia";
  47. import courseVideo from "@/components/course/course-video";
  48. export default {
  49. name: 'weike',
  50. layout: 'templateB',
  51. head() {
  52. return {
  53. title: '微课制作_课件PPT_微课比赛_幼儿园微课_微课视频动画价格',
  54. meta: [
  55. {
  56. name: 'keywords',
  57. content: '微课,课件,课件ppt,微课制作,微课比赛,幼儿园微课,微课动画,微课视频,课件制作'
  58. },
  59. {
  60. name:'description',
  61. content:'麦塔拥有国内专业、成熟的微课制作团队,丰富的电子课程制作经验,业务方向包括教学设计体验、图文内容演示、教学课件、微课、情景动画、幼儿园微课等,在院校教育、零售连锁行业、汽车行业、金融等12大行业课程开发经验超过15年,规范可靠的研发流程、完善的质量评估和卓越的项目管理体系,能高效稳定地保障支付。'
  62. }
  63. ]
  64. }
  65. },
  66. components: {
  67. courseCardTitle,
  68. courseBaojia,
  69. courseVideo
  70. },
  71. async asyncData({$axios, store}) {
  72. // 设置选中菜单
  73. store.commit('setActiveNav', '/courseware');
  74. let [ res2, res3] = await Promise.all([
  75. $axios.$post(`/develop/sum`, {}),
  76. $axios.$post(`/develop/userlist`, {}),
  77. ])
  78. return {
  79. custom_sum: res2.data || 0,
  80. userList: res3.data.data || []
  81. }
  82. },
  83. data() {
  84. return {
  85. banner_image: require(`~/static/images/client/course/weike/weike-banner.png`),
  86. project: {
  87. title: '微课制作',
  88. data: [
  89. {
  90. type: 'donghuaweike',
  91. title: '动画微课',
  92. mainTitle: '百人动画微课制作团队,全国微课大赛获奖导师指导',
  93. subhead: '只做有灵魂的动画,只做有品质的微课',
  94. videos: [
  95. {
  96. title: '动画微课',
  97. purpose: '金融知识', // 用途
  98. imgUrl: require('~/static/images/client/course/weike/donghua01.png'),
  99. url: 'https://spdb.mtavip.com/sv/4bdd4a90-186533ac3d9/4bdd4a90-186533ac3d9.mp4',
  100. },
  101. {
  102. title: '动画微课',
  103. purpose: '人才管理', // 用途
  104. imgUrl: require('~/static/images/client/course/weike/donghua02.png'),
  105. url: 'https://spdb.mtavip.com/sv/4f14ce1b-1864e8fbc73/4f14ce1b-1864e8fbc73.mp4',
  106. },
  107. {
  108. title: '动画微课',
  109. purpose: '知识解答', // 用途
  110. imgUrl: require('~/static/images/client/course/weike/donghua03.png'),
  111. url: 'https://spdb.mtavip.com/sv/488485fb-1864e8fc2e5/488485fb-1864e8fc2e5.mp4',
  112. }
  113. ]
  114. },
  115. {
  116. type: 'shipinweike',
  117. title: '视频微课',
  118. mainTitle: '拍摄/文案/配音/制作一站式服务!',
  119. subhead: '追求卓越品质,用心为客户服务',
  120. videos: [
  121. {
  122. title: '视频微课',
  123. purpose: '船员培训', // 用途
  124. imgUrl: require('~/static/images/client/course/weike/shipin01.png'),
  125. url: 'https://spdb.mtavip.com/sv/109e2e75-1864e900229/109e2e75-1864e900229.mp4',
  126. },
  127. {
  128. title: '视频微课',
  129. purpose: '系统介绍', // 用途
  130. imgUrl: require('~/static/images/client/course/weike/shipin02.png'),
  131. url: 'https://spdb.mtavip.com/sv/4c894dba-1864e90057b/4c894dba-1864e90057b.mp4',
  132. },
  133. {
  134. title: '视频微课',
  135. purpose: '医学知识', // 用途
  136. imgUrl: require('~/static/images/client/course/weike/shipin03.png'),
  137. url: 'https://spdb.mtavip.com/sv/4f76dfa-1864e9096ab/4f76dfa-1864e9096ab.mp4',
  138. }
  139. ]
  140. },
  141. {
  142. type: 'wentuweike',
  143. title: '图文微课',
  144. mainTitle: '长文图/文图/E-Learning/电子杂志/H5交互',
  145. subhead: '灵感/经验/细节缺一不可',
  146. videos: [
  147. {
  148. title: '图文微课',
  149. purpose: '产品解读', // 用途
  150. imgUrl: require('~/static/images/client/course/weike/tuwen01.png'),
  151. url: 'https://spdb.mtavip.com/sv/280d6bb7-1864e90a3c2/280d6bb7-1864e90a3c2.mp4',
  152. },
  153. {
  154. title: '图文微课',
  155. purpose: '电子课程', // 用途
  156. imgUrl: require('~/static/images/client/course/weike/tuwen02.png'),
  157. url: 'https://spdb.mtavip.com/sv/4f01d75e-1864e90a3fb/4f01d75e-1864e90a3fb.mp4',
  158. },
  159. {
  160. title: '图文微课',
  161. purpose: '知识培训', // 用途
  162. imgUrl: require('~/static/images/client/course/weike/tuwen03.png'),
  163. url: 'https://spdb.mtavip.com/sv/1baa56ff-1864e90dbde/1baa56ff-1864e90dbde.mp4',
  164. }
  165. ]
  166. },
  167. {
  168. type: 'PPTweike',
  169. title: 'PPT微课',
  170. mainTitle: '我们只做高端原创PPT微课,坚决抵制抄袭及模板',
  171. subhead: '针对每一个作品,都有严格的审核机制',
  172. videos: [
  173. {
  174. title: 'PPT课程',
  175. purpose: '企业宣传', // 用途
  176. imgUrl: require('~/static/images/client/course/weike/ppt01.png'),
  177. url: 'https://spdb.mtavip.com/sv/195d28af-1864e8ee5a7/195d28af-1864e8ee5a7.mp4',
  178. },
  179. {
  180. title: 'PPT课程',
  181. purpose: '知识培训', // 用途
  182. imgUrl: require('~/static/images/client/course/weike/ppt02.png'),
  183. url: 'https://spdb.mtavip.com/sv/393a31d6-1864e8f1f80/393a31d6-1864e8f1f80.mp4',
  184. },
  185. {
  186. title: 'PPT课程',
  187. purpose: '企业培训', // 用途
  188. imgUrl: require('~/static/images/client/course/weike/ppt03.png'),
  189. url: 'https://spdb.mtavip.com/sv/498c94b1-1864e8f4aa2/498c94b1-1864e8f4aa2.mp4',
  190. }
  191. ]
  192. }
  193. ]
  194. },
  195. zixunUrl: "https://affim.baidu.com/cps/chat?siteId=17930746&userId=40179606&siteToken=d9c57b2ea4cbedbb044677ef47a1e2d1",
  196. activeItem: 'donghuaweike'
  197. }
  198. },
  199. computed: {
  200. curItem() {
  201. return this.project.data.find(item => item.type === this.activeItem)
  202. },
  203. },
  204. methods: {
  205. changeItem(item) {
  206. this.activeItem = item.type;
  207. },
  208. goQuotation() {
  209. document.documentElement.scrollTop = this.$refs.quotation.offsetTop-150;
  210. window.pageYOffset = this.$refs.quotation.offsetTop -150;
  211. document.body.scrollTop=this.$refs.quotation.offsetTop -150;
  212. }
  213. }
  214. };
  215. </script>
  216. <style lang="scss">
  217. .course-weike {
  218. .client-course-banner {
  219. cursor: pointer;
  220. }
  221. .client-course-classification {
  222. box-sizing: border-box;
  223. text-align: center;
  224. height: 737px;
  225. padding-top: 135px;
  226. li:nth-child(1){
  227. background-image: url("~static/images/client/course/animationCard/kc-img1.png");
  228. }
  229. li.active:nth-child(1){
  230. background-image: url("~static/images/client/course/animationCard/kc-img1-active.png");
  231. }
  232. li:nth-child(2){
  233. background-image: url("~static/images/client/course/animationCard/kc-img2.png");
  234. }
  235. li.active:nth-child(2){
  236. background-image: url("~static/images/client/course/animationCard/kc-img2-active.png");
  237. }
  238. li:nth-child(3){
  239. background-image: url("~static/images/client/course/animationCard/kc-img3.png");
  240. }
  241. li.active:nth-child(3){
  242. background-image: url("~static/images/client/course/animationCard/kc-img3-active.png");
  243. }
  244. li:nth-child(4){
  245. background-image: url("~static/images/client/course/animationCard/kc-img4.png");
  246. }
  247. li.active:nth-child(4){
  248. background-image: url("~static/images/client/course/animationCard/kc-img4-active.png");
  249. }
  250. }
  251. .client-course-classification__info {
  252. box-sizing: border-box;
  253. background-image: url("~static/images/client/course/animation/course-bg-01.png");
  254. background-position-x: center;
  255. background-repeat: no-repeat;
  256. padding-top: 84px;
  257. height: 843px;
  258. .classification__info-title {
  259. margin-bottom: 57px;
  260. }
  261. .classification__info-mainTitle {
  262. text-align: center;
  263. font-weight: normal;
  264. color: #333333;
  265. margin-bottom: 24px;
  266. font-size: 24px;
  267. letter-spacing: 2px;
  268. }
  269. .classification__info-subHead {
  270. text-align: center;
  271. font-size: 18px;
  272. font-weight: 400;
  273. color: #333333;
  274. letter-spacing: 2px;
  275. }
  276. .classification-btns {
  277. margin-top: 80px;
  278. text-align: center;
  279. .classification-online-zixun {
  280. display: inline-block;
  281. background: #0065cd;
  282. border-radius: 6px;
  283. text-align: center;
  284. color: #ffffff;
  285. font-weight: 400;
  286. font-size: 16px;
  287. line-height: 50px;
  288. margin-bottom: 128px;
  289. width: 138px;
  290. height: 50px;
  291. }
  292. }
  293. }
  294. @media (max-width: 768px){
  295. .client-course-classification {
  296. box-sizing: border-box;
  297. text-align: center;
  298. height: unset;
  299. padding: 35px 0;
  300. }
  301. .client-course-classification__info{
  302. height: auto;background-repeat: no-repeat;
  303. background-size: cover;padding-top: 42px;
  304. .classification__info-mainTitle{
  305. font-size: 15px;color: #333;margin-bottom: 16px;letter-spacing:0;
  306. }
  307. .classification__info-subHead{
  308. font-size: 13px;color: #555;margin-bottom: 16px;letter-spacing:0;
  309. }
  310. .classification-btns {
  311. margin-top: 20px;
  312. .classification-online-zixun {
  313. margin-bottom: 60px;
  314. }
  315. }
  316. }
  317. }
  318. }
  319. </style>