footer.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <template>
  2. <div class="client-footer">
  3. <div class="client-container mta-hidden-xs">
  4. <div class="contact-box">
  5. <div class="contact-left-box">
  6. <dl>
  7. <dt>产品服务</dt>
  8. <dd @click="goExamPage">考试平台</dd>
  9. <dd @click="goPeixunPage">培训平台</dd>
  10. <dd @click="goKechengPage">课程开发</dd>
  11. <div style="display: none">
  12. <a :href="`${baseUrl}/examsystem`"></a>
  13. <a :href="`${baseUrl}/trainsystem`"></a>
  14. <a :href="`${baseUrl}/courseware`"></a>
  15. <a :href="`${baseUrl}/introduction`"></a>
  16. </div>
  17. </dl>
  18. <dl>
  19. <dt>关于麦塔</dt>
  20. <dd @click="goaboutUs">公司简介</dd>
  21. <dd @click="goaboutUs">加入麦塔</dd>
  22. <dd @click="goaboutUs">联系我们</dd>
  23. </dl>
  24. <dl>
  25. <dt>帮助中心</dt>
  26. <dd><a rel="nofollow"
  27. href="https://www.kancloud.cn/yhm-122130/mtaks2020/content/%E4%BA%8C%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98%E8%AE%BE%E7%BD%AE%E5%8A%9F%E8%83%BD%E8%AF%B4%E6%98%8E.md"
  28. target="_blank">考试文档</a></dd>
  29. <dd><a rel="nofollow"
  30. href="https://www.kancloud.cn/yhm-122130/mtapx_new/content/%E4%BA%BA%E5%91%98%E7%AE%A1%E7%90%86%E5%8A%9F%E8%83%BD%E4%BB%8B%E7%BB%8D.md"
  31. target="_blank">培训文档</a></dd>
  32. <!--<dd><a rel="nofollow" href="https://cdnks.mtavip.com/a/register?flug=1" target="_blank">应用下载</a></dd>-->
  33. </dl>
  34. <!-- <dl>
  35. <dt>法律声明</dt>
  36. <dd>服务条款</dd>
  37. <dd>隐私声明</dd>
  38. <dd>知识维权</dd>
  39. </dl>-->
  40. <dl>
  41. <dt>关注我们</dt>
  42. <dd class="two-code-box">微信公众号<i class="two-dimensional-code"></i></dd>
  43. <!--<dd>新浪微博</dd>-->
  44. </dl>
  45. <dl>
  46. <dt>热门新闻</dt>
  47. <dd v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.title}}</dd>
  48. </dl>
  49. </div>
  50. <div class="contact-right-box">
  51. <div class="right-sw-box">
  52. <h4>商务合作微信</h4>
  53. <img :src="swTwoCodeImg" alt="商务合作扫微信"/>
  54. </div>
  55. <div style="vertical-align: top;">
  56. <h3>400-052-2130</h3>
  57. <p>周一至周日9:00-18:00</p>
  58. <a href="https://p.qiao.baidu.com/cps/chat?siteId=17930048&userId=40179606&siteToken=e767a987c8404575246ab0084fb2c9bd" target="_blank">联系客服</a>
  59. </div>
  60. </div>
  61. </div>
  62. <div class="link-box">
  63. <h4>友情链接</h4>
  64. <div class="link-a-box">
  65. <a :href="item.url" v-for="(item,index) in requestData" :key="index">{{item.name}}</a>
  66. </div>
  67. </div>
  68. <!--<h5>Copyright © 2019 llisoft.com All rights reserved 大连麦塔软件服务有限公司 版权所有 <a style="color: #B8B8BB"
  69. href="https://beian.miit.gov.cn/#/Integrated/index">
  70. 辽ICP备09022904号-18</a></h5>-->
  71. <h5>Copyright © 2021 mtaclass.com All rights reserved 大连麦塔软件服务有限公司 版权所有 辽ICP备2021011083号-1</h5>
  72. </div>
  73. <div class="mta-hidden-sm phone-footer-box">
  74. <p>Copyright © 2021 mtaclass.com All rights reserved </p>
  75. <p>大连麦塔软件服务有限公司 版权所有</p>
  76. <a href="https://beian.miit.gov.cn/#/Integrated/index">辽ICP备2021011083号-1</a>
  77. </div>
  78. </div>
  79. </template>
  80. <script>
  81. import {mapState, mapGetters} from 'vuex';
  82. export default {
  83. name: 'mtaFooter',
  84. computed: {
  85. baseUrl() {
  86. return this.getBaseUrl;
  87. },
  88. requestData() {
  89. return this.getFooterYouQingLianJie;
  90. },
  91. hotList() {
  92. return this.getHotList;
  93. },
  94. ...mapGetters(['getFooterYouQingLianJie','getBaseUrl', 'getHotList']),
  95. },
  96. data() {
  97. return {
  98. swTwoCodeImg: require(`~/static/images/client/component/sw-two-code.png`),
  99. footerData: [
  100. {
  101. name: '首页',
  102. url: '/',
  103. },
  104. {
  105. name: '体验中心',
  106. url: '/tiyanCenter',
  107. },
  108. {
  109. name: '电话咨询',
  110. url: 'tel:400-052-2130',
  111. },
  112. {
  113. name: '在线咨询',
  114. url: 'https://p.qiao.baidu.com/cps/chat?siteId=17930048&userId=40179606&siteToken=e767a987c8404575246ab0084fb2c9bd',
  115. }
  116. ]
  117. }
  118. },
  119. methods: {
  120. checkNews(item) {
  121. const opt = {
  122. id: item.code,
  123. };
  124. this.$router.push({ name: 'news-id', params: opt });
  125. },
  126. goToPage(item) {
  127. window.location.href = item.url
  128. },
  129. // 考试链接
  130. goExamPage() {
  131. this.$router.push({name: 'examsystem'});
  132. },
  133. // 培训链接
  134. goPeixunPage() {
  135. this.$router.push({name: 'trainsystem'});
  136. },
  137. // 课程开发链接
  138. goKechengPage() {
  139. this.$router.push({name: 'courseware'});
  140. },
  141. // 关于帮助中心
  142. goaboutUs() {
  143. this.$router.push({name: 'introduction'});
  144. },
  145. },
  146. }
  147. </script>