2022-02-12 17:02:10 +01:00
|
|
|
<template>
|
2022-02-19 22:02:54 +01:00
|
|
|
<div v-if="numcol === 3" class="col-xs-4 col-sm-4 col-md-3 col-lg-2">
|
2022-02-24 19:13:06 +01:00
|
|
|
<div class="q-ma-sm">
|
2022-06-16 20:34:17 +02:00
|
|
|
<q-btn v-if="!small" :flat="flat" class="mybox_3" :color="color" rounded push :to="to" v-bind="$attrs" :style="tools.getbackgroundGradient(color, 180)">
|
2022-02-19 22:02:54 +01:00
|
|
|
<q-icon class="q-ma-sm" :name="icon"/>
|
2022-02-24 19:13:06 +01:00
|
|
|
<div class="q-ma-sm my-text_3 text-cls no-wrap"><span v-html="label"></span></div>
|
2022-02-19 22:02:54 +01:00
|
|
|
</q-btn>
|
2022-06-16 20:34:17 +02:00
|
|
|
<q-btn v-if="small" :flat="flat" class="mybox_small" :color="color" rounded push :to="to" v-bind="$attrs" :style="tools.getbackgroundGradient(color, 180)">
|
2022-02-24 19:13:06 +01:00
|
|
|
<q-icon class="q-ma-sm" :name="icon" size="sm"/>
|
|
|
|
|
<div class="q-ma-xs my-text-small text-cls no-wrap"><span v-html="label"></span></div>
|
2022-02-19 22:02:54 +01:00
|
|
|
</q-btn>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else class="col-xs-6 col-sm-6 col-md-4 col-lg-3">
|
2022-02-12 17:02:10 +01:00
|
|
|
<div class="q-ma-sm">
|
2022-06-16 20:34:17 +02:00
|
|
|
<q-btn v-if="!small" :flat="flat" class="mybox" :color="color" rounded push :to="to" v-bind="$attrs" :style="tools.getbackgroundGradient(color, 0)">
|
2022-02-24 19:13:06 +01:00
|
|
|
<q-icon class="q-ma-sm" size="3rem" :name="icon"/>
|
2022-09-11 11:45:13 +02:00
|
|
|
<div class="q-ma-sm text-h5-diff text-cls no-wrap"><span v-html="label"></span></div>
|
2022-02-12 17:02:10 +01:00
|
|
|
</q-btn>
|
2022-06-16 20:34:17 +02:00
|
|
|
<q-btn v-if="small" :flat="flat" class="mybox_small" :color="color" rounded push :to="to" v-bind="$attrs" :style="tools.getbackgroundGradient(color, 0)">
|
2022-02-24 19:13:06 +01:00
|
|
|
<q-icon class="q-ma-sm" :name="icon" size="sm"/>
|
|
|
|
|
<div class="q-ma-xs my-text-small text-cls no-wrap"><span v-html="label"></span></div>
|
2022-02-19 22:02:54 +01:00
|
|
|
</q-btn>
|
2022-02-12 17:02:10 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" src="./CBigBtn.ts">
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
@import './CBigBtn.scss';
|
|
|
|
|
</style>
|