Refine resale sorting and cache version

This commit is contained in:
2026-05-21 12:32:42 +09:00
parent 707da3b402
commit 11ec940e48
4 changed files with 37 additions and 77 deletions

View File

@@ -328,7 +328,7 @@
id="sort-button"
aria-expanded="false"
aria-haspopup="true">
<span class="col-start-1 row-start-1 truncate pr-6">순번 최신순</span>
<span class="col-start-1 row-start-1 truncate pr-6">무작위</span>
<svg
class="w-4 h-4 transform transition-transform duration-200"
fill="none"
@@ -348,46 +348,6 @@
tabindex="-1"
role="listbox"
aria-labelledby="sort-label">
<li
class="relative cursor-pointer hover:bg-gray-100 select-none py-2 pl-3 pr-9 text-gray-900"
role="option"
data-value="sortByNoDesc">
<span class="block truncate font-semibold">순번 최신순</span>
<span
class="absolute inset-y-0 right-0 flex items-center pr-4 text-indigo-600">
<svg
class="size-5"
viewBox="0 0 20 20"
fill="currentColor"
aria-hidden="true"
data-slot="icon">
<path
fill-rule="evenodd"
d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z"
clip-rule="evenodd" />
</svg>
</span>
</li>
<li
class="relative cursor-pointer hover:bg-gray-100 select-none py-2 pl-3 pr-9 text-gray-900"
role="option"
data-value="sortByNo">
<span class="block truncate">순번 과거순</span>
<span
class="absolute inset-y-0 right-0 flex items-center pr-4 text-indigo-600 hidden">
<svg
class="size-5"
viewBox="0 0 20 20"
fill="currentColor"
aria-hidden="true"
data-slot="icon">
<path
fill-rule="evenodd"
d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z"
clip-rule="evenodd" />
</svg>
</span>
</li>
<li
class="relative cursor-pointer hover:bg-gray-100 select-none py-2 pl-3 pr-9 text-gray-900"
role="option"
@@ -472,9 +432,9 @@
class="relative cursor-pointer hover:bg-gray-100 select-none py-2 pl-3 pr-9 text-gray-900"
role="option"
data-value="sortByRandom">
<span class="block truncate">무작위</span>
<span class="block truncate font-semibold">무작위</span>
<span
class="absolute inset-y-0 right-0 flex items-center pr-4 text-indigo-600 hidden">
class="absolute inset-y-0 right-0 flex items-center pr-4 text-indigo-600">
<svg
class="size-5"
viewBox="0 0 20 20"
@@ -535,6 +495,6 @@
</main>
</div>
</div>
<script type="module" src="./script/nsw.js?v=20260521-price-pending"></script>
<script type="module" src="./script/nsw.js?v=20260521-badges-v2"></script>
</body>
</html>