Добавлена возможность сделать новый поиск по клику на лого
This commit is contained in:
@@ -21,7 +21,13 @@
|
|||||||
<div ref="scroller" class="col fit column no-wrap" style="overflow: auto; position: relative" @scroll="onScroll">
|
<div ref="scroller" class="col fit column no-wrap" style="overflow: auto; position: relative" @scroll="onScroll">
|
||||||
<div ref="toolPanel" class="tool-panel column bg-cyan-2" style="position: sticky; top: 0; z-index: 10;">
|
<div ref="toolPanel" class="tool-panel column bg-cyan-2" style="position: sticky; top: 0; z-index: 10;">
|
||||||
<div class="header q-mx-md q-mb-xs q-mt-sm row items-center">
|
<div class="header q-mx-md q-mb-xs q-mt-sm row items-center">
|
||||||
<div class="row items-center" style="font-size: 150%;">
|
<div style="height: 33px">
|
||||||
|
<img src="./assets/logo.png" class="clickable2" @click="newSearch" />
|
||||||
|
<q-tooltip :delay="1500" anchor="bottom middle" content-style="font-size: 80%" max-width="400px">
|
||||||
|
Новый поиск
|
||||||
|
</q-tooltip>
|
||||||
|
</div>
|
||||||
|
<div class="row items-center q-ml-sm" style="font-size: 150%;">
|
||||||
<div class="q-mr-xs">
|
<div class="q-mr-xs">
|
||||||
Коллекция
|
Коллекция
|
||||||
</div>
|
</div>
|
||||||
@@ -99,12 +105,12 @@
|
|||||||
</q-tooltip>
|
</q-tooltip>
|
||||||
</q-input>
|
</q-input>
|
||||||
|
|
||||||
<div class="q-mx-xs" />
|
<!--div class="q-mx-xs" />
|
||||||
<DivBtn class="text-white q-mt-xs bg-grey-13" :size="30" :icon-size="24" icon="la la-broom" round @click="setDefaults">
|
<DivBtn class="text-white q-mt-xs bg-grey-13" :size="30" :icon-size="24" icon="la la-broom" round @click="setDefaults">
|
||||||
<q-tooltip :delay="1500" anchor="bottom middle" content-style="font-size: 80%" max-width="400px">
|
<q-tooltip :delay="1500" anchor="bottom middle" content-style="font-size: 80%" max-width="400px">
|
||||||
Сбросить поиск
|
Сбросить поиск
|
||||||
</q-tooltip>
|
</q-tooltip>
|
||||||
</DivBtn>
|
</DivBtn-->
|
||||||
|
|
||||||
<div class="q-mx-xs" />
|
<div class="q-mx-xs" />
|
||||||
<div class="row items-center q-mt-xs">
|
<div class="row items-center q-mt-xs">
|
||||||
@@ -600,6 +606,10 @@ class Search {
|
|||||||
this.$root.stdDialog.alert(info, 'Статистика по коллекции', {iconName: 'la la-info-circle'});
|
this.$root.stdDialog.alert(info, 'Статистика по коллекции', {iconName: 'la la-info-circle'});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newSearch() {
|
||||||
|
window.location = window.location.origin;
|
||||||
|
}
|
||||||
|
|
||||||
async hideTooltip() {
|
async hideTooltip() {
|
||||||
//Firefox bugfix: при всплывающем диалоге скрываем подсказку
|
//Firefox bugfix: при всплывающем диалоге скрываем подсказку
|
||||||
this.showTooltips = false;
|
this.showTooltips = false;
|
||||||
|
|||||||
BIN
client/components/Search/assets/logo.png
Normal file
BIN
client/components/Search/assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 277 B |
Reference in New Issue
Block a user