You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
2.9 KiB

2 years ago
  1. <template>
  2. <modal name="CancelBooking" :clickToClose="false">
  3. <div class="tw-text-base-primary">
  4. <div class="modal-header tw-flex tw-w-full tw-justify-between tw-mb-[20px]">
  5. <div class="t14 tw-font-bold tw-mr-[120px] md:tw-text-[20px] md:tw-mb-[10px]">
  6. Cancel Booking
  7. </div>
  8. <button class="close tw-transition tw-btn-md" @click="$modal.hide('CancelBooking')"></button>
  9. </div>
  10. <div class="modal-content md:tw-items-center">
  11. <div class="t14 tw-mb-[20px] md:t16 md:mb-[15px]">
  12. Are you sure you want to cancel this booking?
  13. </div>
  14. <div class="tw-flex tw-flex-row tw-items-start">
  15. <img src="@/assets/svg/Notice.svg" class="tw-mr-[6px] md:tw-mr-[12px]" />
  16. <div class="t12 tw-mb-[25px] tw-whitespace-normal tw-text-neutrals-400 md:t14 md:tw-mb-[40px]">
  17. ShowEasy customer service will contact you for the cancellation
  18. process,please wait patiently.
  19. </div>
  20. </div>
  21. </div>
  22. <div class="modal-footer">
  23. <div class="tw-flex md:tw-justify-end">
  24. <button class="t14 tw-bg-[#FFFFFF] tw-text-primary-1 tw-rounded-[16px] tw-px-[45px] tw-py-[10px] tw-mr-[5px]">
  25. No
  26. </button>
  27. <button class="t14 tw-bg-primary-1 tw-text-[#FFFFFF] tw-rounded-[16px] tw-px-[45px] tw-py-[10px]">
  28. Yes
  29. </button>
  30. </div>
  31. </div>
  32. </div>
  33. </modal>
  34. </template>
  35. <script>
  36. export default {
  37. name: "CancelBooking",
  38. data() {
  39. return {};
  40. },
  41. };
  42. </script>
  43. <style lang="scss" scoped>
  44. .close {
  45. position: absolute;
  46. right: 25px;
  47. top: 25px;
  48. background-image: url("~/assets/svg/close.svg");
  49. background-position: center;
  50. background-repeat: no-repeat;
  51. background-size: cover;
  52. width: 14px;
  53. height: 14px;
  54. @media (min-width: 1366px) {
  55. position: relative;
  56. right: initial;
  57. top: initial;
  58. }
  59. }
  60. :deep() {
  61. .v--modal {
  62. background-color: #f8f8f8 !important;
  63. text-align: left;
  64. border-radius: 16px;
  65. box-shadow: 0 20px 60px -2px rgb(27 33 58 / 40%);
  66. padding: 20px;
  67. max-width: max-content;
  68. top: 0 !important;
  69. left: 0 !important;
  70. right: 0 !important;
  71. margin: 0 auto;
  72. height: auto !important;
  73. vertical-align: middle;
  74. @media screen and (min-width: 768px) {
  75. padding: 30px;
  76. }
  77. }
  78. .v--modal-overlay {
  79. position: fixed;
  80. box-sizing: border-box;
  81. left: 0;
  82. top: 0;
  83. width: max-content;
  84. height: auto;
  85. background: rgba(0, 0, 0, 0.2);
  86. z-index: 999;
  87. opacity: 1;
  88. }
  89. .v--modal-top-right {
  90. display: block;
  91. position: fixed;
  92. right: 0;
  93. top: 0;
  94. }
  95. .v--modal-background-click {
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. }
  100. .v--modal-box {
  101. margin-left: 60px;
  102. margin-right: 60px;
  103. @media (min-width: 768px) {
  104. margin-left: 67px;
  105. margin-right: 67px;
  106. }
  107. }
  108. }
  109. </style>