1
This commit is contained in:
commit
0b636a9ea1
113 files changed
+16922
No files matched your search
@@ -0,0 +1,97 @@
|
||||
<template>
|
||||
<v-card class="d-flex ml-3">
|
||||
<v-sheet
|
||||
class="mx-auto"
|
||||
elevation="0"
|
||||
max-width="690"
|
||||
|
||||
>
|
||||
<v-slide-group
|
||||
v-model="model"
|
||||
class="pa-0"
|
||||
selected-class="bg-primary"
|
||||
mandatory
|
||||
show-arrows
|
||||
|
||||
>
|
||||
|
||||
<v-slide-group-item
|
||||
v-for="n in digitalData"
|
||||
:key="n"
|
||||
|
||||
>
|
||||
|
||||
|
||||
<v-card
|
||||
|
||||
class="ma-2 mt-4 d-flex flex-column"
|
||||
height="160"
|
||||
width="179"
|
||||
elevation="0"
|
||||
|
||||
>
|
||||
<v-img
|
||||
height="200"
|
||||
:src="`${burl}${n.img}`"
|
||||
cover
|
||||
class="text-white"
|
||||
>
|
||||
<v-card class="h-100 text-center g text-numeral">
|
||||
<v-card-title class="statstyle my-2 py-0 text-overline font-weight-bold">
|
||||
{{n.status}}
|
||||
</v-card-title>
|
||||
<v-card-text class="numstyle mt-4 py-0 font-weight-bold">
|
||||
{{n.num}}
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
|
||||
</v-img>
|
||||
</v-card>
|
||||
|
||||
|
||||
</v-slide-group-item>
|
||||
</v-slide-group>
|
||||
</v-sheet>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
import { baseURL } from '@/utils/axios-api'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
digitalData: {
|
||||
type: Object,
|
||||
default: {}
|
||||
}
|
||||
},
|
||||
|
||||
setup() {
|
||||
const burl = baseURL.slice(0,-1)
|
||||
const model = ref(false)
|
||||
|
||||
|
||||
return {model, burl}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.numstyle {
|
||||
font-size: 3.875rem!important;
|
||||
line-height: 5.25rem!important;
|
||||
font-family: cursive !important;
|
||||
background: #ffffffb0;
|
||||
}
|
||||
|
||||
.statstyle {
|
||||
background: #ffffffb0;
|
||||
font-size: 1rem!important;
|
||||
}
|
||||
|
||||
.g {
|
||||
/* background-color: rgb(240 248 255 / 35%);; */
|
||||
background-color: rgb(255 255 255);;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user