navigation.vue 720 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <div class="navigation yes-events">
  3. <div class="tabs">
  4. <div class="tab-item">基本指标</div>
  5. </div>
  6. <!-- <div class="btn" @click="toPage">农场确权</div> -->
  7. </div>
  8. </template>
  9. <script setup>
  10. import { useRouter } from "vue-router";
  11. const router = useRouter();
  12. const toPage = () =>{
  13. router.push('/authentic')
  14. }
  15. </script>
  16. <style lang="scss" scoped>
  17. .navigation{
  18. position: fixed;
  19. top: 34px;
  20. left: calc(50% - 476px);
  21. display: flex;
  22. align-items: center;
  23. flex-direction: column;
  24. .btn{
  25. width: 80px;
  26. height: 30px;
  27. text-align: center;
  28. line-height: 28px;
  29. border-radius: 5px;
  30. cursor: pointer;
  31. background: rgba(255,255,255,0.5);
  32. }
  33. }
  34. </style>