推荐商品

This commit is contained in:
liu
2026-08-31 22:21:59 +08:00
parent 6c809d893b
commit 9c59f3bc99
191 changed files with 2095 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
import{i as e}from"./rolldown-runtime-BgaNhQyE.js";import{Dr as t}from"./jsx-runtime-CRBytmvs.js";var n=e(t(),1),r=(e=768)=>{let[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=()=>{r(window.innerWidth<e)};return t(),window.addEventListener(`resize`,t),window.addEventListener(`orientationchange`,t),()=>{window.removeEventListener(`resize`,t),window.removeEventListener(`orientationchange`,t)}},[e]),t};export{r as t};