index.vue 17 KB

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