From 786c6e6a8186e13d945efaf2cc504a13d0c3e09d Mon Sep 17 00:00:00 2001 From: moux1024 <403053463@qq.com> Date: Tue, 23 Sep 2025 13:42:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=A0=B7=E5=BC=8F=E4=B8=8E=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/share/page.tsx | 59 +++++++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 21 deletions(-) diff --git a/app/share/page.tsx b/app/share/page.tsx index 66c97cd..3454566 100644 --- a/app/share/page.tsx +++ b/app/share/page.tsx @@ -151,7 +151,7 @@ export default function SharePage(): JSX.Element { const toggleRow = React.useCallback((id: string) => { - setExpandedRowIds((prev) => { + setExpandedRowIds((prev: any) => { const next = new Set(prev); if (next.has(id)) { next.delete(id); @@ -185,45 +185,62 @@ export default function SharePage(): JSX.Element { Step 1 Share -

Copy your invitation code and share it with friends.

+

Copy your invitation link and share it with friends.

  • Step 2 Register
    -

    Friends register and enter your invitation code.

    +

    Friends click the link and register directly.

  • Step 3 Reward
    -

    You both receive rewards after successful registration.

    +

    You both receive rewards after your friend activates their account.

  • - {/* Section 2: My Invitation Code */} -
    -
    -
    -

    My Invitation Code

    + {/* Section 2: My Invitation Link */} +
    +
    +
    +

    My Invitation Link

    -
    - {inviteCode} +
    +
    + {inviteCode ? `${'https://www.movieflow.ai'}/signup?inviteCode=${inviteCode}` : '-'} +
    + {/* 右侧渐变遮挡 */} +
    -

    Share this code. Your friends can enter it during registration.

    +

    Share this link. Your friends can register directly through it.

    Total Credits @@ -233,7 +250,7 @@ export default function SharePage(): JSX.Element {
    Invited Friends {invitedCount} - Points detail will be available soon. + Point details will be available soon.
    @@ -245,9 +262,9 @@ export default function SharePage(): JSX.Element {