移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.7 KiB

  1. <template>
  2. <div class="tb-toolbar-container">
  3. <!--<router-link to="/index" class="tab" active-class="active" exact>
  4. <span class="icon"><van-icon name="wap-home-o" size="25" /></span>
  5. <p class="text">首页</p>
  6. </router-link>
  7. <router-link to="/project" class="tab" active-class="active">
  8. <span class="icon"><van-icon name="notes-o" size="25" /></span>
  9. <p class="text">挂牌项目</p>
  10. </router-link>
  11. <router-link to="/user" class="tab" active-class="active">
  12. <span class="icon"><van-icon name="contact" size="25" /></span>
  13. <p class="text">我的</p>
  14. </router-link>-->
  15. <!-- <router-link to="/addressBook" class="tab" active-class="active">-->
  16. <!-- <span class="icon"><van-icon name="orders-o" size="20" /></span>-->
  17. <!-- <p class="text">通讯录</p>-->
  18. <!-- </router-link>-->
  19. <!-- <router-link to="/mynsgk" class="tab" active-class="active">-->
  20. <!-- <span class="icon"><van-icon name="contact" size="20" /></span>-->
  21. <!-- <p class="text">我的</p>-->
  22. <!-- </router-link>-->
  23. </div>
  24. </template>
  25. <script>
  26. export default {
  27. name: "toolbar",
  28. };
  29. </script>
  30. <style scoped lang="scss">
  31. .tb-toolbar-container {
  32. box-sizing: border-box;
  33. display: -webkit-box;
  34. display: -webkit-flex;
  35. display: flex;
  36. left: 0;
  37. bottom: 0;
  38. width: 100%;
  39. z-index: 1001;
  40. background-color: #fff;
  41. border-top: 1px solid #e7e7e7;
  42. border-bottom: 1px solid #f8f8f8;
  43. -webkit-box-pack: justify;
  44. justify-content: space-around;
  45. -webkit-box-align: center;
  46. align-items: center;
  47. position: fixed;
  48. padding: 10px 40px;
  49. .tab {
  50. color: #5d656b;
  51. text-align: center;
  52. &.active {
  53. color: #007b76;
  54. }
  55. .icon {
  56. padding-bottom: 3px;
  57. }
  58. }
  59. }
  60. </style>