footer.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. <div style="display: flex;justify-content: flex-start;flex-wrap: wrap">
  48. <dd style="width: 30%" v-for="item in hotList" :key="item.iiId" @click="checkNews(item)">{{item.biaoqian}}</dd>
  49. </div>
  50. </dl>
  51. </div>
  52. <div class="contact-right-box">
  53. <div class="right-sw-box">
  54. <h4>商务合作微信</h4>
  55. <img :src="swTwoCodeImg" alt="商务合作扫微信"/>
  56. </div>
  57. <div style="vertical-align: top;">
  58. <h3>400-052-2130</h3>
  59. <p>周一至周日9:00-18:00</p>
  60. <a href="https://p.qiao.baidu.com/cps/chat?siteId=17930048&userId=40179606&siteToken=e767a987c8404575246ab0084fb2c9bd" target="_blank">联系客服</a>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="link-box">
  65. <h4>友情链接</h4>
  66. <div class="link-a-box">
  67. <a :href="item.url" v-for="(item,index) in requestData" :key="index">{{item.name}}</a>
  68. </div>
  69. </div>
  70. <!--<h5>Copyright © 2019 llisoft.com All rights reserved 大连麦塔软件服务有限公司 版权所有 <a style="color: #B8B8BB"
  71. href="https://beian.miit.gov.cn/#/Integrated/index">
  72. 辽ICP备09022904号-18</a></h5>-->
  73. <h5>Copyright © 2021 mtaclass.com All rights reserved 大连麦塔软件服务有限公司 版权所有 辽ICP备2021011083号-1</h5>
  74. </div>
  75. <div class="mta-hidden-sm phone-footer-box">
  76. <p>Copyright © 2021 mtaclass.com All rights reserved </p>
  77. <p>大连麦塔软件服务有限公司 版权所有</p>
  78. <a href="https://beian.miit.gov.cn/#/Integrated/index">辽ICP备2021011083号-1</a>
  79. </div>
  80. </div>
  81. </template>
  82. <script>
  83. import {mapState, mapGetters} from 'vuex';
  84. export default {
  85. name: 'mtaFooter',
  86. computed: {
  87. baseUrl() {
  88. return this.getBaseUrl;
  89. },
  90. requestData() {
  91. return this.getFooterYouQingLianJie;
  92. },
  93. hotList() {
  94. return this.getHotList;
  95. },
  96. ...mapGetters(['getFooterYouQingLianJie','getBaseUrl', 'getHotList']),
  97. },
  98. data() {
  99. return {
  100. swTwoCodeImg: require(`~/static/images/client/component/sw-two-code.png`),
  101. footerData: [
  102. {
  103. name: '首页',
  104. url: '/',
  105. },
  106. {
  107. name: '体验中心',
  108. url: '/tiyanCenter',
  109. },
  110. {
  111. name: '电话咨询',
  112. url: 'tel:400-052-2130',
  113. },
  114. {
  115. name: '在线咨询',
  116. url: 'https://p.qiao.baidu.com/cps/chat?siteId=17930048&userId=40179606&siteToken=e767a987c8404575246ab0084fb2c9bd',
  117. }
  118. ]
  119. }
  120. },
  121. methods: {
  122. checkNews(item) {
  123. const opt = {
  124. id: item.code,
  125. };
  126. this.$router.push({ name: 'news-id', params: opt });
  127. },
  128. goToPage(item) {
  129. window.location.href = item.url
  130. },
  131. // 考试链接
  132. goExamPage() {
  133. this.$router.push({name: 'examsystem'});
  134. },
  135. // 培训链接
  136. goPeixunPage() {
  137. this.$router.push({name: 'trainsystem'});
  138. },
  139. // 课程开发链接
  140. goKechengPage() {
  141. this.$router.push({name: 'courseware'});
  142. },
  143. // 关于帮助中心
  144. goaboutUs() {
  145. this.$router.push({name: 'introduction'});
  146. },
  147. },
  148. }
  149. </script>