First Committ

This commit is contained in:
Paolo Arena
2021-08-31 18:09:59 +02:00
commit 1d6c55807c
299 changed files with 55382 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
import {
defineComponent, onBeforeMount, onBeforeUnmount, onMounted, ref, toRef, toRefs, watch,
} from 'vue'
import { tools } from '@src/store/Modules/tools'
export default defineComponent({
name: 'CImgText',
props: {
src: {
type: String,
default: '',
},
src2: {
type: String,
default: '',
},
class1: {
type: String,
default: 'myclimg',
},
style1: {
type: String,
default: '',
},
alt1: {
type: String,
default: 'image',
},
alt2: {
type: String,
default: 'image',
},
},
setup() {
function clrowcol() {
let mycl = 'row'
if (tools.isMobile()) mycl = 'column'
return mycl
}
function myclass() {
return `${clrowcol()} items-start q-col-gutter-xs imgtext `
}
return {
clrowcol,
myclass,
}
},
})