index.vue 16 KB

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