animation.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. <template>
  2. <div class="client-course-page course-animation">
  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></li>
  12. </ul>
  13. </div>
  14. </div>
  15. <!-- 动画分类详情区域 -->
  16. <div class="client-course-classification__info">
  17. <div class="client-container">
  18. <courseCardTitle :title="curItem.title" class="classification__info-title"></courseCardTitle>
  19. <div class="classification__info-mainTitle">{{curItem.mainTitle}}</div>
  20. <div class="classification__info-subHead">{{curItem.subhead}}</div>
  21. <ul class="classification__info-videos">
  22. <li v-for="item in curItem.videos" class="classification-video-item">
  23. <course-video :img-url="item.imgUrl" :video-data="item" :source="item.url"></course-video>
  24. </li>
  25. </ul>
  26. <div class="classification-btns">
  27. <a class="classification-online-zixun" :href="zixunUrl">在线咨询</a>
  28. </div>
  29. </div>
  30. </div>
  31. <!-- 课程报价区域 -->
  32. <div class="client-course-quotation" ref="quotation">
  33. <div class="client-container quotation-wrap">
  34. <div class="left-text">
  35. <h3>课程定制在线报价</h3>
  36. <p>栋科客服人员会在30分钟内与你取得联系</p>
  37. </div>
  38. <courseBaojia class="baojia-form" tag="dhl" :user-list="userList" :sum="custom_sum"></courseBaojia>
  39. </div>
  40. </div>
  41. </div>
  42. </template>
  43. <script>
  44. import courseCardTitle from "@/components/course/course-card-title";
  45. import courseBaojia from "@/components/course/course-baojia";
  46. import courseVideo from "@/components/course/course-video";
  47. export default {
  48. name: 'animation',
  49. layout: 'templateB',
  50. head() {
  51. return {
  52. title: '动画制作_mg动画_flash动画_an动画_二维动画_三维动画视频短片制作公司',
  53. meta: [
  54. {
  55. name: 'keywords',
  56. content: '动画制作,mg动画制作,flash动画制作,flash制作,an动画制作,二维动画制作,三维动画制作,动画短片制作,动画制作公司'
  57. },
  58. {
  59. name:'description',
  60. content:'麦塔拥有国内专业、成熟的动画制作团队,丰富的电子课程制作经验,业务方向包括教学设计体验、图文内容演示、mg动画、flash动画、an动画、二维动画、三维动画、动画短片等,在院校教育、零售连锁行业、汽车行业、金融等12大行业课程开发经验超过15年,规范可靠的研发流程、完善的质量评估和卓越的项目管理体系,能高效稳定地保障支付。'
  61. }
  62. ]
  63. }
  64. },
  65. components: {
  66. courseCardTitle,
  67. courseBaojia,
  68. courseVideo
  69. },
  70. async asyncData({$axios, store}) {
  71. // 设置选中菜单
  72. store.commit('setActiveNav', '/courseware');
  73. let [ res2, res3] = await Promise.all([
  74. $axios.$post(`/develop/sum`, {}),
  75. $axios.$post(`/develop/userlist`, {}),
  76. ])
  77. return {
  78. custom_sum: res2.data || 0,
  79. userList: res3.data.data || []
  80. }
  81. },
  82. data() {
  83. return {
  84. banner_image: require(`~/static/images/client/course/animation/donghua-banner.png`),
  85. project: {
  86. title: '高端动画',
  87. data: [
  88. {
  89. type: 'qingjingdonghua',
  90. title: '情景动画',
  91. mainTitle: '每年产出高端精品情景动画500+部',
  92. subhead: 'mg动画/flash动画/二维动画/三维动画',
  93. videos: [
  94. {
  95. title: '情景动画',
  96. purpose: '宣传营销', // 用途
  97. imgUrl: require('~/static/images/client/course/animation/animation-01.png'),
  98. url: 'https://spdb.mtavip.com/sv/443e4168-18561fbbaa4/443e4168-18561fbbaa4.mp4',
  99. },
  100. {
  101. title: '情景动画',
  102. purpose: '知识分享', // 用途
  103. imgUrl: require('~/static/images/client/course/animation/animation-02.png'),
  104. url: '',
  105. },
  106. {
  107. title: '情景动画',
  108. purpose: '动画微课', // 用途
  109. imgUrl: require('~/static/images/client/course/animation/animation-03.png'),
  110. url: '',
  111. }
  112. ]
  113. },
  114. {
  115. type: 'piantoudonghua',
  116. title: '片头动画',
  117. mainTitle: '创意片头动画设计,考究到每一帧每一秒',
  118. subhead: '只做对的,不做贵的',
  119. videos: [
  120. {
  121. title: 'AE制作',
  122. purpose: '片头动画', // 用途
  123. imgUrl: require('~/static/images/client/course/animation/piantou-01.png'),
  124. url: '',
  125. },
  126. {
  127. title: 'AE制作',
  128. purpose: '片头动画', // 用途
  129. imgUrl: require('~/static/images/client/course/animation/piantou-02.png'),
  130. url: '',
  131. },
  132. {
  133. title: 'AE制作',
  134. purpose: '片头动画', // 用途
  135. imgUrl: require('~/static/images/client/course/animation/piantou-03.png'),
  136. url: '',
  137. }
  138. ]
  139. },
  140. {
  141. type: 'donghuaduanpian',
  142. title: '动画短片',
  143. mainTitle: '专业剧本文案老师指导沟通,打造客户满意的短片画风',
  144. subhead: '做专业动画,对妥协说“不”',
  145. videos: [
  146. {
  147. title: '二维动画',
  148. purpose: '幼儿教学微课', // 用途
  149. imgUrl: require('~/static/images/client/course/animation/duanpian-01.png'),
  150. url: '',
  151. },
  152. {
  153. title: '二维动画',
  154. purpose: '安全培训微课', // 用途
  155. imgUrl: require('~/static/images/client/course/animation/duanpian-02.png'),
  156. url: '',
  157. },
  158. {
  159. title: '二维动画',
  160. purpose: '直播违规微课', // 用途
  161. imgUrl: require('~/static/images/client/course/animation/duanpian-03.png'),
  162. url: '',
  163. }
  164. ]
  165. },
  166. {
  167. type: 'xuanchuandonghua',
  168. title: '宣传动画',
  169. mainTitle: '麦塔动画制作-专业定制各类宣传动画!',
  170. subhead: '1V1文案指导,专业配音老师',
  171. videos: [
  172. {
  173. title: 'mg动画',
  174. purpose: '生产工艺', // 用途
  175. imgUrl: require('~/static/images/client/course/animation/xuanchuan-01.png'),
  176. url: '',
  177. },
  178. {
  179. title: 'mg动画',
  180. purpose: '企业宣传', // 用途
  181. imgUrl: require('~/static/images/client/course/animation/xuanchuan-02.png'),
  182. url: '',
  183. },
  184. {
  185. title: '情景动画',
  186. purpose: '动画微课', // 用途
  187. imgUrl: require('~/static/images/client/course/animation/xuanchuan-03.png'),
  188. url: '',
  189. }
  190. ]
  191. }
  192. ]
  193. },
  194. zixunUrl: "https://affim.baidu.com/cps/chat?siteId=17930746&userId=40179606&siteToken=d9c57b2ea4cbedbb044677ef47a1e2d1",
  195. activeItem: 'qingjingdonghua'
  196. }
  197. },
  198. computed: {
  199. curItem() {
  200. return this.project.data.find(item => item.type === this.activeItem)
  201. },
  202. },
  203. methods: {
  204. changeItem(item) {
  205. this.activeItem = item.type;
  206. },
  207. goQuotation() {
  208. document.documentElement.scrollTop = this.$refs.quotation.offsetTop-150;
  209. window.pageYOffset = this.$refs.quotation.offsetTop -150;
  210. document.body.scrollTop=this.$refs.quotation.offsetTop -150;
  211. }
  212. }
  213. };
  214. </script>
  215. <style lang="scss" scoped>
  216. .course-animation {
  217. .client-course-banner {
  218. cursor: pointer;
  219. }
  220. .client-course-classification {
  221. box-sizing: border-box;
  222. text-align: center;
  223. height: 737px;
  224. padding-top: 135px;
  225. li:nth-child(1){
  226. background-image: url("~static/images/client/course/animationCard/kc-img1.png");
  227. }
  228. li.active:nth-child(1){
  229. background-image: url("~static/images/client/course/animationCard/kc-img1-active.png");
  230. }
  231. li:nth-child(2){
  232. background-image: url("~static/images/client/course/animationCard/kc-img2.png");
  233. }
  234. li.active:nth-child(2){
  235. background-image: url("~static/images/client/course/animationCard/kc-img2-active.png");
  236. }
  237. li:nth-child(3){
  238. background-image: url("~static/images/client/course/animationCard/gd-img3.png");
  239. }
  240. li.active:nth-child(3){
  241. background-image: url("~static/images/client/course/animationCard/gd-img3-active.png");
  242. }
  243. li:nth-child(4){
  244. background-image: url("~static/images/client/course/animationCard/gd-img4.png");
  245. }
  246. li.active:nth-child(4){
  247. background-image: url("~static/images/client/course/animationCard/gd-img4-active.png");
  248. }
  249. .classification-title {
  250. margin-bottom: 144px;
  251. }
  252. }
  253. .client-course-classification__info {
  254. box-sizing: border-box;
  255. background-image: url("~static/images/client/course/animation/course-bg-01.png");
  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: 16px;
  266. font-size: 24px;
  267. }
  268. .classification__info-subHead {
  269. text-align: center;
  270. font-size: 18px;
  271. font-weight: 400;
  272. color: #333333;
  273. }
  274. .classification-btns {
  275. text-align: center;
  276. .classification-online-zixun {
  277. display: inline-block;
  278. background: #0065cd;
  279. border-radius: 6px;
  280. text-align: center;
  281. color: #ffffff;
  282. font-weight: 400;
  283. font-size: 16px;
  284. line-height: 48px;
  285. margin-bottom: 128px;
  286. width: 138px;
  287. height: 50px;
  288. }
  289. }
  290. }
  291. .client-course-quotation {
  292. background-image: url("~static/images/client/course/btns/course-bg-b1.png");
  293. height: 637px;
  294. .quotation-wrap {
  295. display: flex;
  296. justify-content: space-between;
  297. .left-text {
  298. margin-top: 282px;
  299. h3 {
  300. font-size: 48px;
  301. font-weight: 700;
  302. text-align: left;
  303. color: #fefefe;
  304. letter-spacing: 1.2px;
  305. margin-bottom: 33px;
  306. width: 410px;
  307. height: 47px;
  308. }
  309. p {
  310. font-size: 20px;
  311. font-weight: 400;
  312. text-align: left;
  313. color: #ffffff;
  314. width: 364px;
  315. height: 20px;
  316. }
  317. }
  318. .baojia-form {
  319. margin-top: 82px;
  320. margin-right: 120px;
  321. }
  322. }
  323. }
  324. @media (max-width: 768px){
  325. .client-course-classification {
  326. box-sizing: border-box;
  327. text-align: center;
  328. height: unset;
  329. padding: 35px 0;
  330. .classification-title {
  331. margin-bottom: 42px;
  332. }
  333. }
  334. .client-course-classification__info{
  335. height: auto;background-repeat: no-repeat;
  336. background-size: cover;padding-top: 42px;
  337. .classification__info-mainTitle{
  338. font-size: 15px;color: #333;margin-bottom: 16px;
  339. }
  340. .classification__info-subHead{
  341. font-size: 13px;color: #555;margin-bottom: 16px;
  342. }
  343. .classification-btns {
  344. .classification-online-zixun {
  345. margin-bottom: 60px;
  346. }
  347. }
  348. }
  349. .client-course-quotation {
  350. margin-bottom: 200px;
  351. height: 400px;
  352. .quotation-wrap {
  353. flex-direction: column;
  354. .left-text {
  355. margin: 40px auto 0;
  356. h3 {
  357. text-align: center;
  358. font-size: 20px;
  359. margin-bottom: 10px;
  360. width: 100%;
  361. }
  362. p {
  363. text-align: center;
  364. width: 100%;
  365. font-size: 16px;
  366. }
  367. }
  368. .baojia-form {
  369. margin: 0 auto;
  370. }
  371. }
  372. }
  373. }
  374. }
  375. </style>