3 changed files with 115 additions and 7 deletions
-
99FrontEnd/components/booking/Modal/ViewRemittanceImg.vue
-
12FrontEnd/components/booking/PaymentDetails.vue
-
11FrontEnd/pages/user/booking/_id.vue
@ -0,0 +1,99 @@ |
|||
<template> |
|||
<modal name="ViewRemittanceImgModal" :clickToClose="false"> |
|||
<div class="tw-text-base-primary"> |
|||
<div class="modal-header tw-flex tw-w-full tw-justify-between tw-mb-[15px] lg:tw-mb-[30px]"> |
|||
<div class="t18 tw-mr-[120px] md:tw-text-[20px]">看水單</div> |
|||
<button class="close tw-transition tw-btn-md" @click="$modal.hide('ViewRemittanceImgModal')"></button> |
|||
</div> |
|||
<div class="modal-content tw-body-5 md:tw-mr-[200px] md:tw-body-4"> |
|||
<img :src = remittanceImg /> |
|||
</div> |
|||
</div> |
|||
</modal> |
|||
</template> |
|||
<script> |
|||
export default { |
|||
name: "ViewRemittanceImgModal", |
|||
|
|||
data() { |
|||
return {}; |
|||
}, |
|||
|
|||
props: { |
|||
remittanceImg: { |
|||
type: String, |
|||
}, |
|||
}, |
|||
}; |
|||
</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 (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; |
|||
} |
|||
|
|||
.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 { |
|||
margin-left: 60px; |
|||
margin-right: 60px; |
|||
|
|||
@media (min-width: 768px) { |
|||
margin-left: 67px; |
|||
margin-right: 67px; |
|||
} |
|||
} |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue