ppt.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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)">{{ item.title }}
  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="ppt" :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: 'animation',
  50. layout: 'templateB',
  51. head() {
  52. return {
  53. title: '课件PPT制作_PPT修改_PPT美化_PPT设计_教学微课制作_教学课件制作',
  54. meta: [
  55. {
  56. name: 'keywords',
  57. content: '课件PPT,PPT制作,课件PPT制作,教学微课,教学课件,微课课件,教学课件制作,课件制作,PPT修改,PPT美化,PPT设计'
  58. },
  59. {
  60. name: 'description',
  61. content: '麦塔拥有国内专业、成熟的课件PPT制作团队,丰富的电子课程制作经验,业务方向包括教学设计体验、图文内容演示、教学课件、微课、课件PPT等,在院校教育、零售连锁行业、汽车行业、金融等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/ppt/ppt-banner.png`),
  86. project: {
  87. title: '课件PPT',
  88. data: [
  89. {
  90. type: 'kejianPPT',
  91. title: '课件PPT',
  92. mainTitle: '幼儿园课件/小初高课件/院校课件/培训课件',
  93. subhead: '专精课程类PPT制作-高效/高质/低价',
  94. videos: [
  95. {
  96. title: '课件PPT',
  97. purpose: '产品发布', // 用途
  98. imgUrl: require('~/static/images/client/course/ppt/jiaoxue01.png'),
  99. url: '',
  100. },
  101. {
  102. title: '课件PPT',
  103. purpose: '外语学习', // 用途
  104. imgUrl: require('~/static/images/client/course/ppt/jiaoxue02.png'),
  105. url: '',
  106. },
  107. {
  108. title: '课件PPT',
  109. purpose: '外语学习', // 用途
  110. imgUrl: require('~/static/images/client/course/ppt/jiaoxue03.png'),
  111. url: '',
  112. }
  113. ]
  114. },
  115. {
  116. type: 'yanshiPPT',
  117. title: '演示PPT',
  118. mainTitle: '工业演示/医疗演示/建筑演示/机械演示',
  119. subhead: '做演示类PPT,麦塔更优秀!',
  120. videos: [
  121. {
  122. title: '演示PPT',
  123. purpose: '电子书', // 用途
  124. imgUrl: require('~/static/images/client/course/ppt/yanshi01.png'),
  125. url: '',
  126. },
  127. {
  128. title: '演示PPT',
  129. purpose: '功能演示', // 用途
  130. imgUrl: require('~/static/images/client/course/ppt/yanshi02.png'),
  131. url: '',
  132. },
  133. {
  134. title: '演示PPT',
  135. purpose: '金融制度', // 用途
  136. imgUrl: require('~/static/images/client/course/ppt/yanshi03.png'),
  137. url: '',
  138. }
  139. ]
  140. },
  141. {
  142. type: 'shangyePPT',
  143. title: '商业PPT',
  144. mainTitle: '招商计划/商业活动/企业宣传/招商路演',
  145. subhead: '投资咨询师与营销分析师协作完成',
  146. videos: [
  147. {
  148. title: '商业PPT',
  149. purpose: '产品推广', // 用途
  150. imgUrl: require('~/static/images/client/course/ppt/shangye01.png'),
  151. url: '',
  152. },
  153. {
  154. title: '商业PPT',
  155. purpose: '数据展示', // 用途
  156. imgUrl: require('~/static/images/client/course/ppt/shangye02.png'),
  157. url: '',
  158. },
  159. {
  160. title: '商业PPT',
  161. purpose: '商业汇报', // 用途
  162. imgUrl: require('~/static/images/client/course/ppt/shangye03.png'),
  163. url: '',
  164. }
  165. ]
  166. },
  167. {
  168. type: 'huibaoPPT',
  169. title: '汇报PPT',
  170. mainTitle: '工作汇报/年终汇报/述职报告/护理查房/品管圈/病例讨论/PDCA',
  171. subhead: '精美制作-专职文案-一步到位',
  172. videos: [
  173. {
  174. title: '汇报PPT',
  175. purpose: '产品汇报', // 用途
  176. imgUrl: require('~/static/images/client/course/ppt/huibao01.png'),
  177. url: '',
  178. },
  179. {
  180. title: '汇报PPT',
  181. purpose: '企业宣传', // 用途
  182. imgUrl: require('~/static/images/client/course/ppt/huibao02.png'),
  183. url: '',
  184. },
  185. {
  186. title: '汇报PPT',
  187. purpose: '知识汇报', // 用途
  188. imgUrl: require('~/static/images/client/course/ppt/huibao03.png'),
  189. url: '',
  190. }
  191. ]
  192. }
  193. ]
  194. },
  195. zixunUrl: "https://affim.baidu.com/cps/chat?siteId=17930746&userId=40179606&siteToken=d9c57b2ea4cbedbb044677ef47a1e2d1",
  196. activeItem: 'kejianPPT'
  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" scoped>
  217. .course-ppt {
  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. .classification-title {
  227. margin-bottom: 144px;
  228. }
  229. .classification-items {
  230. display: flex;
  231. justify-content: space-between;
  232. align-items: center;
  233. }
  234. .classification-item {
  235. background-color: #cccccc;
  236. width: 250px;
  237. height: 280px;
  238. }
  239. }
  240. .client-course-classification__info {
  241. box-sizing: border-box;
  242. background-image: url("~static/images/client/course/animation/course-bg-01.png");
  243. padding-top: 84px;
  244. height: 843px;
  245. .classification__info-title {
  246. margin-bottom: 57px;
  247. }
  248. .classification__info-mainTitle {
  249. text-align: center;
  250. font-weight: normal;
  251. color: #333333;
  252. margin-bottom: 16px;
  253. font-size: 24px;
  254. }
  255. .classification__info-subHead {
  256. text-align: center;
  257. font-size: 18px;
  258. font-weight: 400;
  259. color: #333333;
  260. }
  261. .classification-btns {
  262. text-align: center;
  263. .classification-online-zixun {
  264. display: inline-block;
  265. background: #0065cd;
  266. border-radius: 6px;
  267. text-align: center;
  268. color: #ffffff;
  269. font-weight: 400;
  270. font-size: 16px;
  271. line-height: 48px;
  272. margin-bottom: 128px;
  273. width: 138px;
  274. height: 50px;
  275. }
  276. }
  277. }
  278. .client-course-quotation {
  279. background-image: url("~static/images/client/course/btns/course-bg-b1.png");
  280. height: 637px;
  281. .quotation-wrap {
  282. display: flex;
  283. justify-content: space-between;
  284. .left-text {
  285. margin-top: 282px;
  286. h3 {
  287. font-size: 48px;
  288. font-weight: 700;
  289. text-align: left;
  290. color: #fefefe;
  291. letter-spacing: 1.2px;
  292. margin-bottom: 33px;
  293. width: 410px;
  294. height: 47px;
  295. }
  296. p {
  297. font-size: 20px;
  298. font-weight: 400;
  299. text-align: left;
  300. color: #ffffff;
  301. width: 364px;
  302. height: 20px;
  303. }
  304. }
  305. .baojia-form {
  306. margin-top: 82px;
  307. margin-right: 120px;
  308. }
  309. }
  310. }
  311. @media (max-width: 768px) {
  312. .client-course-classification {
  313. box-sizing: border-box;
  314. text-align: center;
  315. height: 400px;
  316. padding-top: 35px;
  317. .classification-title {
  318. margin-bottom: 42px;
  319. }
  320. .classification-items {
  321. flex-wrap: wrap;
  322. justify-content: space-around;
  323. }
  324. .classification-item {
  325. box-sizing: border-box;
  326. margin: 10px;
  327. width: calc(50% - 20px);
  328. height: 140px;
  329. &:not(:nth-child(even)) {
  330. margin-right: 0;
  331. }
  332. &:nth-child(n+3) {
  333. margin-top: 0;
  334. }
  335. }
  336. }
  337. .client-course-classification__info {
  338. height: auto;
  339. padding-top: 42px;
  340. .classification-btns {
  341. .classification-online-zixun {
  342. margin-bottom: 60px;
  343. }
  344. }
  345. }
  346. .client-course-quotation {
  347. margin-bottom: 200px;
  348. height: 400px;
  349. .quotation-wrap {
  350. flex-direction: column;
  351. .left-text {
  352. margin: 40px auto 0;
  353. h3 {
  354. text-align: center;
  355. font-size: 20px;
  356. margin-bottom: 10px;
  357. width: 100%;
  358. }
  359. p {
  360. text-align: center;
  361. width: 100%;
  362. font-size: 16px;
  363. }
  364. }
  365. .baojia-form {
  366. margin: 0 auto;
  367. }
  368. }
  369. }
  370. }
  371. }
  372. </style>