BackButton.vue 588 B

1234567891011121314151617181920212223242526272829
  1. <script setup lang="ts">
  2. import { ChevronLeft } from "lucide-vue-next";
  3. </script>
  4. <template>
  5. <div class="cursor-pointer">
  6. <div
  7. class="btn w-24 md:w-32 h-16 flex justify-between items-center bg-[#03B3FF] bg-opacity-10 px-3 rounded-lg"
  8. >
  9. <div>
  10. <ChevronLeft :size="40" />
  11. </div>
  12. <div class="text">返回</div>
  13. </div>
  14. </div>
  15. </template>
  16. <style scoped>
  17. .btn {
  18. border: 0.58px solid #038dff;
  19. }
  20. .text {
  21. font-size: 24px;
  22. font-weight: 400;
  23. letter-spacing: 0px;
  24. line-height: 42.34px;
  25. text-align: center;
  26. vertical-align: top;
  27. }
  28. </style>