+ {query.error instanceof ImApiError && query.error.status === 403 ? (
+ '对方设置了资料保护,暂时无法查看'
+ ) : query.error instanceof ImApiError && query.error.status === 404 ? (
+ '未找到该用户'
+ ) : (
+ <>
+ 加载失败,请重试
+
+ >
+ )}
+
+
+
{name}
+ {profile.remark ?
昵称:{profile.display_name} : null}
+ {profile.gender || profile.region ? (
+
+ {[profile.gender ? GENDER_LABEL[profile.gender] || profile.gender : null, profile.region].filter(Boolean).join(' · ')}
+
+ ) : null}
+ {profile.signature ?
{profile.signature}
: null}
+
+ {!isSelf ? (
+
+
+
+
+
+ ) : null}
+
+
+