index.vue 15 KB

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