Animations, Policy, Toolbar Colors

This commit is contained in:
Surya Paolo
2022-11-23 10:27:36 +01:00
parent 358bdd5d1e
commit 46bf74e9e2
48 changed files with 1852 additions and 630 deletions

View File

@@ -1,7 +1,8 @@
import { defineComponent, ref } from 'vue'
import { defineComponent, PropType, ref } from 'vue'
import { tools } from '@src/store/Modules/tools'
import { shared_consts } from '@src/common/shared_vuejs'
import { IAnim } from '@src/model'
export default defineComponent({
name: 'CImgPoster',
@@ -46,15 +47,19 @@ export default defineComponent({
required: false,
default: 1
},
class_anim: {
type: String,
anim: {
type: Object as PropType<IAnim>,
required: false,
default: ''
default: () => {
return { name: '', clduration: '', cldelay: '' }
},
},
class_anim2: {
type: String,
anim2: {
type: Object as PropType<IAnim>,
required: false,
default: ''
default: () => {
return { name: '', clduration: '', cldelay: '' }
},
},
logo: String,
logoheight: String,

View File

@@ -23,12 +23,15 @@
: undefined
"
/>
<div :class="classTitle + ` ` + class_anim" :style="` color:` + colorTitle">
<div
:class="classTitle + ` ` + tools.getClassAnim(anim)"
:style="` color:` + colorTitle"
>
{{ title }}
</div>
<div
v-if="legendinside"
:class="classSubtitle + ` ` + class_anim2"
:class="classSubtitle + ` ` + tools.getClassAnim(anim2)"
:style="` color:` + colorSubtitle"
v-html="legendinside"
></div>