index.vue 17 KB

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