ADAS recal modal
This commit is contained in:
parent
9fcc352bae
commit
faa75178aa
2 changed files with 43 additions and 17 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
cmsWidgetName="SiteHeaderWidget" />
|
cmsWidgetName="SiteHeaderWidget" />
|
||||||
</div>
|
</div>
|
||||||
<div class="iss-heritage-container-width">
|
<div class="iss-heritage-container-width">
|
||||||
<div v-if="!isPageLoading"
|
<div v-show="!isPageLoading"
|
||||||
class="coverage-statement-container iss-heritage-content-container-width">
|
class="coverage-statement-container iss-heritage-content-container-width">
|
||||||
<h5
|
<h5
|
||||||
ref="siteSubHeader"
|
ref="siteSubHeader"
|
||||||
|
|
@ -104,9 +104,6 @@
|
||||||
<recalModal
|
<recalModal
|
||||||
:ref="RECAL_MODAL_REF_NAME"
|
:ref="RECAL_MODAL_REF_NAME"
|
||||||
cmsWidgetName="RecalModal" />
|
cmsWidgetName="RecalModal" />
|
||||||
<!-- <contentGroupModal
|
|
||||||
:ref="RECAL_MODAL_REF_NAME"
|
|
||||||
cmsWidgetName="RecalModal" /> -->
|
|
||||||
<cancelClaimModal
|
<cancelClaimModal
|
||||||
:ref="CANCEL_CLAIM_REF_NAME"
|
:ref="CANCEL_CLAIM_REF_NAME"
|
||||||
@cancelClaimConfirmation="cancelClaim"
|
@cancelClaimConfirmation="cancelClaim"
|
||||||
|
|
@ -125,7 +122,6 @@ import buttonMain from '@/ux-components/button-main/button-main.vue';
|
||||||
import siteFooter from '@/iss-components/site-footer/site-footer.vue';
|
import siteFooter from '@/iss-components/site-footer/site-footer.vue';
|
||||||
import afterpayModalBanner from '@/layouts/coverage-statement/afterpay-modal-banner/afterpay-modal-banner.vue';
|
import afterpayModalBanner from '@/layouts/coverage-statement/afterpay-modal-banner/afterpay-modal-banner.vue';
|
||||||
import recalModal from '@/layouts/coverage-statement/recal-modal/recal-modal.vue';
|
import recalModal from '@/layouts/coverage-statement/recal-modal/recal-modal.vue';
|
||||||
// import contentGroupModal from '@/iss-components/content-group-modal/content-group-modal.vue';
|
|
||||||
|
|
||||||
// Import Supporting Files
|
// Import Supporting Files
|
||||||
import {
|
import {
|
||||||
|
|
@ -162,8 +158,7 @@ export default {
|
||||||
siteFooter,
|
siteFooter,
|
||||||
cancelClaimModal,
|
cancelClaimModal,
|
||||||
afterpayModalBanner,
|
afterpayModalBanner,
|
||||||
recalModal,
|
recalModal
|
||||||
// contentGroupModal
|
|
||||||
},
|
},
|
||||||
mixins: [baseFormMixin, vehicleQuestionsMixin],
|
mixins: [baseFormMixin, vehicleQuestionsMixin],
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="recal-modal-container">
|
<div class="recal-modal-container">
|
||||||
<modal
|
<modal
|
||||||
ref="recalModal">
|
ref="recalModal"
|
||||||
|
:footerButtonText="modalCloseButtonText"
|
||||||
|
@footerButtonEvent="footerButtonClick">
|
||||||
<h5
|
<h5
|
||||||
class="header-text"
|
class="header-text"
|
||||||
v-html="modalHeaderText"></h5>
|
v-html="modalHeaderText"></h5>
|
||||||
|
|
@ -9,7 +11,7 @@
|
||||||
:src="modalImage"
|
:src="modalImage"
|
||||||
class="mw-100 d-flex"
|
class="mw-100 d-flex"
|
||||||
alt="" />
|
alt="" />
|
||||||
<div v-html="modalBodyText" class="modal-body"></div>
|
<div v-html="modalBodyText" class="recal-modal-body"></div>
|
||||||
</modal>
|
</modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -34,15 +36,18 @@ export default {
|
||||||
},
|
},
|
||||||
modalImage() {
|
modalImage() {
|
||||||
return this.getCmsContent('RecalModal', 'Image');
|
return this.getCmsContent('RecalModal', 'Image');
|
||||||
|
},
|
||||||
|
modalCloseButtonText() {
|
||||||
|
return this.getCmsContent('RecalModal', 'FooterText');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// openModal() {
|
openModal() {
|
||||||
// this.$refs['RecalModal'].openModal();
|
this.$refs.recalModal.openModal();
|
||||||
// },
|
},
|
||||||
// closeModal() {
|
footerButtonClick() {
|
||||||
// this.$refs['RecalModal'].closeModal();
|
this.$refs.recalModal.closeModal();
|
||||||
// },
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
@ -50,8 +55,34 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
:deep(.modal) {
|
:deep(.modal) {
|
||||||
.modal-body {
|
&.modal-component {
|
||||||
padding-top: 10px;
|
.modal-dialog {
|
||||||
|
.modal-content {
|
||||||
|
.modal-body {
|
||||||
|
padding-left: 1.25rem;
|
||||||
|
padding-right: 1.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.modal-footer {
|
||||||
|
button {
|
||||||
|
&:hover {
|
||||||
|
background-color: $white;
|
||||||
|
color: #167cac;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.recal-modal-body {
|
||||||
|
padding: 10px 0 10px 0;
|
||||||
|
p:first-child {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
strong {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue