tracker#309

This commit is contained in:
rakesh 2023-07-10 11:39:04 +05:30
parent 2f48c35a6f
commit 6224ded42f
2 changed files with 18 additions and 27 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,23 +1,9 @@
<template> <template>
<v-footer class="py-sm-0 px-sm-0 pb-0 px-0 my-4" > <v-footer class="py-sm-0 px-sm-0 pb-0 px-0 my-4" >
<v-row>
<v-col
class="footer-background-color "
cols="12"
md="12"
sm="12"
lg="12"
xl="12"
>
<v-container class="text-center"> <v-container class="text-center">
<div class="pt-2" v-html="customerService"></div> <div v-html="retailerPage && retailerPage.content"></div>
<div class="pt-2" v-html="stayInTouch"></div>
<div class="pt-2" v-html="copyrightString"></div>
</v-container> </v-container>
</v-col>
</v-row>
</v-footer> </v-footer>
</template> </template>
@ -25,14 +11,19 @@
<script> <script>
export default { export default {
name: "FooterComponent", name: "FooterComponent",
data() { computed: {
return { retailerPage: function () {
customerService: let data = null;
"<div class='fontsize-16 title-color-black whyte-book-font' >Retail Customer Service <a href='tel:1-877-478-4849' class=' fontsize-16 text-decoration-none title-color-black whyte-book-font'> 1-877-478-4849 </a></div>", let blockContent = this.$store.state.layout.cmsBlockContent;
stayInTouch: if (blockContent.length) {
" <a href='mailto:retailerportal@crane.com' class=' fontsize-16 text-decoration-none title-color-black whyte-book-font'> FEEDBACK OR QUESTIONS? </a> ", data = blockContent.filter((element) => {
copyrightString: "<div class='fontsize-16 title-color-black whyte-book-font' >© 2021 Crane Stationery</div>", return element.identifier === "retailer-footer-block";
}; })[0];
}
return data;
},
}, },
}; };
</script> </script>