courseResource.vue 13 KB

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