Created service-type-question component
This commit is contained in:
parent
762f0e5aa0
commit
eea249d3c2
2 changed files with 14 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<transition name="fade" mode="out-in">
|
<transition name="fade" mode="out-in">
|
||||||
<div class="service-type-question" v-if="isAvailable" aria-live="polite">
|
<div class="service-type-question" aria-live="polite">
|
||||||
<buttonQuestion
|
<buttonQuestion
|
||||||
:questionText="questionText"
|
:questionText="questionText"
|
||||||
:answers="answersFromCms"
|
:answers="answersFromCms"
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
import buttonQuestion from "@/digital-components/button-question/button-question";
|
import buttonQuestion from "@/digital-components/button-question/button-question";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "windshieldDamageTypeQuestion",
|
name: "service-type-question",
|
||||||
props: {
|
props: {
|
||||||
modelValue: String,
|
modelValue: String,
|
||||||
groupName: String,
|
groupName: String,
|
||||||
|
|
@ -26,6 +26,10 @@ export default {
|
||||||
suppressError: Boolean,
|
suppressError: Boolean,
|
||||||
validationRules: String,
|
validationRules: String,
|
||||||
cmsWidgetName: String,
|
cmsWidgetName: String,
|
||||||
|
isGlassServiceableMobile: Boolean,
|
||||||
|
isGlassServiceableInShop: Boolean,
|
||||||
|
isRecalibrationServiceableInShop: Boolean,
|
||||||
|
isRecalibrationServiceableMobile: Boolean
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
questionText() {
|
questionText() {
|
||||||
|
|
@ -48,3 +52,10 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.list-card img {
|
||||||
|
height: auto;
|
||||||
|
width: 3.417rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
Reference in a new issue