final updates
This commit is contained in:
parent
299985afef
commit
ac498f17bc
2 changed files with 4 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="afterpay-modal-banner" role="alert">
|
<div class="afterpay-modal-banner" role="alert">
|
||||||
<component
|
<component
|
||||||
:is="'script'">
|
|
||||||
src="https://js.squarecdn.com/square-marketplace.js"
|
src="https://js.squarecdn.com/square-marketplace.js"
|
||||||
async>
|
async
|
||||||
|
:is="'script'">
|
||||||
</component>
|
</component>
|
||||||
<div class="afterpay-content">
|
<div class="afterpay-content">
|
||||||
<span class="afterpay-copy" v-html="afterpayCopy"></span>
|
<span class="afterpay-copy" v-html="afterpayCopy"></span>
|
||||||
|
|
@ -121,6 +121,7 @@ export default {
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
color: $blue-700;
|
color: $blue-700;
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
|
line-height: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-and-link {
|
.image-and-link {
|
||||||
|
|
|
||||||
|
|
@ -345,8 +345,7 @@ export default {
|
||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
displayAfterpayBanner() {
|
displayAfterpayBanner() {
|
||||||
return true;
|
return this.isITACQuoteVisible || this.isNoCompQuoteVisible || (this.isDeductibleVisible && this.deductibleValue > 0);
|
||||||
// return (this.isITACQuoteVisible || this.isNoCompQuoteVisible) && this.totalServicePrice > 0;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue