index.vue 17 KB

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