CASH-1048 quote page updates.

This commit is contained in:
Bryan Mauger 2025-07-30 15:06:15 -04:00
parent fedd43f54e
commit 3e4f14b410
7 changed files with 32 additions and 23 deletions

View file

@ -218,14 +218,17 @@ export default {
&.has-subheader {
& > .package-specs {
& > div:first-of-type {
display: flex;
display: inline-flex;
@include media-breakpoint-up(md) {
& > div:first-of-type {
display: flex;
}
}
}
}
&.has-package-discount {
min-height: 150px;
min-height: 170px;
}
&:before {
@ -267,10 +270,6 @@ export default {
+ .package-label {
.package-specs {
max-height: 1000px;
.sub-label {
background-color: $green-200;
}
}
}
+ .package-label {
@ -281,11 +280,10 @@ export default {
}
}
+ .package-label {
background-color: $blue-100;
border: 1px solid $blue;
max-height: 500px;
.special-save-box {
background-color: $green-200;
background-color: $green-100;
}
}
+ .package-label {
@ -336,12 +334,16 @@ export default {
&.sub-label {
color: $green;
background-color: $green-100;
padding: 0.25rem 0.5rem;
border-radius: 0.75rem;
padding: 0.25rem 0;
text-transform: uppercase;
font-size: 0.75rem;
margin-left: auto;
@include media-breakpoint-up(md) {
background-color: $green-100;
padding: 0.25rem 0.5rem;
border-radius: 0.75rem;
}
}
}
span {
@ -429,14 +431,17 @@ export default {
background-color: $green-100;
display: flex;
flex-direction: row;
margin: 0.5rem auto 1rem -1.25rem;
padding: 0.5rem 1rem;
margin: 0.25rem auto 0 -1.25rem;
padding: 0.25rem 1rem;
border-radius: 0.25rem;
span {
color: $green;
font-size: 0.875rem;
font-weight: 600;
}
@include media-breakpoint-up(md) {
margin: 1rem auto 0 -1.25rem;
}
}
.pricing-info {
color: $green;
@ -447,6 +452,7 @@ export default {
margin-left: 1.25rem;
font-weight: 600;
line-height: 20px;
font-size: 1.25rem;
span.strikethrough-price {
text-decoration: line-through;

View file

@ -318,7 +318,6 @@ export default {
}
}
+ .package-label {
background-color: $blue-100;
border: 1px solid $blue;
max-height: 500px;
.special-save-box {

View file

@ -14,7 +14,7 @@
<buttonMain
ref="buttonMain"
isPrimary
:buttonText="buttonText"
:buttonText="overrideButtonText || buttonText"
loaderColor="white"
:class="isForwardActionDisabled && 'form-test-invalid'"
:aria-disabled="isForwardActionDisabled"
@ -56,6 +56,7 @@ export default {
cmsWidgetName: String,
buttonSize: { type: Boolean, default: false },
isSubmitHidden: { type: Boolean, default: false },
overrideButtonText: String,
},
components: {
textLink,

View file

@ -44,7 +44,7 @@
</transition>
<transition name="fade" mode="out-in">
<div class="row mb-4" aria-live="polite">
<div class="col">
<div class="col-8">
<dropdownQuestion
customDropdownId="state"
cmsWidgetName="StateQuestionWidget"
@ -56,7 +56,7 @@
:labelBold="labelBold"
:isDisabled="this.isStateDisabled" />
</div>
<div class="col">
<div class="col-4">
<textboxQuestion
customInputId="zipCode"
cmsWidgetName="ZipQuestionWidget"

View file

@ -4,7 +4,7 @@
<funnelHeader cmsWidgetName="FunnelHeaderWidget" ref="funnelHeader" />
<div class="container quote position-relative">
<div class="row justify-content-center">
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
<div class="col-12">
<funnelSubHeader class="mb-5" cmsWidgetName="FunnelSubHeaderWidget" />
</div>
</div>
@ -78,7 +78,8 @@
:isForwardActionDisabled="!meta.valid"
:isBackButtonHidden="shouldHideBackButton"
@back-clicked="backButtonAction"
@ForwardClicked="forwardButtonAction" />
@ForwardClicked="forwardButtonAction"
:overrideButtonText="isInsuranceSelected ? isInsuranceContinueButtonText : ''" />
<saveProgressModalQuestion
modalWidgetName="SaveProgressModalWidget"
@ -567,6 +568,9 @@ export default {
this.$refs?.servicePackage?.savePackageInfoToPageData?.();
},
computed: {
isInsuranceContinueButtonText() {
return this.getCmsContent("isInsuranceContinueButtonText", "Text");
},
lineItemsCloneForWatcher() {
return Object.assign({}, this.lineItems);
},
@ -616,7 +620,7 @@ export default {
methods: {
getColCount() {
if (this.packageNumber > 2) {
return "col-xl-10";
return "col-xl-12";
} else {
return "col-xl-6";
}

View file

@ -246,7 +246,6 @@ export default {
}
}
+ .package-label {
background-color: $blue-100;
border: 1px solid $blue;
max-height: 500px;
.special-save-box {

View file

@ -135,7 +135,7 @@ export default {
outline: none;
box-shadow: none;
color: $white;
background: linear-gradient(84.45deg, #125b7e 0%, #3b8fb8 100%);
background: $blue;
border-radius: 0.5rem;
z-index: 2;
}