index.vue 17 KB

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