courseResource.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. <template>
  2. <div class="client-exam-page client-platform-page">
  3. <!-- 广告位置 -->
  4. <div class="client-banner-box">
  5. <div
  6. :style="{backgroundImage: `url(${ bannerList[0].pic || require(`~/static/images/client/train/train-banner-background.png`)})`}"
  7. class="client-platform-banner">
  8. </div>
  9. </div>
  10. <!-- 企业通用岗位培训方案 -->
  11. <div class="platform-animation-gangwei client-container">
  12. <h4 class="client-title">企业通用岗位培训方案</h4>
  13. <ul>
  14. <li @click="goChildPage('zhiYeSuYang')">
  15. <div>
  16. <i :style="`background-image: url(${icon1})`"></i>
  17. <span>职业素养</span>
  18. </div>
  19. </li>
  20. <li @click="goChildPage('lingDaoNengLi')">
  21. <div>
  22. <i :style="`background-image: url(${icon2})`"></i>
  23. <span>领导能力</span>
  24. </div>
  25. </li>
  26. <li @click="goChildPage('renLiZiYuan')">
  27. <div>
  28. <i :style="`background-image: url(${icon3})`"></i>
  29. <span>人力资源</span>
  30. </div>
  31. </li>
  32. <li @click="goChildPage('shiChangYingXiao')">
  33. <div>
  34. <i :style="`background-image: url(${icon4})`"></i>
  35. <span>市场营销</span>
  36. </div>
  37. </li>
  38. <li @click="goChildPage('xingZhengGuanLi')">
  39. <div>
  40. <i :style="`background-image: url(${icon5})`"></i>
  41. <span>行政管理</span>
  42. </div>
  43. </li>
  44. <li @click="goChildPage('caiWuGuanLi')">
  45. <div>
  46. <i :style="`background-image: url(${icon6})`"></i>
  47. <span>财务管理</span>
  48. </div>
  49. </li>
  50. <li @click="goChildPage('keFuFuWu')">
  51. <div>
  52. <i :style="`background-image: url(${icon7})`"></i>
  53. <span>客服服务</span>
  54. </div>
  55. </li>
  56. <li @click="goChildPage('chanPinYunYing')">
  57. <div>
  58. <i :style="`background-image: url(${icon8})`"></i>
  59. <span>产品运营</span>
  60. </div>
  61. </li>
  62. <li @click="goChildPage('shengChanCaiGou')">
  63. <div>
  64. <i :style="`background-image: url(${icon9})`"></i>
  65. <span>生产采购</span>
  66. </div>
  67. </li>
  68. <li class="empty mta-hidden-xs">
  69. </li>
  70. <li class="empty mta-hidden-xs"></li>
  71. <li class="empty mta-hidden-xs"></li>
  72. </ul>
  73. <div class="btns-group mta-hidden-xs">
  74. <applyBtn @active-pc="onApplyBtnActive" @active-h5="onApplyBtnActiveH5"/>
  75. <onlineInformationBtn class="online-information-btn"/>
  76. </div>
  77. </div>
  78. <!-- 为企业培训打造学习矩阵 -->
  79. <div class="platform-animation-juzhen client-container">
  80. <h4>为企业培训打造学习矩阵</h4>
  81. <ul>
  82. <li>
  83. <div>
  84. <i class="mta-hidden-xs" :style="`background-image:url(${icon10})`"></i>
  85. <span>课程总数近<i class="icon-font">5000门</i></span>
  86. </div>
  87. </li>
  88. <li>
  89. <div>
  90. <i class="mta-hidden-xs" :style="`background-image:url(${icon11})`"></i>
  91. <span>涵盖<i class="icon-font">2000个</i>知识要点 </span>
  92. </div>
  93. </li>
  94. <li>
  95. <div>
  96. <i class="mta-hidden-xs" :style="`background-image:url(${icon12})`"></i>
  97. <span>提供<i class="icon-font">9大</i>通用岗位培训方案</span>
  98. </div>
  99. </li>
  100. <li>
  101. <div>
  102. <i class="mta-hidden-xs" :style="`background-image:url(${icon13})`"></i>
  103. <span>课程资源<i class="icon-font">每月</i>持续更新</span>
  104. </div>
  105. </li>
  106. </ul>
  107. <div class="btns-group">
  108. <applyBtn @active-pc="onApplyBtnActive" @active-h5="onApplyBtnActiveH5"/>
  109. <onlineInformationBtn class="online-information-btn"/>
  110. </div>
  111. </div>
  112. <!-- 课程内容形式多样 -->
  113. <div class="platform-animation-videos client-container">
  114. <h4>课程内容多样性</h4>
  115. <ul>
  116. <li>
  117. <video-card :card-data="{title: 'FLASH动画课程',
  118. des:'主要以图文动画的形式表现教学者的作用和教与学之间的关系,从而改变学习的本质',
  119. url: ''}" @card-click="showVideo"></video-card>
  120. </li>
  121. <li>
  122. <video-card :card-data="{title: '视频课程',
  123. des:'把教师视频与PowerPoint课件一并摄制下来,生成为视频课件',
  124. url: ''}" @card-click="showVideo"></video-card>
  125. </li>
  126. <li>
  127. <video-card :card-data="{title: '名师讲堂',
  128. des:'各行各业讲师汇聚一堂,为不同专属领域打造明星级课堂',
  129. url: ''}" @card-click="showVideo"></video-card>
  130. </li>
  131. </ul>
  132. </div>
  133. <!-- 新闻咨询 -->
  134. <newsComp2 :newsData="topCarousels"></newsComp2>
  135. <videoDialog :source="curVideo" :visible.sync="visible"></videoDialog>
  136. <!-- 申请方案 -->
  137. <applicationDialog :visible.sync="telDl"></applicationDialog>
  138. </div>
  139. </template>
  140. <script>
  141. import applicationDialog from "~/components/common/applicationDialog";
  142. import applyBtn from "~/components/common/applyBtn";
  143. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  144. import newsComp2 from "~/components/common/newsComp2";
  145. import chanPinTiYan from "~/components/common/chanPinTiYan";
  146. import videoDialog from "~/components/common/videoDialog";
  147. import videoCard from "~/components/common/videoCard";
  148. import {BannerImgs, classifys} from "~/defaultConfig";
  149. /**
  150. * @ 产品与服务 -> 课程资源
  151. */
  152. export default {
  153. name: "courseResource",
  154. layout: 'templateB',
  155. head() {
  156. return {
  157. title: '在线考试平台_在线考试软件_试卷软件系统',
  158. meta: [
  159. {
  160. name: 'keywords',
  161. content: '考试平台,试卷系统,试卷软件'
  162. },
  163. {
  164. name: 'description',
  165. content: '麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  166. }
  167. ],
  168. }
  169. },
  170. components: {applyBtn, onlineInformationBtn, newsComp2, chanPinTiYan, videoDialog, videoCard, applicationDialog},
  171. async asyncData({$axios, store}) {
  172. const arr = [
  173. $axios.$post(`/home/news/carousel`, {
  174. 'newsClassifyId': classifys.kechengziyuan.classify,
  175. 'keyword': classifys.kechengziyuan.keyword
  176. }),
  177. $axios.$post(`/home/banner/list`, {'code': BannerImgs.tongyongkecheng}),
  178. ]
  179. const [res1, res2] = await Promise.all(arr);
  180. return {
  181. topCarousels: res1.data.data || [],
  182. bannerList: res2.data.data || [],
  183. }
  184. },
  185. data() {
  186. return {
  187. curVideo: '',
  188. visible: false,
  189. telDl: false,
  190. icon1: require('~/static/gangweiIcon/z60.png'),
  191. icon2: require('~/static/gangweiIcon/z61.png'),
  192. icon3: require('~/static/gangweiIcon/z62.png'),
  193. icon4: require('~/static/gangweiIcon/z63.png'),
  194. icon5: require('~/static/gangweiIcon/z64.png'),
  195. icon6: require('~/static/gangweiIcon/z65.png'),
  196. icon7: require('~/static/gangweiIcon/z66.png'),
  197. icon8: require('~/static/gangweiIcon/z67.png'),
  198. icon9: require('~/static/gangweiIcon/z68.png'),
  199. icon10: require('~/static/gangweiIcon/z69.png'),
  200. icon11: require('~/static/gangweiIcon/z70.png'),
  201. icon12: require('~/static/gangweiIcon/z71.png'),
  202. icon13: require('~/static/gangweiIcon/z72.png'),
  203. }
  204. },
  205. methods: {
  206. goChildPage(key) {
  207. this.$router.push({path: `/product/${key}`})
  208. },
  209. showVideo({url}) {
  210. this.curVideo = url;
  211. this.visible = true;
  212. },
  213. onApplyBtnActive() {
  214. this.telDl = true;
  215. },
  216. onApplyBtnActiveH5() {
  217. this.$router.push({name: 'CourseDevelopPhone', query: {redirectUrl: 'shouye',}});
  218. },
  219. }
  220. }
  221. </script>
  222. <style lang="scss" scoped>
  223. .btns-group {
  224. margin: 40px auto 120px;
  225. text-align: center;
  226. .online-information-btn {
  227. margin-left: 20px;
  228. }
  229. }
  230. .platform-animation-gangwei {
  231. margin-top: 60px;
  232. .client-title {
  233. font-size: 30px;
  234. font-weight: 800;
  235. color: #333;
  236. text-align: center;
  237. margin-bottom: 100px;
  238. padding-top: 0;
  239. }
  240. ul {
  241. font-size: 16px;
  242. display: flex;
  243. flex-wrap: wrap;
  244. justify-content: center;
  245. li {
  246. width: 25%;
  247. > div {
  248. width: 100%;
  249. height: 112px;
  250. display: flex;
  251. align-items: center;
  252. box-sizing: border-box;
  253. padding: 20px;
  254. margin-right: 30px;
  255. cursor: pointer;
  256. border: 1px solid #fff;
  257. }
  258. i {
  259. display: inline-block;
  260. width: 64px;
  261. height: 70px;
  262. margin-right: 40px;
  263. background-size: contain;
  264. background-repeat: no-repeat;
  265. background-position: center;
  266. }
  267. span {
  268. font-size: 24px;
  269. color: #333;
  270. font-weight: 800;
  271. display: inline-block;
  272. position: relative;
  273. }
  274. &:last-child {
  275. justify-self: flex-start;
  276. }
  277. &:hover > div {
  278. border: 1px solid #51C779;
  279. border-radius: 10px;
  280. span {
  281. color: #46c37b;
  282. &:before {
  283. content: '';
  284. position: absolute;
  285. bottom: -8px;
  286. width: 100%;
  287. height: 4px;
  288. background: #00b96b;
  289. }
  290. }
  291. }
  292. }
  293. }
  294. }
  295. .platform-animation-juzhen {
  296. h4 {
  297. font-size: 30px;
  298. font-weight: 800;
  299. color: #333;
  300. text-align: center;
  301. margin-bottom: 80px;
  302. }
  303. ul {
  304. li {
  305. width: 50%;
  306. display: inline-block;
  307. & > div {
  308. margin-bottom: 120px;
  309. display: flex;
  310. align-items: center;
  311. .icon-font {
  312. font-size: 30px;
  313. color: #00b96b;
  314. font-weight: 500;
  315. padding: 0 10px;
  316. }
  317. span {
  318. font-size: 24px;
  319. color: #333;
  320. font-weight: 500;
  321. }
  322. & > i {
  323. width: 88px;
  324. height: 90px;
  325. display: inline-block;
  326. background-size: contain;
  327. background-repeat: no-repeat;
  328. margin-right: 22px;
  329. }
  330. }
  331. }
  332. li:nth-child(3) {
  333. div {
  334. margin-bottom: 40px;
  335. }
  336. }
  337. li:nth-child(4) {
  338. div {
  339. margin-bottom: 40px;
  340. }
  341. }
  342. }
  343. }
  344. .platform-animation-videos {
  345. margin-bottom: 200px;
  346. h4 {
  347. font-size: 30px;
  348. font-weight: 800;
  349. color: #333;
  350. text-align: center;
  351. margin-bottom: 120px;
  352. }
  353. ul {
  354. display: flex;
  355. justify-content: center;
  356. li {
  357. width: 33%;
  358. }
  359. }
  360. }
  361. @media (max-width: 768px) {
  362. .platform-animation-gangwei {
  363. margin-top: 20px;
  364. h4.client-title {
  365. font-size: 20px;
  366. margin-bottom: 20px;
  367. font-weight: 800;
  368. }
  369. ul {
  370. li {
  371. width: 33%;
  372. > div {
  373. width: 100%;
  374. height: 112px;
  375. display: flex;
  376. flex-direction: column;
  377. align-items: center;
  378. box-sizing: border-box;
  379. padding: 20px;
  380. margin-right: 30px;
  381. cursor: pointer;
  382. border: 1px solid #fff;
  383. }
  384. i {
  385. display: inline-block;
  386. width: 50%;
  387. height: 100%;
  388. margin-right: 0;
  389. background-size: contain;
  390. background-repeat: no-repeat;
  391. background-position: center;
  392. }
  393. span {
  394. font-size: 12px;
  395. color: #333;
  396. font-weight: 800;
  397. position: relative;
  398. }
  399. &:last-child {
  400. justify-self: flex-start;
  401. }
  402. &:hover > div {
  403. border: 1px solid #51C779;
  404. border-radius: 10px;
  405. span {
  406. color: #46c37b;
  407. }
  408. }
  409. }
  410. }
  411. }
  412. .btns-group {
  413. margin: 30px auto 60px;
  414. text-align: center;
  415. .online-information-btn {
  416. margin-left: 20px;
  417. }
  418. }
  419. .platform-animation-juzhen {
  420. margin-bottom: 30px;
  421. h4 {
  422. font-size: 20px;
  423. margin-bottom: 20px;
  424. font-weight: 800;
  425. margin-top: 40px;
  426. }
  427. ul li {
  428. width: 100%;
  429. margin: 0 auto;
  430. & > div {
  431. margin-bottom: 20px;
  432. display: flex;
  433. align-items: center;
  434. .icon-font {
  435. font-size: 20px;
  436. color: #00b96b;
  437. font-weight: 500;
  438. padding: 0 5px;
  439. }
  440. span {
  441. font-size: 16px;
  442. color: #333;
  443. font-weight: 500;
  444. display: inline-block;
  445. width: 100%;
  446. text-align: center;
  447. }
  448. & > i {
  449. width: 88px;
  450. height: 90px;
  451. display: inline-block;
  452. background-size: contain;
  453. background-repeat: no-repeat;
  454. margin-right: 22px;
  455. }
  456. }
  457. &:nth-child(3) {
  458. div {
  459. margin-bottom: 20px;
  460. }
  461. }
  462. &:nth-child(4) {
  463. div {
  464. margin-bottom: 20px;
  465. }
  466. }
  467. }
  468. }
  469. .platform-animation-videos {
  470. margin-bottom: 80px;
  471. h4 {
  472. font-size: 20px;
  473. font-weight: 800;
  474. color: #333;
  475. text-align: center;
  476. margin-bottom: 30px;
  477. }
  478. ul {
  479. display: flex;
  480. justify-content: center;
  481. flex-direction: column;
  482. li {
  483. width: 100%;
  484. margin-bottom: 20px;
  485. }
  486. }
  487. }
  488. }
  489. </style>