From 339c748a0fc7341cd1821f0c0eb083e801cf35fc Mon Sep 17 00:00:00 2001 From: richarjiang Date: Thu, 16 Oct 2025 17:17:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(profile):=20=E5=9C=A8=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E8=B5=84=E6=96=99=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E5=85=8D?= =?UTF-8?q?=E8=B4=B9AI=E4=BD=BF=E7=94=A8=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(tabs)/personal.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/app/(tabs)/personal.tsx b/app/(tabs)/personal.tsx index 1c3e1cd..963c122 100644 --- a/app/(tabs)/personal.tsx +++ b/app/(tabs)/personal.tsx @@ -215,6 +215,14 @@ export default function PersonalScreen() { {userProfile.memberNumber && ( 会员编号: {userProfile.memberNumber} )} + {userProfile.freeUsageCount !== undefined && ( + + + + 免费AI次数: {userProfile.isVip ? '无限' : userProfile.freeUsageCount} + + + )} {isLgAvaliable ? ( pushIfAuthedElseLogin('/profile/edit')}> @@ -501,6 +509,17 @@ const styles = StyleSheet.create({ color: '#6C757D', marginTop: 4, }, + aiUsageContainer: { + flexDirection: 'row', + alignItems: 'center', + marginTop: 4, + }, + aiUsageText: { + fontSize: 10, + color: '#9370DB', + marginLeft: 2, + fontWeight: '500', + }, editButton: { backgroundColor: '#9370DB', paddingHorizontal: 16,