修复bug
This commit is contained in:
parent
4fa5afec95
commit
433b9f4c84
|
@ -40,6 +40,7 @@ export default function StreamerDetail({ params }) {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
const detailData = await detailResponse.json();
|
const detailData = await detailResponse.json();
|
||||||
|
console.log(detailData);
|
||||||
if (detailData.ret === -1) {
|
if (detailData.ret === -1) {
|
||||||
Toast.show({
|
Toast.show({
|
||||||
content: detailData.msg,
|
content: detailData.msg,
|
||||||
|
@ -93,18 +94,22 @@ export default function StreamerDetail({ params }) {
|
||||||
{data?.bio}
|
{data?.bio}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Link
|
{data?.zones?.length !== 0 && (
|
||||||
href={`/zone/${data?.user_id}`}
|
<Link
|
||||||
className="flex flex-row cursor-pointer bg-[#07050A] border-2 border-[#FFFFFF26] rounded-2xl h-12 items-center justify-center mt-4"
|
href={`/zone/${data?.user_id}`}
|
||||||
>
|
className="flex flex-row cursor-pointer bg-[#07050A] border-2 border-[#FFFFFF26] rounded-2xl h-12 items-center justify-center mt-4"
|
||||||
<Image src={zone} alt="" className="w-5 h-5" />
|
>
|
||||||
<p className="text-white text-base font-medium ml-2">我的秘密空间</p>
|
<Image src={zone} alt="" className="w-5 h-5" />
|
||||||
{data?.is_active_within_a_week === 1 && (
|
<p className="text-white text-base font-medium ml-2">
|
||||||
<div className="flex justify-center items-center px-[3px] bg-primary rounded-[2px] ml-2">
|
我的秘密空间
|
||||||
<p className="text-white text-[9px] font-medium">有更新</p>
|
</p>
|
||||||
</div>
|
{data?.is_active_within_a_week === 1 && (
|
||||||
)}
|
<div className="flex justify-center items-center px-[3px] bg-primary rounded-[2px] ml-2">
|
||||||
</Link>
|
<p className="text-white text-[9px] font-medium">有更新</p>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</Link>
|
||||||
|
)}
|
||||||
<WechatBar
|
<WechatBar
|
||||||
price={Math.ceil(data?.wechat_coin_price / 9)}
|
price={Math.ceil(data?.wechat_coin_price / 9)}
|
||||||
streamerMid={data?.mid}
|
streamerMid={data?.mid}
|
||||||
|
|
Loading…
Reference in New Issue