This commit is contained in:
@@ -331,11 +331,13 @@ export default function UserIndex() {
|
||||
</View>
|
||||
)}
|
||||
|
||||
{/* 网页用户 */}
|
||||
<View className={`badge web ${userInfo.has_web_account ? 'active' : 'disabled'}`}>
|
||||
<Text className='badge-icon'>🌐</Text>
|
||||
<Text className='badge-text'>网页用户</Text>
|
||||
</View>
|
||||
{/* 网页用户徽章 - 仅在 has_web_badge 为 true 时显示 */}
|
||||
{userInfo.has_web_badge && (
|
||||
<View className='badge web active'>
|
||||
<Text className='badge-icon'>🌐</Text>
|
||||
<Text className='badge-text'>网页用户</Text>
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user