contact.vue 509 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <button class="button" :open-type="openType">
  3. <slot />
  4. </button>
  5. </template>
  6. <script>
  7. export default {
  8. name: "contact",
  9. props: {
  10. openType: {
  11. type: String,
  12. default: "contact"
  13. }
  14. }
  15. }
  16. </script>
  17. <style scoped>
  18. .button {
  19. width: 100%;
  20. height: 100%;
  21. background: none;
  22. line-height: 12px;
  23. }
  24. .button::after {
  25. border: none;
  26. width: 0;
  27. height: 0;
  28. border-radius: 0;
  29. }
  30. .button {
  31. border-radius: 0;
  32. }
  33. </style>