ver 0.5.51
This commit is contained in:
30
src/components/CTitleSec/CTitleSec.vue
Executable file
30
src/components/CTitleSec/CTitleSec.vue
Executable file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div>
|
||||
<q-banner
|
||||
inline-actions
|
||||
rounded
|
||||
dense
|
||||
:class="bgcolor + ` cursor-pointer q-my-sm ` + clcolor + ` `"
|
||||
style="text-align: center"
|
||||
>
|
||||
<template v-slot:avatar>
|
||||
<q-icon v-if="icon" :name="icon" color="white" />
|
||||
</template>
|
||||
<span :class="`mybanner `">{{
|
||||
title
|
||||
}}</span>
|
||||
</q-banner>
|
||||
|
||||
<q-slide-transition>
|
||||
<div>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</q-slide-transition>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./CTitleSec.ts">
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './CTitleSec.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user