navigation.vue 901 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div class="navigation yes-events">
  3. <img class="tabs" src="@/assets/images/home/tabs.png" alt="">
  4. <!-- <img class="tool" src="@/assets/images/home/tool.png" alt=""> -->
  5. <!-- <div class="btn" @click="toPage">农场确权</div> -->
  6. </div>
  7. </template>
  8. <script setup>
  9. import { useRouter } from "vue-router";
  10. const router = useRouter();
  11. const toPage = () =>{
  12. router.push('/authentic')
  13. }
  14. </script>
  15. <style lang="scss" scoped>
  16. .navigation{
  17. position: fixed;
  18. top: 34px;
  19. left: calc(50% - 476px);
  20. display: flex;
  21. align-items: center;
  22. flex-direction: column;
  23. .tabs{
  24. width: 952px;
  25. height: 43px;
  26. margin-bottom: 10px;
  27. }
  28. .tool{
  29. width: 878px;
  30. height: 161px;
  31. }
  32. .btn{
  33. width: 80px;
  34. height: 30px;
  35. text-align: center;
  36. line-height: 28px;
  37. border-radius: 5px;
  38. cursor: pointer;
  39. background: rgba(255,255,255,0.5);
  40. }
  41. }
  42. </style>