清楚无用的点击事件
This commit is contained in:
parent
9f5b088ae3
commit
719dbaf840
|
@ -107,9 +107,6 @@ export default function SelectUserProfileItem() {
|
|||
style={{ maxWidth: "12px" }}
|
||||
size="xl"
|
||||
className=" ml-2"
|
||||
onClick={() => {
|
||||
router.push("my/editUserProfile/editUserName");
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -150,6 +150,11 @@ const My = () => {
|
|||
iconUrl: "icons/32DP/wechat.png",
|
||||
title: "已解锁微信",
|
||||
},
|
||||
{
|
||||
url: `my/streamerVerification/joinEntrance`,
|
||||
iconUrl: "icons/32DP/join.png",
|
||||
title: "申请入驻",
|
||||
},
|
||||
{
|
||||
url: `/messageDetail`,
|
||||
iconUrl: "icons/32DP/contact.png",
|
||||
|
@ -161,38 +166,38 @@ const My = () => {
|
|||
title: "添加到主屏幕",
|
||||
},
|
||||
];
|
||||
if (
|
||||
(account.data.account.role != 3 && !isInJoinProgress) ||
|
||||
statuses.data.details_status === 2
|
||||
) {
|
||||
currentOld = [
|
||||
{
|
||||
url: `my/wallet`,
|
||||
iconUrl: "icons/32DP/wallet.png",
|
||||
title: "我的钱包",
|
||||
},
|
||||
{
|
||||
url: `my/unlockedWechat`,
|
||||
iconUrl: "icons/32DP/wechat.png",
|
||||
title: "已解锁微信",
|
||||
},
|
||||
{
|
||||
url: `my/streamerVerification/joinEntrance`,
|
||||
iconUrl: "icons/32DP/join.png",
|
||||
title: "申请入驻",
|
||||
},
|
||||
{
|
||||
url: `/messageDetail`,
|
||||
iconUrl: "icons/32DP/contact.png",
|
||||
title: "联系客服",
|
||||
},
|
||||
{
|
||||
url: `/my/addToHome`,
|
||||
iconUrl: "icons/32DP/toScreen.png",
|
||||
title: "添加到主屏幕",
|
||||
},
|
||||
];
|
||||
}
|
||||
// if (
|
||||
// (account.data.account.role != 3 && !isInJoinProgress) ||
|
||||
// statuses.data.details_status === 2
|
||||
// ) {
|
||||
// currentOld = [
|
||||
// {
|
||||
// url: `my/wallet`,
|
||||
// iconUrl: "icons/32DP/wallet.png",
|
||||
// title: "我的钱包",
|
||||
// },
|
||||
// {
|
||||
// url: `my/unlockedWechat`,
|
||||
// iconUrl: "icons/32DP/wechat.png",
|
||||
// title: "已解锁微信",
|
||||
// },
|
||||
// {
|
||||
// url: `my/streamerVerification/joinEntrance`,
|
||||
// iconUrl: "icons/32DP/join.png",
|
||||
// title: "申请入驻",
|
||||
// },
|
||||
// {
|
||||
// url: `/messageDetail`,
|
||||
// iconUrl: "icons/32DP/contact.png",
|
||||
// title: "联系客服",
|
||||
// },
|
||||
// {
|
||||
// url: `/my/addToHome`,
|
||||
// iconUrl: "icons/32DP/toScreen.png",
|
||||
// title: "添加到主屏幕",
|
||||
// },
|
||||
// ];
|
||||
// }
|
||||
return currentOld;
|
||||
});
|
||||
setUserInfo({ ...data.data, ...account.data.account, ...streamer.data });
|
||||
|
@ -347,10 +352,6 @@ const My = () => {
|
|||
style={{ maxWidth: "12px" }}
|
||||
size="xl"
|
||||
className="h-6 mr-2"
|
||||
onClick={() => {
|
||||
// searchParams.append();
|
||||
// router.back();
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
|
|
|
@ -82,9 +82,6 @@ export default function AboutUs() {
|
|||
style={{ maxWidth: "12px" }}
|
||||
size="sm"
|
||||
className="h-4 text-gray-300"
|
||||
onClick={() => {
|
||||
router.back();
|
||||
}}
|
||||
/>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -58,7 +58,7 @@ export default function JoinEntrance() {
|
|||
</div>
|
||||
{/* 内容 */}
|
||||
<div className="h-screen relative">
|
||||
<div className="absolute inset-x-0 bottom-24 top-24 px-12 flex flex-col items-center justify-center gap-12">
|
||||
<div className="absolute inset-x-0 bottom-24 top-24 flex flex-col items-center justify-center gap-12">
|
||||
<Button
|
||||
size="middle"
|
||||
shape="rounded"
|
||||
|
|
|
@ -101,7 +101,7 @@ export default function JoinGuild() {
|
|||
<p></p>
|
||||
</div>
|
||||
{/* 内容 */}
|
||||
<div className="pt-16 p-4">
|
||||
<div className="pt-16 p-4 mt-2">
|
||||
<div className="flex justify-between items-center">
|
||||
<p className="text-sm">
|
||||
<span>审核资料(仅用于审核,不对外展示)</span>
|
||||
|
@ -132,9 +132,6 @@ export default function JoinGuild() {
|
|||
<span>联络人</span>
|
||||
<span className="text-[#f00]">*</span>
|
||||
</p>
|
||||
<p className="text-[#ffffffae] text-xs">
|
||||
(若有多个,按粉丝从多到少排序)
|
||||
</p>
|
||||
</div>
|
||||
<div className="mt-2 px-4 py-3 h-12 rounded-[0.8rem] bg-[#FFFFFF1a] flex justify-between items-center">
|
||||
<OwnInput
|
||||
|
|
|
@ -110,7 +110,7 @@ export default function JoinStreamer() {
|
|||
</p>
|
||||
</div>
|
||||
{/* 内容 */}
|
||||
<div className="pt-16 p-4">
|
||||
<div className="pt-16 p-4 mt-2">
|
||||
<div className="flex justify-between items-center">
|
||||
<p className="text-sm">
|
||||
<span>审核资料(仅用于审核,不对外展示)</span>
|
||||
|
|
|
@ -422,9 +422,6 @@ export default function PersonSpace() {
|
|||
size="xl"
|
||||
style={{ maxWidth: "12px" }}
|
||||
className="h-4"
|
||||
onClick={() => {
|
||||
router.back();
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue