增加主播平台页面中空间入口
This commit is contained in:
parent
df8a93355c
commit
ba978db56c
|
@ -84,7 +84,7 @@ export default function WechatBar({
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col mt-8 bg-[#FFFFFF1A] rounded-2xl">
|
<div className="flex flex-col mt-4 bg-[#FFFFFF1A] rounded-2xl">
|
||||||
<div
|
<div
|
||||||
onClick={() => setShowBuyWechat(!showBuyWechat)}
|
onClick={() => setShowBuyWechat(!showBuyWechat)}
|
||||||
className="flex flex-row cursor-pointer bg-[#07050A] border-2 border-[#FFFFFF26] rounded-2xl h-12 items-center justify-center"
|
className="flex flex-row cursor-pointer bg-[#07050A] border-2 border-[#FFFFFF26] rounded-2xl h-12 items-center justify-center"
|
||||||
|
|
|
@ -10,6 +10,7 @@ import { generateSignature } from "@/utils/crypto";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import verification from "@/public/icon/verification.png";
|
import verification from "@/public/icon/verification.png";
|
||||||
import icon_border from "@/public/images/icon_border.png";
|
import icon_border from "@/public/images/icon_border.png";
|
||||||
|
import zone from "@/public/images/zone.png";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { setCookie } from "cookies-next";
|
import { setCookie } from "cookies-next";
|
||||||
import copy from "@/utils/copy";
|
import copy from "@/utils/copy";
|
||||||
|
@ -92,6 +93,18 @@ export default function StreamerDetail({ params }) {
|
||||||
{data?.bio}
|
{data?.bio}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<Link
|
||||||
|
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-8"
|
||||||
|
>
|
||||||
|
<Image src={zone} alt="" className="w-5 h-5" />
|
||||||
|
<p className="text-white text-base font-medium ml-2">我的秘密空间</p>
|
||||||
|
{data?.is_active_within_a_week === 1 && (
|
||||||
|
<div className="flex justify-center items-center px-[3px] bg-primary rounded-[2px] ml-2">
|
||||||
|
<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}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue