VIP页面UI调整

This commit is contained in:
2025-09-01 18:01:43 +08:00
parent c202f0d280
commit 6c743a6cac
2 changed files with 13 additions and 10 deletions

View File

@@ -271,15 +271,15 @@ private fun BenefitRow(item: VipPageDataModel, selectedTabIndex: Int, modifier:
Text(text = item.title, modifier = Modifier.weight(1f), fontSize = 14.sp, color = AppColors.text)
// Premium 列
Text(
text = item.proDesc.ifEmpty { if (item.proHave == true) "2X" else "" },
text = item.proDesc.ifEmpty { if (item.proHave == true) "" else "×" },
color = if (item.proHave == true || item.proDesc.isNotEmpty()) AppColors.vipHave else AppColors.nonActiveText,
fontSize = 13.sp,
modifier = Modifier.width(80.dp)
)
// Standard 列
Text(
text = item.standardDesc.ifEmpty { if (item.standardHave == true) "2X" else "" },
color = if (item.standardHave == true || item.standardDesc.isNotEmpty()) AppColors.nonActiveText else AppColors.nonActiveText,
text = item.standardDesc.ifEmpty { if (item.standardHave == true) "" else "×" },
color = if (item.standardHave == true || item.standardDesc.isNotEmpty()) AppColors.text else AppColors.nonActiveText,
fontSize = 13.sp,
modifier = Modifier.width(80.dp)
)