index.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. <template>
  2. <div class="client-index-page">
  3. <div style="display: none">
  4. <a :href="`${baseUrl}/dalianmaita/pcsitemap.xml`"></a>
  5. </div>
  6. <!-- 首页banner栏 -->
  7. <div class="client-banner-box">
  8. <el-carousel :interval="3333333" trigger="click">
  9. <el-carousel-item v-for="(item,index) in bannerList" :key="index">
  10. <div @click="clickBanner(item)" :style="{backgroundImage: 'url(' + item.pic + ')'}"
  11. class="index-carousel-box">
  12. </div>
  13. </el-carousel-item>
  14. </el-carousel>
  15. </div>
  16. <!-- 发展历程-移动端隐藏-->
  17. <div class="client-company-history client-container mta-hidden-xs">
  18. <ul>
  19. <li>
  20. <div class="company-item">
  21. <i></i>
  22. <div><p>在线考试系统</p><h4>让考试变得更轻松</h4></div>
  23. </div>
  24. </li>
  25. <li>
  26. <div class="company-item">
  27. <i></i>
  28. <div><p>在线培训系统</p><h4>为企业解决培训痛点</h4></div>
  29. </div>
  30. </li>
  31. <li>
  32. <div class="company-item">
  33. <i></i>
  34. <div><p>课程定制开发</p><h4>打造专业定制化服务</h4></div>
  35. </div>
  36. </li>
  37. <li>
  38. <div class="company-item">
  39. <i></i>
  40. <div><p>通用课程资源</p><h4>企业构建自主课程体系</h4></div>
  41. </div>
  42. </li>
  43. </ul>
  44. </div>
  45. <!-- 产品和服务 -->
  46. <div class="client-products-services">
  47. <h4 class="client-title">产品和服务</h4>
  48. <imgCardLv1 class="img-card" :option="item" v-for="(item,index) in productList" :key="index" :col-pc="3" :is-row="true" :col-h5="2">
  49. <div class="btn-groups">
  50. <applyBtn class="apply-btn btn-item" v-if="item.shenqing" @active-pc="onApplyBtnActive"
  51. @active-h5="onApplyBtnActiveH5"/>
  52. <freeTrialBtn class="free-train-btn btn-item" v-if="item.mianfei" :myType="item.myType"/>
  53. <onlineInformationBtn class="online-information-btn btn-item" v-if="item.zixun"/>
  54. </div>
  55. </imgCardLv1>
  56. </div>
  57. <!-- 超过10万家客户的信任之选 -->
  58. <div class="client-customer-box mta-hidden-xs">
  59. <div class="client-container">
  60. <h4 class="client-title">他们一直都在使用</h4>
  61. <p class="client-subtitle-one-row">不断细分各行业客户,在各行各业全面绽放</p>
  62. <ul class="customer-img-box">
  63. <div class="customer-row">
  64. <li><img :src="customerImg1" alt="中国人民银行"/></li>
  65. <li><img :src="customerImg2" alt="中国民生银行"/></li>
  66. <li><img :src="customerImg3" alt="今日头条"/></li>
  67. <li><img :src="customerImg4" alt="沈阳师范大学"/></li>
  68. <li><img :src="customerImg5" alt="上海航空"/></li>
  69. </div>
  70. <div class="customer-row">
  71. <li><img :src="customerImg6" alt="华发股份"/></li>
  72. <li><img :src="customerImg7" alt="汇丰"/></li>
  73. <li><img :src="customerImg8" alt="步步高"/></li>
  74. <li><img :src="customerImg9" alt="小天才"/></li>
  75. <li><img :src="customerImg10" alt="南京银行 "/></li>
  76. <li><img :src="customerImg11" alt="astellas"/></li>
  77. </div>
  78. <div class="customer-row">
  79. <li><img :src="customerImg12" alt="酷狗音乐"/></li>
  80. <li><img :src="customerImg13" alt="伟岸纵横"/></li>
  81. <li><img :src="customerImg14" alt="航天信息"/></li>
  82. <li><img :src="customerImg15" alt="sony"/></li>
  83. <li><img :src="customerImg16" alt="中国海洋大学"/></li>
  84. </div>
  85. </ul>
  86. </div>
  87. </div>
  88. <div class="client-customer-box mta-hidden-sm">
  89. <div class="client-container">
  90. <h4 class="client-title">他们一直都在使用</h4>
  91. <p class="client-subtitle-one-row">不断细分各行业客户,在各行各业全面绽放</p>
  92. <ul class="customer-img-box">
  93. <li><img :src="customerImg1" alt="中国人民银行"/></li>
  94. <li><img :src="customerImg2" alt="中国民生银行"/></li>
  95. <li><img :src="customerImg3" alt="今日头条"/></li>
  96. <li><img :src="customerImg4" alt="沈阳师范大学"/></li>
  97. <li><img :src="customerImg5" alt="上海航空"/></li>
  98. <li><img :src="customerImg6" alt="华发股份"/></li>
  99. <li><img :src="customerImg7" alt="汇丰"/></li>
  100. <li><img :src="customerImg8" alt="步步高"/></li>
  101. <li><img :src="customerImg9" alt="小天才"/></li>
  102. <li><img :src="customerImg10" alt="南京银行 "/></li>
  103. <li><img :src="customerImg11" alt="astellas"/></li>
  104. <li><img :src="customerImg12" alt="酷狗音乐"/></li>
  105. <li><img :src="customerImg13" alt="伟岸纵横"/></li>
  106. <li><img :src="customerImg14" alt="航天信息"/></li>
  107. <li><img :src="customerImg15" alt="sony"/></li>
  108. <li><img :src="customerImg16" alt="中国海洋大学"/></li>
  109. </ul>
  110. </div>
  111. </div>
  112. <!-- 新闻资讯 -->
  113. <newsComp :newsData="topCarousels"></newsComp>
  114. <!-- 申请方案 -->
  115. <applicationDialog :visible.sync="telDl"></applicationDialog>
  116. <selectDialog :show.sync="show"></selectDialog>
  117. </div>
  118. </template>
  119. <script>
  120. import {mapGetters} from 'vuex';
  121. import applyBtn from "~/components/common/applyBtn";
  122. import freeTrialBtn from "~/components/common/freeTrialBtn";
  123. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  124. import applicationDialog from "~/components/common/applicationDialog";
  125. import newsComp from "~/components/common/newsComp";
  126. import imgCardLv1 from "~/components/common/layout/imgDes/imgCardLv1_index";
  127. import selectDialog from "~/components/common/selectDialog";
  128. import {BannerImgs, classifys} from "~/defaultConfig"
  129. /**
  130. * @ 首页
  131. */
  132. export default {
  133. name: 'index',
  134. layout: 'templateA',
  135. watchQuery: true,
  136. async fetch({$axios, store, query}) {
  137. try {
  138. const {data} = await $axios.post('/home/links/list');
  139. store.commit('SetFooterYouQingLianJie', data.data.data);
  140. } catch (e) {
  141. }
  142. },
  143. async asyncData({$axios, store}) {
  144. let [res1, res2] = await Promise.all([
  145. await $axios.$post(`/home/news/carousel`, {newsClassifyId: classifys.shouye.classify, 'keyword': classifys.shouye.keyword}).then(res => {
  146. return res;
  147. }),
  148. await $axios.$post(`/home/banner/list`, {code: BannerImgs.shouye}).then(res => {
  149. return res;
  150. }),
  151. ]);
  152. return {
  153. topCarousels: res1.data.data || [],
  154. bannerList: res2.data.data || [],
  155. };
  156. },
  157. data() {
  158. return {
  159. show: false,
  160. productList: [
  161. {
  162. content: {
  163. title: '在线考试系统 一 建立无纸化考试通道',
  164. des: '深谙在线考试系统搭建精髓,全场景模拟考试环境,企业微信/钉钉等平台同步开发搭建,实现移动端,PC端同步考试,APP/小程序/云平台独立开发。',
  165. list: [
  166. {
  167. value: '试题批量导入',
  168. },
  169. {
  170. value: '多种题型支持',
  171. },
  172. {
  173. value: '随机组卷抽题',
  174. },
  175. {
  176. value: '考试时间设定',
  177. },
  178. {
  179. value: '360°防作弊监考',
  180. },
  181. {
  182. value: '自动阅卷判卷',
  183. },
  184. {
  185. value: '成绩统计查询',
  186. },
  187. {
  188. value: '证书颁发打印',
  189. },
  190. ],
  191. order: 2,
  192. },
  193. img: {
  194. url: require(`~/static/productImage/p04.png`),
  195. order: 1,
  196. },
  197. mianfei: true,
  198. zixun: true,
  199. shenqing: false,
  200. myType: 'kaoshi'
  201. },
  202. {
  203. content: {
  204. title: '在线培训系统 一 3步帮您搭建企业专属培训系统',
  205. des: '专注企业员工提升解决方案,不止是简单的培训系统开发,1V1部署资讯与百人课程开发团队,帮您解决后顾之忧。',
  206. list: [
  207. {
  208. value: '在线直播教学',
  209. },
  210. {
  211. value: '课后直播回放',
  212. },
  213. {
  214. value: '阶段测评考试',
  215. },
  216. {
  217. value: '课堂互动交流',
  218. },
  219. {
  220. value: '视频课程教学',
  221. },
  222. {
  223. value: '课程设置管理',
  224. },
  225. {
  226. value: '课程结束考试',
  227. },
  228. {
  229. value: '学员统计分析',
  230. },
  231. ],
  232. order: 1,
  233. },
  234. img: {
  235. url: require(`~/static/productImage/p03.png`),
  236. order: 2,
  237. },
  238. mianfei: true,
  239. zixun: true,
  240. shenqing: false,
  241. myType: 'peixun'
  242. },
  243. {
  244. content: {
  245. title: '课程定制开发 一 打造专业定制化服务',
  246. des: '百人制作团队,涉及900个行业,深入各大领域,专注课程开发9年,累积定制3万+小时课程',
  247. list: [
  248. {
  249. value: 'E-learning课程',
  250. },
  251. {
  252. value: '微课程制作',
  253. },
  254. {
  255. value: '宣传片制作',
  256. },
  257. {
  258. value: 'PPT定制',
  259. },
  260. {
  261. value: '情景动画开发',
  262. },
  263. {
  264. value: 'H5平面设计',
  265. },
  266. {
  267. value: '视频后期制作',
  268. },
  269. ],
  270. order: 2,
  271. },
  272. img: {
  273. url: require(`~/static/productImage/p01.png`),
  274. order: 1,
  275. },
  276. mianfei: false,
  277. zixun: true,
  278. shenqing: true,
  279. myType: 'kecheng'
  280. },
  281. {
  282. content: {
  283. title: '通用课程资源 一 帮助企业构建自主课程体系',
  284. des: '基于岗位胜任力模型,青谷为企业搭建9大模块通用岗位培训方案,满足各个行业对培训课程资源的应用需求。',
  285. list: [
  286. {
  287. value: '职业素养',
  288. },
  289. {
  290. value: '领导能力',
  291. },
  292. {
  293. value: '人力资源',
  294. },
  295. {
  296. value: '市场营销',
  297. },
  298. {
  299. value: '行政管理',
  300. },
  301. {
  302. value: '财务管理',
  303. },
  304. {
  305. value: '客服服务',
  306. },
  307. {
  308. value: '产品运营',
  309. },
  310. {
  311. value: '生产采购',
  312. },
  313. ],
  314. order: 1,
  315. },
  316. img: {
  317. url: require(`~/static/productImage/p02.png`),
  318. order: 2,
  319. },
  320. mianfei: false,
  321. zixun: true,
  322. shenqing: true,
  323. myType: 'kecheng'
  324. }
  325. ],
  326. SystemWidthFlag: false,// 判断是否是手机端,默认为false,默认为PC端
  327. topCarousels2: [],
  328. // 客户logo
  329. customerImg1: require(`~/static/gangweiIcon/z154.png`),
  330. customerImg2: require(`~/static/gangweiIcon/z155.png`),
  331. customerImg3: require(`~/static/gangweiIcon/z156.png`),
  332. customerImg4: require(`~/static/gangweiIcon/z157.png`),
  333. customerImg5: require(`~/static/gangweiIcon/z158.png`),
  334. customerImg6: require(`~/static/gangweiIcon/z159.png`),
  335. customerImg7: require(`~/static/gangweiIcon/z160.png`),
  336. customerImg8: require(`~/static/gangweiIcon/z161.png`),
  337. customerImg9: require(`~/static/gangweiIcon/z162.png`),
  338. customerImg10: require(`~/static/gangweiIcon/z163.png`),
  339. customerImg11: require(`~/static/gangweiIcon/z164.png`),
  340. customerImg12: require(`~/static/gangweiIcon/z165.png`),
  341. customerImg13: require(`~/static/gangweiIcon/z166.png`),
  342. customerImg14: require(`~/static/gangweiIcon/z167.png`),
  343. customerImg15: require(`~/static/gangweiIcon/z168.png`),
  344. customerImg16: require(`~/static/gangweiIcon/z169.png`),
  345. btnTextDisabled: false,
  346. telDl: false,
  347. btnText: '获取验证码',
  348. countdown: 60, // 60秒倒计时
  349. sliderData: {},
  350. appKey: 'FFFF0N00000000007EC0',
  351. telChangeDate: {},
  352. telRules: {
  353. tel: [
  354. {trigger: 'blur', required: true, message: '请输入手机号'},
  355. ],
  356. verification: [
  357. {trigger: 'blur', required: true, message: '请输入验证码'},
  358. ],
  359. },
  360. };
  361. },
  362. components: {
  363. imgCardLv1,
  364. applyBtn,
  365. freeTrialBtn,
  366. onlineInformationBtn,
  367. applicationDialog,
  368. newsComp,
  369. selectDialog
  370. },
  371. head() {
  372. return {
  373. title: '在线考试系统_在线培训系统_组卷答题系统_考试软件',
  374. meta: [
  375. {
  376. name: 'description',
  377. content: '麦塔在线考试系统和在线培训系统拥有完全自主知识产权,专注于解决在线考试、在线培训难题,拥有防作弊系统,支持试题乱序、试题保护、人脸识别等参数设置;致力于高质量完成培训、考试任务,麦塔10余年专注打造多学习场景、安全稳定易用的在线考试系统、在线培训系统,能为企业节省30%的学习费用!'
  378. },
  379. {
  380. name: 'keywords',
  381. content: '考试系统,培训系统,答题系统,组卷系统,考试管理系统'
  382. },
  383. /* {
  384. name: 'mobile-agent',
  385. content: 'format=html5;url=https://m.mtavip.com'
  386. },*/
  387. {
  388. name: 'bytedance-verification-code',
  389. content: 'EoTQ4NuK4pxkCu7efFJH'
  390. },
  391. {
  392. 'http-equiv': 'Cache-Control',
  393. content: 'no-transform'
  394. },
  395. ],
  396. link: [
  397. /* {
  398. rel:'alternate',
  399. media:'only screen and(max-width: 640px)',
  400. href:'https://m.mtavip.com'
  401. },*/
  402. {
  403. rel: 'canonical',
  404. href: 'http://www.mtaclass.com/'
  405. }
  406. ]
  407. }
  408. },
  409. methods: {
  410. onNeedSelect() {
  411. this.show = true;
  412. },
  413. onApplyBtnActive() {
  414. this.telDl = true;
  415. },
  416. onApplyBtnActiveH5() {
  417. this.$router.push({name: 'CourseDevelopPhone', query: {redirectUrl: 'shouye',}});
  418. },
  419. clickBanner(data) {
  420. if (data.url) {
  421. window.open(data.url)
  422. }
  423. },
  424. // 免费试用
  425. FreeTrial(type) {
  426. var registerType = type;
  427. if (this.SystemWidthFlag) {
  428. if (registerType === 1) {
  429. window.open('https://cdnks.mtavip.com/mdist/#/webRegister?flug=1')
  430. } else {
  431. window.open('https://cdnks.mtavip.com/mdist/#/webRegister?flug=2')
  432. }
  433. } else {
  434. if (registerType === 1) {
  435. window.open('https://cdnks.mtavip.com/a/register?flug=1')
  436. } else {
  437. window.open('https://cdnks.mtavip.com/a/register?flug=2')
  438. }
  439. }
  440. },
  441. goExamPage() {
  442. this.$router.push({name: 'examsystem'});
  443. },
  444. goPeixunPage() {
  445. this.$router.push({name: 'trainsystem'});
  446. },
  447. goKechengPage() {
  448. this.$router.push({name: 'courseware'});
  449. },
  450. checkInfo(data) {
  451. const opt = {
  452. id: data.code,
  453. };
  454. this.$router.push({name: 'news-id', params: opt});
  455. },
  456. },
  457. computed: {
  458. baseUrl() {
  459. return this.getBaseUrl;
  460. },
  461. ...mapGetters(['getBaseUrl']),
  462. },
  463. };
  464. </script>
  465. <style lang="scss" scoped>
  466. .client-products-services {
  467. .img-card:nth-child(3) {
  468. background: #fafffc;
  469. }
  470. .img-card:nth-child(5) {
  471. background: #fafffc;
  472. }
  473. }
  474. .client-index-page {
  475. .free-train-btn, .apply-btn {
  476. margin-right: 16px;
  477. }
  478. .btn-groups {
  479. margin-top: 48px;
  480. }
  481. @media (max-width: 768px) {
  482. .btn-groups {
  483. display: flex;
  484. justify-content: center;
  485. margin-top: 30px;
  486. }
  487. }
  488. }
  489. .client-container {
  490. position: relative;
  491. }
  492. .banner-btn-groups {
  493. position: absolute;
  494. left: 0;
  495. top: 406px;
  496. }
  497. .banner-btn-groups.btn-0 {
  498. .free-train-btn {
  499. background: #fff;
  500. color: #93C751;
  501. border-radius: 50px;
  502. }
  503. .online-information-btn {
  504. background: #93C751;
  505. color: #fff;
  506. border-radius: 50px;
  507. border-color: #fff;
  508. }
  509. }
  510. .banner-btn-groups.btn-1 {
  511. .free-train-btn {
  512. background: #fff;
  513. border-radius: 50px;
  514. color: #40d486;
  515. }
  516. .online-information-btn {
  517. background: #40d486;
  518. color: #fff;
  519. border-radius: 50px;
  520. border-color: #fff;
  521. }
  522. }
  523. .banner-btn-groups.btn-2 {
  524. top: 444px;
  525. .apply-btn {
  526. background: #fff;
  527. border-radius: 50px;
  528. color: #2a846a;
  529. }
  530. .online-information-btn {
  531. background: #2a8469;
  532. color: #fff;
  533. border-radius: 50px;
  534. border-color: #fff;
  535. }
  536. }
  537. .banner-btn-groups.btn-3 {
  538. top: 470px;
  539. .apply-btn {
  540. background: #ffbb1a;
  541. border-radius: 50px;
  542. color: #fff;
  543. }
  544. .online-information-btn {
  545. background: #8ec754;
  546. color: #fff;
  547. border-color: #fff;
  548. }
  549. }
  550. .customer-img-box {
  551. .customer-row {
  552. display: flex;
  553. flex-direction: row;
  554. justify-content: center;
  555. img {
  556. width: 193px;
  557. height: 63px;
  558. }
  559. }
  560. }
  561. </style>