wip: product filters
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="search-wrapper px-5 w-full">
|
||||
<div class="search-wrapper w-full">
|
||||
<label class="input w-full">
|
||||
<svg class="h-[1em] opacity-50" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<g
|
||||
@@ -15,7 +15,7 @@
|
||||
</svg>
|
||||
<input
|
||||
readonly
|
||||
class="grow input-lg"
|
||||
class="grow input-lg w-full"
|
||||
placeholder="Поиск по магазину"
|
||||
@click="showSearchPage"
|
||||
/>
|
||||
@@ -32,6 +32,7 @@ const router = useRouter();
|
||||
function showSearchPage() {
|
||||
router.push({name: 'search'});
|
||||
useSearchStore().reset();
|
||||
window.Telegram.WebApp.HapticFeedback.impactOccurred('medium');
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user