CASH-1042 WIP confirmation page changes.
This commit is contained in:
parent
4b3572ec07
commit
113ab742ed
3 changed files with 27 additions and 52 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
<div
|
<div
|
||||||
v-if="!isBackButtonHidden"
|
v-if="!isBackButtonHidden"
|
||||||
class="col-auto link-col py-1 text-break"
|
class="col-auto link-col py-1 text-break"
|
||||||
:class="[buttonSize ? 'back-centered-below mt-5' : '']">
|
:class="[buttonSize ? 'mt-5' : '']">
|
||||||
<textLink
|
<textLink
|
||||||
linkType="navigation"
|
linkType="navigation"
|
||||||
:text="backLink"
|
:text="backLink"
|
||||||
|
|
@ -134,11 +134,6 @@ export default {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-centered-below {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 340px) {
|
@media only screen and (min-width: 340px) {
|
||||||
.col,
|
.col,
|
||||||
.col-auto,
|
.col-auto,
|
||||||
|
|
@ -147,11 +142,6 @@ export default {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-centered-below {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,17 @@
|
||||||
<template>
|
<template>
|
||||||
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm">
|
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm">
|
||||||
<div class="page-container-grouped-styles position-relative">
|
<loadingModal notFullScreen ref="loadingModal" />
|
||||||
<div>
|
<funnelHeader cmsWidgetName="FunnelHeaderWidget" ref="funnelHeader" />
|
||||||
<div class="container-fluid pb-2">
|
<div class="container page-container-grouped-styles">
|
||||||
<div class="row justify-content-center">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
|
||||||
<funnelHeader
|
|
||||||
cmsWidgetName="FunnelHeaderWidget"
|
|
||||||
ref="funnelHeader"
|
|
||||||
hideSalesforceWebchatLaunchButton />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row justify-content-center">
|
|
||||||
<div class="col-md-6 col-xl-4">
|
|
||||||
<div class="header-container">
|
<div class="header-container">
|
||||||
<img :src="ScheduleConfirmationImage" />
|
<img :src="ScheduleConfirmationImage" />
|
||||||
<span v-html="ScheduleConfirmationText"></span>
|
<span v-html="ScheduleConfirmationText"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="emailtext mb-5" v-html="ConfirmationEmailText"></div>
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div></div>
|
<div></div>
|
||||||
|
|
||||||
|
|
@ -48,7 +43,18 @@
|
||||||
class="duration-text-block" />
|
class="duration-text-block" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="mt-4 mb-0" />
|
<div class="mt-3" v-if="shouldDisplayFosterLove">
|
||||||
|
<donationBlock
|
||||||
|
cmsWidgetName="DonationWidget"
|
||||||
|
v-model="donationAmount"
|
||||||
|
:donationValues="donationValues"
|
||||||
|
:showDonationSuccess="showDonationSuccess"
|
||||||
|
:showDonationError="showDonationError"
|
||||||
|
@DonationAddedEvent="addDonationToOrder"
|
||||||
|
ref="donationBlock" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr class="mt-5 mb-0" />
|
||||||
|
|
||||||
<cart
|
<cart
|
||||||
v-if="ShowCart"
|
v-if="ShowCart"
|
||||||
|
|
@ -69,38 +75,15 @@
|
||||||
:isNoComp="isNoComp"
|
:isNoComp="isNoComp"
|
||||||
:isMSRFeeApplicable="isMSRFeeApplicable" />
|
:isMSRFeeApplicable="isMSRFeeApplicable" />
|
||||||
|
|
||||||
<div class="mt-3" v-if="shouldDisplayFosterLove">
|
<hr class="mt-4 mb-5" />
|
||||||
<donationBlock
|
|
||||||
cmsWidgetName="DonationWidget"
|
|
||||||
v-model="donationAmount"
|
|
||||||
:donationValues="donationValues"
|
|
||||||
:showDonationSuccess="showDonationSuccess"
|
|
||||||
:showDonationError="showDonationError"
|
|
||||||
@DonationAddedEvent="addDonationToOrder"
|
|
||||||
ref="donationBlock" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="mb-5" />
|
|
||||||
|
|
||||||
<div class="emailtext" v-html="ConfirmationEmailText"></div>
|
|
||||||
|
|
||||||
<navbar
|
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
|
||||||
ref="navbar"
|
|
||||||
isBackButtonHidden="true"
|
|
||||||
@ForwardClicked="forwardButtonAction"
|
|
||||||
:buttonSize="true" />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Form>
|
</Form>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
// Components
|
// Components
|
||||||
import funnelHeader from "@/fmg-components/funnel-header/funnel-header";
|
import funnelHeader from "@/fmg-components/funnel-header/funnel-header";
|
||||||
import navbar from "@/fmg-components/nav-bar/nav-bar";
|
|
||||||
import addToCalendar from "@/layouts/confirmation/add-to-calendar/add-to-calendar";
|
import addToCalendar from "@/layouts/confirmation/add-to-calendar/add-to-calendar";
|
||||||
import cart from "@/fmg-components/cart/cart";
|
import cart from "@/fmg-components/cart/cart";
|
||||||
import textBlock from "@/digital-components/text-block/text-block";
|
import textBlock from "@/digital-components/text-block/text-block";
|
||||||
|
|
@ -591,7 +574,6 @@ export default {
|
||||||
components: {
|
components: {
|
||||||
funnelHeader,
|
funnelHeader,
|
||||||
Form,
|
Form,
|
||||||
navbar,
|
|
||||||
addToCalendar,
|
addToCalendar,
|
||||||
cart,
|
cart,
|
||||||
textBlock,
|
textBlock,
|
||||||
|
|
@ -627,8 +609,8 @@ export default {
|
||||||
.header-container {
|
.header-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
padding: 1.5rem 0;
|
padding: 1.5rem 0 .5rem 0;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,9 @@ export default {
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
.vin-toggle {
|
.vin-toggle {
|
||||||
|
display: inline-flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
&:after {
|
&:after {
|
||||||
content: "";
|
content: "";
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue