fix Registrazione data
fix linkref fix controllo login fix pagination CGridTableRec added CstatusReg e Cstatus
This commit is contained in:
0
src/components/CMyInnerPage/CMyInnerPage.scss
Normal file
0
src/components/CMyInnerPage/CMyInnerPage.scss
Normal file
42
src/components/CMyInnerPage/CMyInnerPage.ts
Normal file
42
src/components/CMyInnerPage/CMyInnerPage.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
import Vue from 'vue'
|
||||
import { Component, Prop, Watch } from 'vue-property-decorator'
|
||||
import { GlobalStore, UserStore } from '@store'
|
||||
|
||||
import { tools } from '../../store/Modules/tools'
|
||||
import { toolsext } from '../../store/Modules/toolsext'
|
||||
import { static_data } from '../../db/static_data'
|
||||
import { Screen } from 'quasar'
|
||||
|
||||
import { colmypage } from '@src/store/Modules/fieldsTable'
|
||||
|
||||
import { CImgText } from '../../components/CImgText/index'
|
||||
import { CCard, CGridTableRec, CMyPage, CTitleBanner } from '@components'
|
||||
import MixinMetaTags from '../../mixins/mixin-metatags'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
import { IMyPage } from '@src/model/GlobalStore'
|
||||
|
||||
@Component({
|
||||
name: 'CMyInnerPage',
|
||||
mixins: [MixinBase],
|
||||
components: { CImgText, CCard, CMyPage, CTitleBanner }
|
||||
})
|
||||
export default class CMyInnerPage extends MixinMetaTags {
|
||||
@Prop({ required: true }) public path: string
|
||||
public heightimg
|
||||
public imgback
|
||||
public rec: IMyPage = {}
|
||||
|
||||
public mounted() {
|
||||
// console.log('this.$route.path', this.$route.path)
|
||||
this.rec = GlobalStore.getters.getPage(this.path)
|
||||
console.log(this.rec)
|
||||
}
|
||||
|
||||
public meta() {
|
||||
return tools.metafunc(this)
|
||||
}
|
||||
|
||||
get static_data() {
|
||||
return static_data
|
||||
}
|
||||
}
|
||||
22
src/components/CMyInnerPage/CMyInnerPage.vue
Normal file
22
src/components/CMyInnerPage/CMyInnerPage.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div>
|
||||
<div v-if="rec">
|
||||
<!--<CMyPage :title="rec.title" :imgbackground="`statics/` + rec.imgback" :sizes="`max-height: ` + rec.heightimg + `px`">-->
|
||||
|
||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||
<div v-if="rec.content" v-html="rec.content">
|
||||
</div>
|
||||
</div>
|
||||
<!--</CMyPage>-->
|
||||
</div>
|
||||
<div v-else>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" src="./CMyInnerPage.ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import 'CMyInnerPage.scss';
|
||||
</style>
|
||||
1
src/components/CMyInnerPage/index.ts
Normal file
1
src/components/CMyInnerPage/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {default as CMyInnerPage} from './CMyInnerPage.vue'
|
||||
Reference in New Issue
Block a user