change search box
This commit is contained in:
@@ -2,12 +2,11 @@
|
|||||||
<div class="search-box" @click="active = true">
|
<div class="search-box" @click="active = true">
|
||||||
<i class="isax isax-search-normal-1" />
|
<i class="isax isax-search-normal-1" />
|
||||||
<template v-if="active">
|
<template v-if="active">
|
||||||
<InputText v-model="q" :placeholder="$t('searchIn')" autofocus @blur="active = false"
|
<InputText v-model="q" :placeholder="$t('search')" autofocus @blur="active = false"
|
||||||
@keypress.enter="search" />
|
@keypress.enter="search" />
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span>{{ $t("searchIn") }}</span>
|
<span>{{ $t("search") }}</span>
|
||||||
<img src="/images/logo-search.svg" />
|
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user