fix: 更新额度提示信息并隐藏套餐与付费部分
- 修改 QuotaIndicator 组件中的额度提示信息,简化为“额度已用完”。 - 暂时隐藏 ProfileScreen 中的套餐与付费部分,待支付功能上线后恢复显示。
This commit is contained in:
@@ -100,7 +100,7 @@ fun QuotaIndicator(
|
||||
)
|
||||
Spacer(modifier = Modifier.width(8.dp))
|
||||
Text(
|
||||
text = quota.message ?: "额度已用完,请升级套餐",
|
||||
text = quota.message ?: "额度已用完",
|
||||
fontSize = 14.sp,
|
||||
color = MaterialTheme.colorScheme.error,
|
||||
fontWeight = FontWeight.Medium
|
||||
|
||||
@@ -173,37 +173,37 @@ fun ProfileScreen(
|
||||
}
|
||||
}
|
||||
|
||||
// 套餐与付费
|
||||
item {
|
||||
SectionCard(title = "套餐与付费") {
|
||||
currentPlan?.let { plan ->
|
||||
SettingItem(
|
||||
icon = AppIcons.Star,
|
||||
label = "当前套餐",
|
||||
description = plan.planName,
|
||||
onPress = { navController?.navigate(Screen.PlanDetails.route) }
|
||||
)
|
||||
}
|
||||
SettingItem(
|
||||
icon = AppIcons.Info,
|
||||
label = "套餐余额",
|
||||
description = "查看当前套餐剩余额度",
|
||||
onPress = { navController?.navigate(Screen.PlanBalance.route) }
|
||||
)
|
||||
SettingItem(
|
||||
icon = AppIcons.Upgrade,
|
||||
label = "升级套餐",
|
||||
description = "解锁更多对话与章节额度",
|
||||
onPress = { navController?.navigate(Screen.UpgradePlan.route) }
|
||||
)
|
||||
SettingItem(
|
||||
icon = AppIcons.Receipt,
|
||||
label = "我的订单",
|
||||
onPress = { navController?.navigate(Screen.MyOrders.route) },
|
||||
isLast = true
|
||||
)
|
||||
}
|
||||
}
|
||||
// 套餐与付费(升级套餐入口暂时隐藏,支付功能上线后恢复)
|
||||
// item {
|
||||
// SectionCard(title = "套餐与付费") {
|
||||
// currentPlan?.let { plan ->
|
||||
// SettingItem(
|
||||
// icon = AppIcons.Star,
|
||||
// label = "当前套餐",
|
||||
// description = plan.planName,
|
||||
// onPress = { navController?.navigate(Screen.PlanDetails.route) }
|
||||
// )
|
||||
// }
|
||||
// SettingItem(
|
||||
// icon = AppIcons.Info,
|
||||
// label = "套餐余额",
|
||||
// description = "查看当前套餐剩余额度",
|
||||
// onPress = { navController?.navigate(Screen.PlanBalance.route) }
|
||||
// )
|
||||
// SettingItem(
|
||||
// icon = AppIcons.Upgrade,
|
||||
// label = "升级套餐",
|
||||
// description = "解锁更多对话与章节额度",
|
||||
// onPress = { navController?.navigate(Screen.UpgradePlan.route) }
|
||||
// )
|
||||
// SettingItem(
|
||||
// icon = AppIcons.Receipt,
|
||||
// label = "我的订单",
|
||||
// onPress = { navController?.navigate(Screen.MyOrders.route) },
|
||||
// isLast = true
|
||||
// )
|
||||
// }
|
||||
// }
|
||||
|
||||
// 数据与隐私
|
||||
item {
|
||||
|
||||
Reference in New Issue
Block a user