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

<template>
<modal name="BankingDetails" :clickToClose="false">
<div class="tw-text-base-primary">
<div class="modal-header tw-flex tw-w-full tw-justify-between tw-mb-[20px]">
<div class="t14 tw-font-bold tw-mr-[120px] lg:tw-text-[20px]">
{{ $t('Banking Details') }}
</div>
<button class="close tw-transition tw-btn-md" @click="$modal.hide('BankingDetails')"></button>
</div>
<div
class="modal-content tw-bg-[#FFFFFF] tw-border-solid tw-border tw-border-primary-1 tw-p-[15px] tw-rounded-[20px]">
<div class="tw-mb-[10px] tw-font-bold tw-text-primary-1 md:tw-body-4">
{{ $t('Bank account info:') }}
</div>
<div class="tw-body-5 tw-grid tw-grid-cols-1 tw-gap-[6px] md:tw-mr-[85px] lg:t14 lg:tw-mr-[0px]">
<div>Bank name{{ BankingDetails.BankName }}</div>
<div>SWIFT Code{{ BankingDetails.SwiftCode }}</div>
<div>Bank Address{{ BankingDetails.BankAddress }}</div>
<div>Account Number{{ BankingDetails.AccountNumber }}</div>
<div>Account Name{{ BankingDetails.AccountName }}</div>
</div>
</div>
</div>
</modal>
</template>
<script>
export default {
name: "BankingDetails",
data() {
return {};
},
props: {
BankingDetails: {
type: Object,
},
},
};
</script>
<style lang="scss" scoped>
.close {
position: absolute;
right: 25px;
top: 25px;
background-image: url("~/assets/svg/close.svg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 14px;
height: 14px;
@media screen and (min-width: 1366px) {
position: relative;
right: initial;
top: initial;
}
}
:deep() {
.v--modal {
background-color: #f8f8f8 !important;
text-align: left;
border-radius: 16px;
box-shadow: 0 20px 60px -2px rgb(27 33 58 / 40%);
padding: 20px;
max-width: max-content;
top: 0 !important;
left: 0 !important;
right: 0 !important;
margin: 0 auto;
height: auto !important;
vertical-align: middle;
@media screen and (min-width: 1366px) {
padding: 30px;
}
}
.v--modal-overlay {
position: fixed;
box-sizing: border-box;
left: 0;
top: 0;
width: max-content;
height: auto;
background: rgba(0, 0, 0, 0.2);
z-index: 999;
opacity: 1;
}
.v--modal-top-right {
display: block;
position: fixed;
right: 0;
top: 0;
}
.v--modal-background-click {
display: flex;
justify-content: center;
align-items: center;
}
.v--modal-box {
width: 700px;
margin-left: 60px;
margin-right: 60px;
@media (min-width: 768px) {
margin-left: 67px;
margin-right: 67px;
}
}
.v--modal-box .v--modal {
width: 700px;
}
}
</style>