contact.vue 539 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. margin: 0;
  24. }
  25. .button::after {
  26. border: none;
  27. width: 0;
  28. height: 0;
  29. border-radius: 0;
  30. margin: 0;
  31. }
  32. .button {
  33. border-radius: 0;
  34. }
  35. </style>