wip: product filters

This commit is contained in:
2025-10-03 22:32:31 +03:00
parent a051ff545e
commit da1b71fc89
48 changed files with 721 additions and 235 deletions

View File

@@ -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>