diff --git a/src/app/invite/page.tsx b/src/app/invite/page.tsx index ded6e3f..6a880e6 100644 --- a/src/app/invite/page.tsx +++ b/src/app/invite/page.tsx @@ -44,29 +44,33 @@ export default function Invite() { width="56" height="56" className="mt-34px object-cover rounded-full" - src={userInfo?.avatar ?? ''} + src={userInfo?.avatar ?? '/img/share.png'} alt="" unoptimized />
-

{`${userInfo?.nickName ?? ''},邀请你加入雀乐`}

+ {!!userInfo?.nickName &&

{`${userInfo.nickName},邀请你加入雀乐`}

}

一起 记录独立音乐

- + {userInfo?.inviteCode ? ( + <> + -
-
-
-
推荐码
-
-
{userInfo?.inviteCode ?? ''}
+
+
+
推荐码
+
+
{userInfo.inviteCode}
+
+

填写邀请码,双方均可获得积分

-

填写邀请码,双方均可获得积分

-
-
+ + ) : ( +
推荐码错误
+ )}