限制空间成员

This commit is contained in:
al 2024-12-17 17:35:42 +08:00
parent 58e80b0ea7
commit 822b220a08
1 changed files with 19 additions and 14 deletions

View File

@ -283,20 +283,25 @@ export default function Setting() {
<Divider />
</li>
)}
<li>
<div
onClick={() => router.push("spaceMember?zid=" + streamerInfo.id)}
className="flex justify-between"
>
<span className="text-base text-white">空间成员</span>
<FontAwesomeIcon
icon={faAngleRight}
size="xl"
style={{ maxWidth: "12px" }}
/>
</div>
<Divider />
</li>
{(streamerInfo?.visitor_role === 3 ||
streamerInfo?.visitor_role === 1) && (
<li>
<div
onClick={() =>
router.push("spaceMember?zid=" + streamerInfo.id)
}
className="flex justify-between"
>
<span className="text-base text-white">空间成员</span>
<FontAwesomeIcon
icon={faAngleRight}
size="xl"
style={{ maxWidth: "12px" }}
/>
</div>
<Divider />
</li>
)}
{streamerInfo?.refund_enable === 1 &&
streamerInfo?.admission_price > 0 &&
streamerInfo?.visitor_role === 0 && (