1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <div class="bottom-btn-box mta-hidden-sm">
- <el-menu
- :default-active="activeNav"
- :class="navClass"
- mode="horizontal"
- :router="false"
- >
- <template v-for="(item,index) in footerData" >
- <el-menu-item :index="`${item.url}`" >
- <a :href="item.url"><i></i><span>{{item.name}}</span></a>
- </el-menu-item>
- </template>
- </el-menu>
- </div>
- </template>
- <script>
- import {mapState, mapGetters} from 'vuex';
- export default {
- name: 'mtaFooter',
- computed: {
- activeNav() {
- return this.getActiveNav;
- },
- ...mapGetters(['getActiveNav']),
- },
- data() {
- return {
- navClass:'head-nav-up',
- footerData: [
- {
- name: '电话咨询',
- url: 'tel:400-052-2130',
- },
- {
- name: '在线咨询',
- url: 'https://p.qiao.baidu.com/cps/chat?siteId=17939829&userId=40179606&siteToken=35cf5be39b078111b613c15d6bab5493',
- }
- ]
- }
- },
- methods: {
- },
- }
- </script>
|