Home Page With Element ! (Modular)
Arcadei Project... Inscription
This commit is contained in:
22
src/components/CMyPageIntro/CMyPageIntro.vue
Executable file
22
src/components/CMyPageIntro/CMyPageIntro.vue
Executable file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div>
|
||||
<div v-if="mypath && !!rec">
|
||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||
<div v-if="!!rec.img1" class="text-center">
|
||||
<q-btn v-if="link" @click="openclick">
|
||||
<q-img :src="rec.img1" :height="maxheightimg + `px`" :width="maxwidthimg + `px`" fit="fill"></q-img>
|
||||
</q-btn>
|
||||
<q-img v-else :src="rec.img1" :height="maxheightimg + `px`" :width="maxwidthimg + `px`" fit="fill" @click="openclick"></q-img>
|
||||
</div>
|
||||
|
||||
<div v-if="!!rec.content" v-html="rec.content"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./CMyPageIntro.ts">
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './CMyPageIntro.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user