Aggiornamento cataloghi...
This commit is contained in:
@@ -1,29 +1,45 @@
|
||||
<template>
|
||||
<div class="q-gutter-y-xs column" style="min-width: 100px">
|
||||
<div
|
||||
class="q-gutter-y-xs column"
|
||||
style="min-width: 100px"
|
||||
>
|
||||
<q-field
|
||||
:label="label ? label : undefined"
|
||||
:stack-label="!!label"
|
||||
outlined
|
||||
:dense="dense"
|
||||
color="blue-6"
|
||||
>
|
||||
<template
|
||||
v-if="copy"
|
||||
v-slot:prepend
|
||||
>
|
||||
|
||||
<template v-if="copy" v-slot:prepend>
|
||||
<q-btn round dense flat icon="far fa-copy" @click="copytoclip"/>
|
||||
<q-btn
|
||||
round
|
||||
dense
|
||||
flat
|
||||
icon="far fa-copy"
|
||||
@click="copytoclip"
|
||||
/>
|
||||
</template>
|
||||
<template v-slot:control>
|
||||
<div class="self-center full-width no-outline" tabindex="0">
|
||||
<span :class="class_text" :style="`color: ` + color " v-html="value"></span>
|
||||
<div
|
||||
class="self-center full-width no-outline"
|
||||
tabindex="0"
|
||||
>
|
||||
<span
|
||||
:class="class_text"
|
||||
:style="`color: ` + color"
|
||||
v-html="value"
|
||||
></span>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
</q-field>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./CLabel.ts">
|
||||
</script>
|
||||
<script lang="ts" src="./CLabel.ts"></script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './CLabel.scss';
|
||||
|
||||
Reference in New Issue
Block a user