footInfo.vue 818 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <div id="footInfo">
  3. <el-row>
  4. <van-tabbar v-model="active">
  5. <van-tabbar-item to="/" icon="home-o">首页</van-tabbar-item>
  6. <van-tabbar-item to="/class/index" icon="friends-o">班级名单</van-tabbar-item>
  7. <van-tabbar-item to="/question/index" icon="question-o">问卷调查</van-tabbar-item>
  8. <van-tabbar-item to="/user/index" icon="user-o">个人信息</van-tabbar-item>
  9. </van-tabbar>
  10. </el-row>
  11. </div>
  12. </template>
  13. <script>
  14. export default {
  15. name: 'footInfo',
  16. props: {},
  17. components: {},
  18. data: () => ({
  19. active: 0,
  20. }),
  21. created() {},
  22. computed: {},
  23. methods: {},
  24. };
  25. </script>
  26. <style lang="less" scoped>
  27. p {
  28. padding: 0;
  29. margin: 0;
  30. }
  31. .link {
  32. padding: 6px 0 0 0;
  33. text-align: center;
  34. }
  35. .link p {
  36. text-decoration: none;
  37. }
  38. </style>