diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index ca784edd4..2ab6e1152 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -53,7 +53,7 @@ linkType="text" :text="recycleFeeCartItem.name" href="#!" - @click-event="openModal(recyclingModal)" /> + @click-event="openModal(recyclingModalCmsWidgetName)" /> {{ currencyFormatter.format(recycleFeeCartItem.subTotal) }}
@@ -95,6 +95,9 @@
+ + + @@ -102,6 +105,7 @@ // Components import textLink from "@/ux-components/text-link/text-link"; import textBlock from "@/digital-components/text-block/text-block"; +import contentGroupModal from "@/fmg-components/content-group-modal/content-group-modal"; // Mixins import baseMixin from "@/mixins/base-mixin.js"; @@ -122,6 +126,7 @@ export default { damage: Object, servicePackageOptionsCmsName: String, availableLineItems: Object, + recyclingModalCmsWidgetName: String, }, data() { return { @@ -135,6 +140,9 @@ export default { }; }, methods: { + openModal(modalName) { + this.$refs[modalName].openModal(); + }, toggleClass: function (event) { this.isActive = !this.isActive; }, @@ -668,6 +676,7 @@ export default { components: { textBlock, textLink, + contentGroupModal, }, }; @@ -678,6 +687,12 @@ export default { border-bottom: 1px solid $gray-500; color: $black; } + .modal-body { + h5 { + text-align: center; + border-bottom: none; + } + } .border-bottom { color: $gray; } @@ -751,6 +766,7 @@ export default { } a { order: 3; + margin-right: 100%; } } } diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index 9a788bd70..c5cd1a77f 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -1,7 +1,7 @@