mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-04-13 16:49:44 +08:00
Tweak UI
This commit is contained in:
@@ -143,7 +143,6 @@ export default Vue.extend({
|
||||
|
||||
methods: {
|
||||
setParams(key: string, value: any){
|
||||
debugger;
|
||||
if (_.isNil(value)) {
|
||||
Vue.delete(this.userParams, key);
|
||||
} else {
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<v-list dense>
|
||||
<v-list
|
||||
dense
|
||||
expand
|
||||
>
|
||||
<template v-for="item in items">
|
||||
<v-layout
|
||||
v-if="item.heading"
|
||||
|
||||
@@ -31,12 +31,9 @@
|
||||
</v-btn>
|
||||
</template>
|
||||
<v-list class="category-actions">
|
||||
<v-list-tile-sub-title
|
||||
class="px-3 py-1"
|
||||
@click.stop=""
|
||||
>
|
||||
<v-subheader @click.stop="">
|
||||
Set category
|
||||
</v-list-tile-sub-title>
|
||||
</v-subheader>
|
||||
<v-list-tile
|
||||
v-for="(item, i) in categories"
|
||||
:key="i"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<v-list-group
|
||||
v-model="model"
|
||||
:prepend-icon="model ? group.icon : group['icon-alt']"
|
||||
class="filter-group"
|
||||
>
|
||||
<template v-slot:activator>
|
||||
<v-list-tile>
|
||||
@@ -88,4 +89,8 @@ export default Vue.extend({
|
||||
.v-list__tile__action {
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.filter-group ::v-deep .v-list__group__items .v-list__tile {
|
||||
height: 2.2em;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user