custom.vue 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  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" 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. <div class="video-item-box">
  25. <i class="video-play-btn"></i><img :src="item.imgUrl">
  26. <p><span>展现:Mg动画</span><span>用途:生产工艺</span></p>
  27. </div>
  28. </li>
  29. </ul>
  30. <div class="classification-btns">
  31. <a class="classification-online-zixun" :href="zixunUrl">在线咨询</a>
  32. </div>
  33. </div>
  34. </div>
  35. <!-- 课程报价区域 -->
  36. <div class="client-course-quotation" ref="quotation">
  37. <div class="client-container quotation-wrap">
  38. <div class="left-text">
  39. <h3>课程定制在线报价</h3>
  40. <p>栋科客服人员会在30分钟内与你取得联系</p>
  41. </div>
  42. <courseBaojia class="baojia-form" tag="wkl" :user-list="userList" :sum="custom_sum"></courseBaojia>
  43. </div>
  44. </div>
  45. </div>
  46. </template>
  47. <script>
  48. import courseCardTitle from "@/components/course/course-card-title";
  49. import courseBaojia from "@/components/course/course-baojia";
  50. export default {
  51. name: 'weike',
  52. layout: 'templateB',
  53. head() {
  54. return {
  55. title: '微课制作_课件PPT_微课比赛_幼儿园微课_微课视频动画价格',
  56. meta: [
  57. {
  58. name: 'keywords',
  59. content: '微课,课件,课件ppt,微课制作,微课比赛,幼儿园微课,微课动画,微课视频,课件制作'
  60. },
  61. {
  62. name:'description',
  63. content:'麦塔拥有国内专业、成熟的微课制作团队,丰富的电子课程制作经验,业务方向包括教学设计体验、图文内容演示、教学课件、微课、情景动画、幼儿园微课等,在院校教育、零售连锁行业、汽车行业、金融等12大行业课程开发经验超过15年,规范可靠的研发流程、完善的质量评估和卓越的项目管理体系,能高效稳定地保障支付。'
  64. }
  65. ]
  66. }
  67. },
  68. components: {
  69. courseCardTitle,
  70. courseBaojia
  71. },
  72. async asyncData({$axios, store}) {
  73. // 设置选中菜单
  74. store.commit('setActiveNav', '/courseware');
  75. let [ res2, res3] = await Promise.all([
  76. $axios.$post(`/develop/sum`, {}),
  77. $axios.$post(`/develop/userlist`, {}),
  78. ])
  79. return {
  80. custom_sum: res2.data || 0,
  81. userList: res3.data.data || []
  82. }
  83. },
  84. data() {
  85. return {
  86. banner_image: require(`~/static/images/client/course/weike/weike-banner.png`),
  87. project: {
  88. title: '课程定制类型',
  89. data: [
  90. {
  91. type: 'donghuaweike',
  92. title: '动画微课',
  93. mainTitle: '百人动画微课制作团队,全国微课大赛获奖导师指导',
  94. subhead: '只做有灵魂的动画,只做有品质的微课',
  95. videos: [
  96. {
  97. title: '动画微课',
  98. purpose: '金融知识', // 用途
  99. imgUrl: require('~/static/images/client/course/weike/donghua01.png'),
  100. url: '',
  101. },
  102. {
  103. title: '动画微课',
  104. purpose: '人才管理', // 用途
  105. imgUrl: require('~/static/images/client/course/weike/donghua02.png'),
  106. url: '',
  107. },
  108. {
  109. title: '动画微课',
  110. purpose: '知识解答', // 用途
  111. imgUrl: require('~/static/images/client/course/weike/donghua03.png'),
  112. url: '',
  113. }
  114. ]
  115. },
  116. {
  117. type: 'shipinweike',
  118. title: '视频微课',
  119. mainTitle: '拍摄/文案/配音/制作一站式服务!',
  120. subhead: '追求卓越品质,用心为客户服务',
  121. videos: [
  122. {
  123. title: '视频微课',
  124. purpose: '视频微课', // 用途
  125. imgUrl: require('~/static/images/client/course/weike/shipin01.png'),
  126. url: '',
  127. },
  128. {
  129. title: '视频微课',
  130. purpose: '系统介绍', // 用途
  131. imgUrl: require('~/static/images/client/course/weike/shipin02.png'),
  132. url: '',
  133. },
  134. {
  135. title: '视频微课',
  136. purpose: '医学知识', // 用途
  137. imgUrl: require('~/static/images/client/course/weike/shipin03.png'),
  138. url: '',
  139. }
  140. ]
  141. },
  142. {
  143. type: 'wentuweike',
  144. title: '图文微课',
  145. mainTitle: '长文图/文图/E-Learning/电子杂志/H5交互',
  146. subhead: '麦塔微课制作-灵感/经验/细节缺一不可',
  147. videos: [
  148. {
  149. title: '图文微课',
  150. purpose: '产品解读', // 用途
  151. imgUrl: require('~/static/images/client/course/weike/tuwen01.png'),
  152. url: '',
  153. },
  154. {
  155. title: '图文微课',
  156. purpose: '电子课程', // 用途
  157. imgUrl: require('~/static/images/client/course/weike/tuwen02.png'),
  158. url: '',
  159. },
  160. {
  161. title: '图文微课',
  162. purpose: '知识培训', // 用途
  163. imgUrl: require('~/static/images/client/course/weike/tuwen03.png'),
  164. url: '',
  165. }
  166. ]
  167. },
  168. {
  169. type: 'PPTweike',
  170. title: 'PPT微课',
  171. mainTitle: '我们只做高端原创PPT微课,坚决抵制抄袭及模板',
  172. subhead: '针对每一个作品,都有严格的审核机制',
  173. videos: [
  174. {
  175. title: 'PPT课程',
  176. purpose: '企业宣传', // 用途
  177. imgUrl: require('~/static/images/client/course/weike/ppt01.png'),
  178. url: '',
  179. },
  180. {
  181. title: 'PPT课程',
  182. purpose: '知识培训', // 用途
  183. imgUrl: require('~/static/images/client/course/weike/ppt02.png'),
  184. url: '',
  185. },
  186. {
  187. title: 'PPT课程',
  188. purpose: '企业培训', // 用途
  189. imgUrl: require('~/static/images/client/course/weike/ppt03.png'),
  190. url: '',
  191. }
  192. ]
  193. }
  194. ]
  195. },
  196. zixunUrl: "https://affim.baidu.com/cps/chat?siteId=17930746&userId=40179606&siteToken=d9c57b2ea4cbedbb044677ef47a1e2d1",
  197. activeItem: 'donghuaweike'
  198. }
  199. },
  200. computed: {
  201. curItem() {
  202. return this.project.data.find(item => item.type === this.activeItem)
  203. },
  204. },
  205. methods: {
  206. changeItem(item) {
  207. this.activeItem = item.type;
  208. },
  209. goQuotation() {
  210. document.documentElement.scrollTop = this.$refs.quotation.offsetTop-150;
  211. window.pageYOffset = this.$refs.quotation.offsetTop -150;
  212. document.body.scrollTop=this.$refs.quotation.offsetTop -150;
  213. }
  214. }
  215. };
  216. </script>
  217. <style lang="scss" scoped>
  218. .course-weike {
  219. .client-course-banner {
  220. cursor: pointer;
  221. }
  222. .client-course-classification {
  223. box-sizing: border-box;
  224. text-align: center;
  225. height: 737px;
  226. padding-top: 135px;
  227. .classification-title {
  228. margin-bottom: 144px;
  229. }
  230. .classification-items {
  231. display: flex;
  232. justify-content: space-between;
  233. align-items: center;
  234. }
  235. li{
  236. width: 279px;height: 333px;position:relative;background-size: cover;
  237. background-repeat: no-repeat;cursor: pointer;
  238. p{font-size: 24px;color: #333;position: absolute;bottom: 65px;left:0;right:0;text-align: center;}
  239. }
  240. li.active{
  241. p{color: #2770FF;}
  242. }
  243. li:nth-child(1){
  244. background-image: url("~static/images/client/course/animationCard/kc-img1.png");
  245. }
  246. li.active:nth-child(1){
  247. background-image: url("~static/images/client/course/animationCard/kc-img1.png");
  248. }
  249. li:nth-child(2){
  250. background-image: url("~static/images/client/course/animationCard/kc-img2.png");
  251. }
  252. li.active:nth-child(2){
  253. background-image: url("~static/images/client/course/animationCard/kc-img2.png");
  254. }
  255. li:nth-child(3){
  256. background-image: url("~static/images/client/course/animationCard/kc-img3.png");
  257. }
  258. li.active:nth-child(3){
  259. background-image: url("~static/images/client/course/animationCard/kc-img3.png");
  260. }
  261. li:nth-child(4){
  262. background-image: url("~static/images/client/course/animationCard/kc-img4.png");
  263. }
  264. li.active:nth-child(4){
  265. background-image: url("~static/images/client/course/animationCard/kc-img4.png");
  266. }
  267. }
  268. .client-course-classification__info {
  269. box-sizing: border-box;
  270. background-image: url("~static/images/client/course/animation/course-bg-01.png");
  271. padding-top: 84px;
  272. height: 843px;
  273. .classification__info-title {
  274. margin-bottom: 57px;
  275. }
  276. .classification__info-mainTitle {
  277. text-align: center;
  278. font-weight: normal;
  279. color: #333333;
  280. margin-bottom: 16px;
  281. font-size: 24px;
  282. }
  283. .classification__info-subHead {
  284. text-align: center;
  285. font-size: 18px;
  286. font-weight: 400;
  287. color: #333333;
  288. }
  289. .classification__info-videos {
  290. display: flex;
  291. justify-content: center;
  292. align-items: center;
  293. margin: 122px 0 50px 0;
  294. .classification-video-item {
  295. background-color: #ccc;
  296. margin-right: 20px;
  297. width: 380px;
  298. height: 280px;
  299. &:last-child {
  300. margin-right: 0;
  301. }
  302. img {
  303. width: 380px;
  304. height: 280px;
  305. }
  306. }
  307. }
  308. .classification-btns {
  309. text-align: center;
  310. .classification-online-zixun {
  311. display: inline-block;
  312. background: #0065cd;
  313. border-radius: 6px;
  314. text-align: center;
  315. color: #ffffff;
  316. font-weight: 400;
  317. font-size: 16px;
  318. line-height: 48px;
  319. margin-bottom: 128px;
  320. width: 138px;
  321. height: 50px;
  322. }
  323. }
  324. }
  325. .client-course-quotation {
  326. background-image: url("~static/images/client/course/btns/course-bg-b1.png");
  327. height: 637px;
  328. .quotation-wrap {
  329. display: flex;
  330. justify-content: space-between;
  331. .left-text {
  332. margin-top: 282px;
  333. h3 {
  334. font-size: 48px;
  335. font-weight: 700;
  336. text-align: left;
  337. color: #fefefe;
  338. letter-spacing: 1.2px;
  339. margin-bottom: 33px;
  340. width: 410px;
  341. height: 47px;
  342. }
  343. p {
  344. font-size: 20px;
  345. font-weight: 400;
  346. text-align: left;
  347. color: #ffffff;
  348. width: 364px;
  349. height: 20px;
  350. }
  351. }
  352. .baojia-form {
  353. margin-top: 82px;
  354. margin-right: 120px;
  355. }
  356. }
  357. }
  358. @media (max-width: 768px){
  359. .client-course-classification {
  360. box-sizing: border-box;
  361. text-align: center;
  362. height: 400px;
  363. padding-top: 35px;
  364. .classification-title {
  365. margin-bottom: 42px;
  366. }
  367. .classification-items{
  368. flex-wrap: wrap;
  369. justify-content: space-around;
  370. }
  371. .classification-item {
  372. box-sizing: border-box;
  373. margin: 10px;
  374. width: calc(50% - 20px);
  375. height: 140px;
  376. &:not(:nth-child(even)) {
  377. margin-right: 0;
  378. }
  379. &:nth-child(n+3) {
  380. margin-top: 0;
  381. }
  382. }
  383. }
  384. .client-course-classification__info{
  385. height: auto;
  386. padding-top: 42px;
  387. .classification__info-videos {
  388. flex-wrap: wrap;
  389. flex-direction: column;
  390. box-sizing: border-box;
  391. padding: 20px;
  392. margin: 30px 0 0 0;
  393. .classification-video-item {
  394. height: auto;
  395. flex: 1;
  396. width: 100%;
  397. margin: 0 0 10px;
  398. img {
  399. height: auto;
  400. width: 100%;
  401. }
  402. }
  403. }
  404. .classification-btns {
  405. .classification-online-zixun {
  406. margin-bottom: 60px;
  407. }
  408. }
  409. }
  410. .client-course-quotation {
  411. margin-bottom: 200px;
  412. height: 400px;
  413. .quotation-wrap {
  414. flex-direction: column;
  415. .left-text {
  416. margin: 40px auto 0;
  417. h3 {
  418. text-align: center;
  419. font-size: 20px;
  420. margin-bottom: 10px;
  421. width: 100%;
  422. }
  423. p {
  424. text-align: center;
  425. width: 100%;
  426. font-size: 16px;
  427. }
  428. }
  429. .baojia-form {
  430. margin: 0 auto;
  431. }
  432. }
  433. }
  434. }
  435. }
  436. </style>