feat: 完成移动端适配

This commit is contained in:
2025-06-29 10:11:33 +08:00
parent cae0fe371b
commit 0f03841f44
7 changed files with 96 additions and 13 deletions

View File

@@ -35,6 +35,7 @@ export const matchMedia = (
}
};
/** 获取视窗宽度 */
export const useWindowWidth = () => {
const width = ref(window.innerWidth);