From ddddcf83e7deb9d0a674d2bbead300089530d87e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 21 五月 2025 13:24:07 +0800
Subject: [PATCH] feat: UI

---
 apps/taro/src/utils/env.ts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/apps/taro/src/utils/env.ts b/apps/taro/src/utils/env.ts
index 1f39f41..de4ca0a 100644
--- a/apps/taro/src/utils/env.ts
+++ b/apps/taro/src/utils/env.ts
@@ -13,3 +13,6 @@
 // H5銆佸皬绋嬪簭銆乤pp 鍧囪涓烘槸鎵嬫満绔骇鍝侊紝濡傛灉闇�瑕佺粺涓�鎵嬫満绔� UI 鏍峰紡锛屽彲浠ョ洿鎺ョ敤 isMobile 鎺у埗
 export const isMobile = isH5 || isWeChat || isApp;
 export const isWeb = isH5 || isPC;
+
+export const isInAlipay = /AlipayClient/i.test(navigator?.userAgent);
+export const isInWeChat = /MicroMessenger/i.test(navigator?.userAgent);

--
Gitblit v1.9.1