mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 09:44:26 +08:00
modify style
This commit is contained in:
@@ -14,11 +14,11 @@
|
|||||||
:title="tt('Set All to Included')"
|
:title="tt('Set All to Included')"
|
||||||
:disabled="!hasAnyVisibleTag"
|
:disabled="!hasAnyVisibleTag"
|
||||||
@click="setAllToState(false, TransactionTagFilterState.Include)"></v-list-item>
|
@click="setAllToState(false, TransactionTagFilterState.Include)"></v-list-item>
|
||||||
<v-list-item :prepend-icon="mdiSelect"
|
<v-list-item :prepend-icon="mdiSelectAll"
|
||||||
:title="tt('Set All to Default')"
|
:title="tt('Set All to Default')"
|
||||||
:disabled="!hasAnyVisibleTag"
|
:disabled="!hasAnyVisibleTag"
|
||||||
@click="setAllToState(false, TransactionTagFilterState.Default)"></v-list-item>
|
@click="setAllToState(false, TransactionTagFilterState.Default)"></v-list-item>
|
||||||
<v-list-item :prepend-icon="mdiSelectInverse"
|
<v-list-item :prepend-icon="mdiSelectAll"
|
||||||
:title="tt('Set All to Excluded')"
|
:title="tt('Set All to Excluded')"
|
||||||
:disabled="!hasAnyVisibleTag"
|
:disabled="!hasAnyVisibleTag"
|
||||||
@click="setAllToState(false, TransactionTagFilterState.Exclude)"></v-list-item>
|
@click="setAllToState(false, TransactionTagFilterState.Exclude)"></v-list-item>
|
||||||
@@ -58,11 +58,11 @@
|
|||||||
:title="tt('Set All to Included')"
|
:title="tt('Set All to Included')"
|
||||||
:disabled="!hasAnyVisibleTag"
|
:disabled="!hasAnyVisibleTag"
|
||||||
@click="setAllToState(false, TransactionTagFilterState.Include)"></v-list-item>
|
@click="setAllToState(false, TransactionTagFilterState.Include)"></v-list-item>
|
||||||
<v-list-item :prepend-icon="mdiSelect"
|
<v-list-item :prepend-icon="mdiSelectAll"
|
||||||
:title="tt('Set All to Default')"
|
:title="tt('Set All to Default')"
|
||||||
:disabled="!hasAnyVisibleTag"
|
:disabled="!hasAnyVisibleTag"
|
||||||
@click="setAllToState(false, TransactionTagFilterState.Default)"></v-list-item>
|
@click="setAllToState(false, TransactionTagFilterState.Default)"></v-list-item>
|
||||||
<v-list-item :prepend-icon="mdiSelectInverse"
|
<v-list-item :prepend-icon="mdiSelectAll"
|
||||||
:title="tt('Set All to Excluded')"
|
:title="tt('Set All to Excluded')"
|
||||||
:disabled="!hasAnyVisibleTag"
|
:disabled="!hasAnyVisibleTag"
|
||||||
@click="setAllToState(false, TransactionTagFilterState.Exclude)"></v-list-item>
|
@click="setAllToState(false, TransactionTagFilterState.Exclude)"></v-list-item>
|
||||||
@@ -188,8 +188,6 @@ import type { TransactionTag } from '@/models/transaction_tag.ts';
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
mdiSelectAll,
|
mdiSelectAll,
|
||||||
mdiSelect,
|
|
||||||
mdiSelectInverse,
|
|
||||||
mdiEyeOutline,
|
mdiEyeOutline,
|
||||||
mdiEyeOffOutline,
|
mdiEyeOffOutline,
|
||||||
mdiDotsVertical,
|
mdiDotsVertical,
|
||||||
|
|||||||
@@ -40,27 +40,25 @@
|
|||||||
</f7-list>
|
</f7-list>
|
||||||
|
|
||||||
<f7-block class="combination-list-wrapper margin-vertical" key="default" v-show="!loading && hasAnyVisibleTag">
|
<f7-block class="combination-list-wrapper margin-vertical" key="default" v-show="!loading && hasAnyVisibleTag">
|
||||||
<f7-list class="margin-top-half margin-bottom" strong inset dividers>
|
<f7-list class="margin-top-half margin-bottom" strong inset dividers v-if="includeTagsCount > 1">
|
||||||
<f7-list-item radio
|
<f7-list-item radio
|
||||||
:title="tt(filterType.name)"
|
:title="tt(filterType.name)"
|
||||||
:key="filterType.type"
|
:key="filterType.type"
|
||||||
:value="filterType.type"
|
:value="filterType.type"
|
||||||
:checked="includeTagFilterType === filterType.type"
|
:checked="includeTagFilterType === filterType.type"
|
||||||
v-for="filterType in [TransactionTagFilterType.HasAny, TransactionTagFilterType.HasAll]"
|
v-for="filterType in [TransactionTagFilterType.HasAny, TransactionTagFilterType.HasAll]"
|
||||||
@change="includeTagFilterType = filterType.type"
|
@change="includeTagFilterType = filterType.type">
|
||||||
v-if="includeTagsCount > 1">
|
|
||||||
</f7-list-item>
|
</f7-list-item>
|
||||||
</f7-list>
|
</f7-list>
|
||||||
|
|
||||||
<f7-list class="margin-top-half margin-bottom" strong inset dividers>
|
<f7-list class="margin-top-half margin-bottom" strong inset dividers v-if="excludeTagsCount > 1">
|
||||||
<f7-list-item radio
|
<f7-list-item radio
|
||||||
:title="tt(filterType.name)"
|
:title="tt(filterType.name)"
|
||||||
:key="filterType.type"
|
:key="filterType.type"
|
||||||
:value="filterType.type"
|
:value="filterType.type"
|
||||||
:checked="excludeTagFilterType === filterType.type"
|
:checked="excludeTagFilterType === filterType.type"
|
||||||
v-for="filterType in [TransactionTagFilterType.NotHasAny, TransactionTagFilterType.NotHasAll]"
|
v-for="filterType in [TransactionTagFilterType.NotHasAny, TransactionTagFilterType.NotHasAll]"
|
||||||
@change="excludeTagFilterType = filterType.type"
|
@change="excludeTagFilterType = filterType.type">
|
||||||
v-if="excludeTagsCount > 1">
|
|
||||||
</f7-list-item>
|
</f7-list-item>
|
||||||
</f7-list>
|
</f7-list>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user