<template>
  <div class="client-footer">
    <div class="client-container">
      <div class="footer-content-box">
        <p>联系电话:010-88888888</p>
        <p>地址:北京市昌平区北清路1号院6号楼11层2单元1209-B</p>
        <p>官方邮箱:980182871@qq.com</p>
        <p>北京诚祥教育咨询有限公司关联技术支持</p>
      </div>
      <h5>Copyright 2025.com All rights reserved 版权所有
      <a style="color: #b8e9e1" href="https://beian.miit.gov.cn/#/Integrated/index">京ICP备00000000号-00</a></h5>
    </div>
  </div>
</template>

<script>
  import {mapState, mapGetters} from 'vuex';

  export default {
    name: 'mtaFooter',
    computed: {
      requestData() {
        return this.getFooterYouQingLianJie;
      },
      hotList() {
        return this.getHotList;
      },
      ...mapGetters(['getFooterYouQingLianJie','getHotList']),
    },
    data() {
      return {
        swTwoCodeImg: require(`~/static/images/client/component/sw-two-code.png`),
        footerData: [
          {
            name: '首页',
            url: '/',
          },
          {
            name: '体验中心',
            url: '/tiyanCenter',
          },
          {
            name: '电话咨询',
            url: 'tel:400-052-2130',
          },
          {
            name: '在线咨询',
            url: 'https://p.qiao.baidu.com/cps/chat?siteId=17930048&userId=40179606&siteToken=e767a987c8404575246ab0084fb2c9bd',
          }

        ]
      }
    },
    methods: {
      checkNews(item) {
        const opt = {
          id: item.code,
        };
        this.$router.push({ name: 'news-id', params: opt });
      },
      goToPage(item) {
        window.location.href = item.url
      },
      // 考试链接
      goExamPage() {
        this.$router.push({name: 'examsystem'});
      },
      // 培训链接
      goPeixunPage() {
        this.$router.push({name: 'trainsystem'});
      },
      // 课程开发链接
      goKechengPage() {
        this.$router.push({ path: '/courseware/synopsis' });
      },
      // 关于帮助中心
      goaboutUs() {
        this.$router.push({name: 'introduction'});
      },
      // 合作商
      goHzs(){
        this.$router.push({ name: 'urbanPartners' });
      },
    },
  }
</script>
