ppt.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. <template>
  2. <div class="client-course-page course-ppt">
  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"
  11. @click="changeItem(item)">
  12. <p>{{ item.title }}</p>
  13. </li>
  14. </ul>
  15. </div>
  16. </div>
  17. <!-- 动画分类详情区域 -->
  18. <div class="client-course-classification__info">
  19. <div class="client-container">
  20. <courseCardTitle :title="curItem.title" class="classification__info-title"></courseCardTitle>
  21. <div class="classification__info-mainTitle">{{ curItem.mainTitle }}</div>
  22. <div class="classification__info-subHead">{{ curItem.subhead }}</div>
  23. <ul class="classification__info-videos">
  24. <li v-for="item in curItem.videos" class="classification-video-item">
  25. <course-video :img-url="item.imgUrl" :video-data="item" :source="item.url"></course-video>
  26. </li>
  27. </ul>
  28. <div class="classification-btns">
  29. <a class="classification-online-zixun" :href="zixunUrl">在线咨询</a>
  30. </div>
  31. </div>
  32. </div>
  33. <!-- 课程报价区域 -->
  34. <div class="client-course-quotation" ref="quotation">
  35. <div class="client-container quotation-wrap">
  36. <div class="left-text">
  37. <h3>课程定制在线报价</h3>
  38. <p>栋科客服人员会在30分钟内与你取得联系</p>
  39. </div>
  40. <courseBaojia class="baojia-form" tag="ppt" :user-list="userList" :sum="custom_sum"></courseBaojia>
  41. </div>
  42. </div>
  43. </div>
  44. </template>
  45. <script>
  46. import courseCardTitle from "@/components/course/course-card-title";
  47. import courseBaojia from "@/components/course/course-baojia";
  48. import courseVideo from "@/components/course/course-video";
  49. export default {
  50. name: 'animation',
  51. layout: 'templateB',
  52. head() {
  53. return {
  54. title: '课件PPT制作_PPT修改_PPT美化_PPT设计_教学微课制作_教学课件制作',
  55. meta: [
  56. {
  57. name: 'keywords',
  58. content: '课件PPT,PPT制作,课件PPT制作,教学微课,教学课件,微课课件,教学课件制作,课件制作,PPT修改,PPT美化,PPT设计'
  59. },
  60. {
  61. name: 'description',
  62. content: '麦塔拥有国内专业、成熟的课件PPT制作团队,丰富的电子课程制作经验,业务方向包括教学设计体验、图文内容演示、教学课件、微课、课件PPT等,在院校教育、零售连锁行业、汽车行业、金融等12大行业课程开发经验超过15年,规范可靠的研发流程、完善的质量评估和卓越的项目管理体系,能高效稳定地保障支付。'
  63. }
  64. ]
  65. }
  66. },
  67. components: {
  68. courseCardTitle,
  69. courseBaojia,
  70. courseVideo
  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/ppt/ppt-banner.png`),
  87. project: {
  88. title: '课件PPT',
  89. data: [
  90. {
  91. type: 'kejianPPT',
  92. title: '课件PPT',
  93. mainTitle: '幼儿园课件/小初高课件/院校课件/培训课件',
  94. subhead: '专精课程类PPT制作-高效/高质/低价',
  95. videos: [
  96. {
  97. title: '课件PPT',
  98. purpose: '产品发布', // 用途
  99. imgUrl: require('~/static/images/client/course/ppt/jiaoxue01.png'),
  100. url: 'https://spdb.mtavip.com/sv/3b9d17e3-1864e8db824/3b9d17e3-1864e8db824.mp4',
  101. },
  102. {
  103. title: '课件PPT',
  104. purpose: '外语学习', // 用途
  105. imgUrl: require('~/static/images/client/course/ppt/jiaoxue02.png'),
  106. url: 'https://spdb.mtavip.com/sv/5e1bcd9e-1864e8dd428/5e1bcd9e-1864e8dd428.mp4',
  107. },
  108. {
  109. title: '课件PPT',
  110. purpose: '外语学习', // 用途
  111. imgUrl: require('~/static/images/client/course/ppt/jiaoxue03.png'),
  112. url: 'https://spdb.mtavip.com/sv/10d3f59f-1864e8dea7b/10d3f59f-1864e8dea7b.mp4',
  113. }
  114. ]
  115. },
  116. {
  117. type: 'yanshiPPT',
  118. title: '演示PPT',
  119. mainTitle: '工业演示/医疗演示/建筑演示/机械演示',
  120. subhead: '做演示类PPT,麦塔更优秀!',
  121. videos: [
  122. {
  123. title: '演示PPT',
  124. purpose: '电子书', // 用途
  125. imgUrl: require('~/static/images/client/course/ppt/yanshi01.png'),
  126. url: 'https://spdb.mtavip.com/sv/33b0041f-1864e8ea72e/33b0041f-1864e8ea72e.mp4',
  127. },
  128. {
  129. title: '演示PPT',
  130. purpose: '功能演示', // 用途
  131. imgUrl: require('~/static/images/client/course/ppt/yanshi02.png'),
  132. url: 'https://spdb.mtavip.com/sv/3eb664b5-1864e8eae02/3eb664b5-1864e8eae02.mp4',
  133. },
  134. {
  135. title: '演示PPT',
  136. purpose: '金融制度', // 用途
  137. imgUrl: require('~/static/images/client/course/ppt/yanshi03.png'),
  138. url: 'https://spdb.mtavip.com/sv/1edef125-1864e8eb557/1edef125-1864e8eb557.mp4',
  139. }
  140. ]
  141. },
  142. {
  143. type: 'shangyePPT',
  144. title: '商业PPT',
  145. mainTitle: '招商计划/商业活动/企业宣传/招商路演',
  146. subhead: '投资咨询师与营销分析师协作完成',
  147. videos: [
  148. {
  149. title: '商业PPT',
  150. purpose: '产品推广', // 用途
  151. imgUrl: require('~/static/images/client/course/ppt/shangye01.png'),
  152. url: 'https://spdb.mtavip.com/sv/178bf087-1864e8df921/178bf087-1864e8df921.mp4',
  153. },
  154. {
  155. title: '商业PPT',
  156. purpose: '数据展示', // 用途
  157. imgUrl: require('~/static/images/client/course/ppt/shangye02.png'),
  158. url: 'https://spdb.mtavip.com/sv/1ef2cfe1-1864e8dfb6f/1ef2cfe1-1864e8dfb6f.mp4',
  159. },
  160. {
  161. title: '商业PPT',
  162. purpose: '商业汇报', // 用途
  163. imgUrl: require('~/static/images/client/course/ppt/shangye03.png'),
  164. url: 'https://spdb.mtavip.com/sv/3f6535cb-1864e8e0b86/3f6535cb-1864e8e0b86.mp4',
  165. }
  166. ]
  167. },
  168. {
  169. type: 'huibaoPPT',
  170. title: '汇报PPT',
  171. mainTitle: '工作汇报/年终汇报/述职报告/护理查房/品管圈/病例讨论/PDCA',
  172. subhead: '精美制作-专职文案-一步到位',
  173. videos: [
  174. {
  175. title: '汇报PPT',
  176. purpose: '产品汇报', // 用途
  177. imgUrl: require('~/static/images/client/course/ppt/huibao01.png'),
  178. url: 'https://spdb.mtavip.com/sv/5a70fa36-1864e8cc443/5a70fa36-1864e8cc443.mp4',
  179. },
  180. {
  181. title: '汇报PPT',
  182. purpose: '企业宣传', // 用途
  183. imgUrl: require('~/static/images/client/course/ppt/huibao02.png'),
  184. url: 'https://spdb.mtavip.com/sv/2a3fa431-1864e8cdf5e/2a3fa431-1864e8cdf5e.mp4',
  185. },
  186. {
  187. title: '汇报PPT',
  188. purpose: '知识汇报', // 用途
  189. imgUrl: require('~/static/images/client/course/ppt/huibao03.png'),
  190. url: 'https://spdb.mtavip.com/sv/15f54f0f-1864e8da4a0/15f54f0f-1864e8da4a0.mp4',
  191. }
  192. ]
  193. }
  194. ]
  195. },
  196. zixunUrl: "https://affim.baidu.com/cps/chat?siteId=17930746&userId=40179606&siteToken=d9c57b2ea4cbedbb044677ef47a1e2d1",
  197. activeItem: 'kejianPPT'
  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-ppt {
  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. li:nth-child(1){
  228. background-image: url("~static/images/client/course/animationCard/ppt-img1.png");
  229. }
  230. li.active:nth-child(1){
  231. background-image: url("~static/images/client/course/animationCard/ppt-img1-active.png");
  232. }
  233. li:nth-child(2){
  234. background-image: url("~static/images/client/course/animationCard/ppt-img2.png");
  235. }
  236. li.active:nth-child(2){
  237. background-image: url("~static/images/client/course/animationCard/ppt-img2-active.png");
  238. }
  239. li:nth-child(3){
  240. background-image: url("~static/images/client/course/animationCard/ppt-img3.png");
  241. }
  242. li.active:nth-child(3){
  243. background-image: url("~static/images/client/course/animationCard/ppt-img3-active.png");
  244. }
  245. li:nth-child(4){
  246. background-image: url("~static/images/client/course/animationCard/ppt-img4.png");
  247. }
  248. li.active:nth-child(4){
  249. background-image: url("~static/images/client/course/animationCard/ppt-img4-active.png");
  250. }
  251. .classification-title {
  252. margin-bottom: 144px;
  253. }
  254. }
  255. .client-course-classification__info {
  256. box-sizing: border-box;
  257. background-image: url("~static/images/client/course/animation/course-bg-01.png");
  258. background-position-x: center;
  259. background-repeat: no-repeat;
  260. padding-top: 84px;
  261. height: 843px;
  262. .classification__info-title {
  263. margin-bottom: 57px;
  264. }
  265. .classification__info-mainTitle {
  266. text-align: center;
  267. font-weight: normal;
  268. color: #333333;
  269. margin-bottom: 16px;
  270. font-size: 24px;
  271. }
  272. .classification__info-subHead {
  273. text-align: center;
  274. font-size: 18px;
  275. font-weight: 400;
  276. color: #333333;
  277. }
  278. .classification-btns {
  279. text-align: center;
  280. margin-top: 80px;
  281. .classification-online-zixun {
  282. display: inline-block;
  283. background: #0065cd;
  284. border-radius: 6px;
  285. text-align: center;
  286. color: #ffffff;
  287. font-weight: 400;
  288. font-size: 16px;
  289. line-height: 50px;
  290. margin-bottom: 128px;
  291. width: 138px;
  292. height: 50px;
  293. }
  294. }
  295. }
  296. .client-course-quotation {
  297. background-image: url("~static/images/client/course/btns/course-bg-b1.png");
  298. background-position-x: center;
  299. background-repeat: no-repeat;
  300. height: 637px;
  301. .quotation-wrap {
  302. display: flex;
  303. justify-content: space-between;
  304. .left-text {
  305. margin-top: 282px;
  306. h3 {
  307. font-size: 48px;
  308. font-weight: 700;
  309. text-align: left;
  310. color: #fefefe;
  311. letter-spacing: 1.2px;
  312. margin-bottom: 33px;
  313. width: 410px;
  314. height: 47px;
  315. }
  316. p {
  317. font-size: 20px;
  318. font-weight: 400;
  319. text-align: left;
  320. color: #ffffff;
  321. width: 364px;
  322. height: 20px;
  323. }
  324. }
  325. .baojia-form {
  326. margin-top: 82px;
  327. margin-right: 120px;
  328. }
  329. }
  330. }
  331. @media (max-width: 768px) {
  332. .client-course-classification {
  333. box-sizing: border-box;
  334. text-align: center;
  335. height: unset;
  336. padding: 35px 0;
  337. .classification-title {
  338. margin-bottom: 42px;
  339. }
  340. }
  341. .client-course-classification__info {
  342. height: auto;background-repeat: no-repeat;
  343. background-size: cover;padding-top: 42px;
  344. .classification__info-mainTitle{
  345. font-size: 15px;color: #333;margin-bottom: 16px;
  346. }
  347. .classification__info-subHead{
  348. font-size: 13px;color: #555;margin-bottom: 16px;
  349. }
  350. .classification-btns {
  351. margin-top: 20px;
  352. .classification-online-zixun {
  353. margin-bottom: 60px;
  354. }
  355. }
  356. }
  357. .client-course-quotation {
  358. margin-bottom: 200px;
  359. height: 400px;
  360. .quotation-wrap {
  361. flex-direction: column;
  362. .left-text {
  363. margin: 40px auto 0;
  364. h3 {
  365. text-align: center;
  366. font-size: 20px;
  367. margin-bottom: 10px;
  368. width: 100%;
  369. }
  370. p {
  371. text-align: center;
  372. width: 100%;
  373. font-size: 16px;
  374. margin: -10px 0 20px 0;
  375. }
  376. }
  377. .baojia-form {
  378. margin: 0 auto;
  379. }
  380. }
  381. }
  382. }
  383. }
  384. </style>