This commit is contained in:
Viet An
2026-06-26 14:47:49 +07:00
parent 1262dc6d82
commit 6ff4112d66
96 changed files with 348 additions and 2936 deletions

View File

@@ -9,13 +9,19 @@
class="mr-1"
@click="previousYear()"
>
<SvgIcon v-bind="{ name: 'doubleleft.svg', type: 'gray', size: 18 }"></SvgIcon>
<Icon
name="ic:baseline-keyboard-double-arrow-left"
:size="24"
/>
</a>
<a
@click="previousMonth()"
v-if="type === 'days'"
>
<SvgIcon v-bind="{ name: 'left1.svg', type: 'gray', size: 18 }"></SvgIcon>
<Icon
name="ic:baseline-keyboard-arrow-left"
:size="24"
/>
</a>
</div>
<div class="control is-expanded has-text-centered">
@@ -40,10 +46,16 @@
@click="nextMonth()"
v-if="type === 'days'"
>
<SvgIcon v-bind="{ name: 'right.svg', type: 'gray', size: 18 }"></SvgIcon>
<Icon
name="ic:baseline-keyboard-arrow-right"
:size="24"
/>
</a>
<a @click="nextYear()">
<SvgIcon v-bind="{ name: 'doubleright.svg', type: 'gray', size: 18 }"></SvgIcon>
<Icon
name="ic:baseline-keyboard-double-arrow-right"
:size="24"
/>
</a>
</div>
</div>
@@ -63,16 +75,15 @@
:key="i"
>
<div
class="column px-3 fs-14"
v-for="(m, h) in v.dates"
:key="h"
style="padding-top: 1px; padding-bottom: 1px"
class="column p-0.5 fs-14"
>
<a v-if="m.event && m.currentMonth === m.mothCondition">
<Tooltip v-bind="{ html: m.event.html, tooltip: m.event.tooltip }"></Tooltip>
</a>
<span
class="has-background-findata has-text-white px-1 py-1"
class="has-background-primary-soft p-1"
v-else-if="m.date === today"
>{{ m.dayPrint }}</span
>