Update: 初始化项目

This commit is contained in:
2025-10-08 12:58:59 +08:00
parent 7122a18ea4
commit 6cbe15fa4f
160 changed files with 37966 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
const UA = navigator.userAgent;
export const isMobile = /(iphone|ipod|ipad|android)/gi.test( UA ) ||
( navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 ); // iPadOS
export const isChrome = /chrome/i.test( UA ) && !/edge/i.test( UA );
export const isAndroid = /android/gi.test( UA );