The contents of the vue component are not displayed

I"m going to write a demo, debugged on the mobile side: header, content and bottom, with three menus at the bottom, common headers and bottoms in the components folder, and other page components in the pages folder; now the problem is that the text in the component is not displayed (only the front page is displayed):

clipboard.png
,,;

clipboard.png

clipboard.png

my router/index.js file is as follows:

import Vue from "vue"
import Router from "vue-router"
import Indexs from "../pages/index"
import Content from "../pages/content"
import Mine from "../pages/mine"

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: "/",
      name: "index",
      component: Indexs
    },
    {
      path: "../pages/content",
      name: "content",
      component: Content
    },
    {
      path: "../pages/mine",
      name: "mine",
      component: Mine
    }
  ]
})

components/footer.vue file:

<template>
  <div class="footer">
    <a @click="changeTab(index)" :key="index" v-for="(tab, index) in tabs">{{ tab.title }}</a>
  </div>
</template>

<script>
export default {
  name: "footers",
  data () {
    return {
      tabs: [
        {
          title: "",   
          path: "/"      
        },
        {
          title: "",
          path: "../pages/content"        
        },
        {
          title: "",
          path: "../pages/mine"          
        }
      ]
    }
  },
  methods: {
    changeTab (index) {
      this.$router.push({path:this.tabs[index].path});
    }
  }
}
</script>

<style scoped>
.footer{
  height: 50px;
  width: 100%;
  line-height: 50px;
  position: fixed;
  bottom: 0;
  background-color: -sharp999;
  color: -sharpfff;
  text-align: center;
}
.footer a {
  display: inline-block;
  width: 33%;
}
</style>
  
Apr.03,2021

the path path under the router/index.js file refers to the routing path. Try / pages/mine instead.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e446a7-43a2a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e446a7-43a2a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?