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.

119 lines
2.8 KiB

2 years ago
2 years ago
  1. <template>
  2. <modal name="BankingDetails" :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] lg:tw-text-[20px]">
  6. {{ $t('Banking Details') }}
  7. </div>
  8. <button class="close tw-transition tw-btn-md" @click="$modal.hide('BankingDetails')"></button>
  9. </div>
  10. <div
  11. class="modal-content tw-bg-[#FFFFFF] tw-border-solid tw-border tw-border-primary-1 tw-p-[15px] tw-rounded-[20px]">
  12. <div class="tw-mb-[10px] tw-font-bold tw-text-primary-1 md:tw-body-4">
  13. {{ $t('Bank account info:') }}
  14. </div>
  15. <div class="tw-body-5 tw-grid tw-grid-cols-1 tw-gap-[6px] md:tw-mr-[85px] lg:t14 lg:tw-mr-[0px]">
  16. <div>{{ $t('Bank name') }}{{ BankingDetails.BankName }}</div>
  17. <div>{{ $t('SWIFT Code') }}{{ BankingDetails.SwiftCode }}</div>
  18. <div>{{ $t('Bank Address') }}{{ BankingDetails.BankAddress }}</div>
  19. <div>{{ $t('Account Number') }}{{ BankingDetails.AccountNumber }}</div>
  20. <div>{{ $t('Account Name') }}{{ BankingDetails.AccountName }}</div>
  21. </div>
  22. </div>
  23. </div>
  24. </modal>
  25. </template>
  26. <script>
  27. export default {
  28. name: "BankingDetails",
  29. data() {
  30. return {};
  31. },
  32. props: {
  33. BankingDetails: {
  34. type: Object,
  35. },
  36. },
  37. };
  38. </script>
  39. <style lang="scss" scoped>
  40. .close {
  41. position: absolute;
  42. right: 25px;
  43. top: 25px;
  44. background-image: url("~/assets/svg/close.svg");
  45. background-position: center;
  46. background-repeat: no-repeat;
  47. background-size: cover;
  48. width: 14px;
  49. height: 14px;
  50. @media screen and (min-width: 1366px) {
  51. position: relative;
  52. right: initial;
  53. top: initial;
  54. }
  55. }
  56. :deep() {
  57. .v--modal {
  58. background-color: #f8f8f8 !important;
  59. text-align: left;
  60. border-radius: 16px;
  61. box-shadow: 0 20px 60px -2px rgb(27 33 58 / 40%);
  62. padding: 20px;
  63. max-width: max-content;
  64. top: 0 !important;
  65. left: 0 !important;
  66. right: 0 !important;
  67. margin: 0 auto;
  68. height: auto !important;
  69. vertical-align: middle;
  70. @media screen and (min-width: 1366px) {
  71. padding: 30px;
  72. }
  73. }
  74. .v--modal-overlay {
  75. position: fixed;
  76. box-sizing: border-box;
  77. left: 0;
  78. top: 0;
  79. width: max-content;
  80. height: auto;
  81. background: rgba(0, 0, 0, 0.2);
  82. z-index: 999;
  83. opacity: 1;
  84. }
  85. .v--modal-top-right {
  86. display: block;
  87. position: fixed;
  88. right: 0;
  89. top: 0;
  90. }
  91. .v--modal-background-click {
  92. display: flex;
  93. justify-content: center;
  94. align-items: center;
  95. }
  96. .v--modal-box {
  97. width: 700px;
  98. margin-left: 60px;
  99. margin-right: 60px;
  100. @media (min-width: 768px) {
  101. margin-left: 67px;
  102. margin-right: 67px;
  103. }
  104. }
  105. .v--modal-box .v--modal {
  106. width: 700px;
  107. }
  108. }
  109. </style>