From 27b0786c95c77830557dad26a3d675da969f383a Mon Sep 17 00:00:00 2001 From: yezian Date: Fri, 14 Jun 2024 23:34:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=9D=99=E6=80=81=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=9C=B0=E5=9D=80=E4=B8=BAcdn=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[user_id]/_components/WechatBar/index.jsx | 10 ++-- app/[user_id]/page.jsx | 10 ++-- app/auth/login/layout.jsx | 4 +- app/doc/[title]/IosHowToInstall.jsx | 43 +++++++++++----- app/download/[user_id]/page.jsx | 37 ++++++-------- app/help/page.jsx | 4 +- app/not-found.jsx | 7 +-- app/page.jsx | 36 ++++++-------- .../[user_id]/_components/WechatBar/index.jsx | 10 ++-- app/tool/[user_id]/page.jsx | 2 +- app/verification/page.jsx | 13 +++-- app/vip/page.jsx | 49 ++++++++----------- app/weibo/[user_id]/page.jsx | 4 +- app/zone/[user_id]/page.jsx | 19 +++---- .../[zid]/[product_id]/[moment_id]/page.jsx | 8 +-- components/InOtherApp/index.jsx | 2 +- next.config.js | 4 ++ 17 files changed, 121 insertions(+), 141 deletions(-) diff --git a/app/[user_id]/_components/WechatBar/index.jsx b/app/[user_id]/_components/WechatBar/index.jsx index 3da9a67..a24327f 100644 --- a/app/[user_id]/_components/WechatBar/index.jsx +++ b/app/[user_id]/_components/WechatBar/index.jsx @@ -5,10 +5,6 @@ import React, { useState } from "react"; import { useRouter } from "next/navigation"; import baseRequest from "@/utils/baseRequest"; import { generateSignature } from "@/utils/crypto"; -import Image from "next/image"; -import platform_wechat from "@/public/images/platform_wechat.png"; -import direct_purchase from "@/public/icon/direct_purchase.png"; -import app_purchase from "@/public/icon/app_purchase.png"; import { Toast } from "antd-mobile"; import { checkAuth } from "@/utils/auth"; @@ -98,7 +94,7 @@ export default function WechatBar({ onClick={() => setShowBuyWechat(!showBuyWechat)} className="flex flex-row cursor-pointer bg-[#07050A] border-2 border-[#FFFFFF26] rounded-2xl h-12 items-center justify-center" > - +

我的微信

document.getElementById("comfirm_modal").showModal()} > - +

直接解锁(¥{price})

@@ -123,7 +119,7 @@ export default function WechatBar({ router.push("/"); }} > - +

APP内解锁(-10%)

diff --git a/app/[user_id]/page.jsx b/app/[user_id]/page.jsx index 88dc867..c16d232 100644 --- a/app/[user_id]/page.jsx +++ b/app/[user_id]/page.jsx @@ -7,10 +7,6 @@ import baseRequest from "@/utils/baseRequest"; import { Toast } from "antd-mobile"; import InOtherApp from "@/components/InOtherApp"; import { generateSignature } from "@/utils/crypto"; -import Image from "next/image"; -import verification from "@/public/icon/verification.png"; -import icon_border from "@/public/images/icon_border.png"; -import zone from "@/public/images/zone.png"; import Link from "next/link"; import { setCookie } from "cookies-next"; import copy from "@/utils/copy"; @@ -87,7 +83,7 @@ export default function StreamerDetail({ params }) {

{data?.name}

- +

{data?.bio} @@ -98,7 +94,7 @@ export default function StreamerDetail({ params }) { 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" > - +

我的秘密空间

@@ -129,7 +125,7 @@ export default function StreamerDetail({ params }) { ))}
- +

铁粉空间

下载APP探索更多

diff --git a/app/auth/login/layout.jsx b/app/auth/login/layout.jsx index d4a3f68..f0f2557 100644 --- a/app/auth/login/layout.jsx +++ b/app/auth/login/layout.jsx @@ -2,14 +2,12 @@ import { usePathname } from "next/navigation"; import Link from "next/link"; -import Image from "next/image"; -import slogan from "@/public/images/slogan.png"; export default function LoginLayout({ children }) { const pathname = usePathname(); return (
- +

操作指引

1️⃣打开【设置】

- +

2️⃣点击【通用】

- +

3️⃣点击【VPN与设备管理】

- +

4️⃣点击【证书】

- +

5️⃣点击【信任证书】

- +

6️⃣在弹出页点击【信任】

- +

注:请于IOS7.1及以上版本运行此软件,具体【设置】内的样式展示可能会根据您的IOS版本有些区别,请注意区分。

diff --git a/app/download/[user_id]/page.jsx b/app/download/[user_id]/page.jsx index dc1ebb4..daf7976 100644 --- a/app/download/[user_id]/page.jsx +++ b/app/download/[user_id]/page.jsx @@ -1,16 +1,7 @@ "use client"; -import Link from "next/link"; import React, { useState, useEffect } from "react"; import InOtherApp from "@/components/InOtherApp"; -import Image from "next/image"; -import download_lefttop from "@/public/images/download_lefttop.png"; -import download_righttop from "@/public/images/download_righttop.png"; -import download_rightmedium from "@/public/images/download_rightmedium.png"; -import download_leftbottom from "@/public/images/download_leftbottom.png"; -import download_rightbottom from "@/public/images/download_rightbottom.png"; -import slogan from "@/public/images/slogan.png"; -import qrcode from "@/public/images/qrcode.png"; import baseRequest from "@/utils/baseRequest"; import { generateSignature } from "@/utils/crypto"; import { Toast } from "antd-mobile"; @@ -79,34 +70,34 @@ export default function Download({ params }) {
- - - - -
- + {deviceType === "pc" && (
)}
- + {deviceType === "pc" && (

手机扫码下载

)} diff --git a/app/help/page.jsx b/app/help/page.jsx index a06700b..951c7f1 100644 --- a/app/help/page.jsx +++ b/app/help/page.jsx @@ -1,12 +1,10 @@ import React from "react"; -import Image from "next/image"; -import logo from "@/public/images/logo.png"; export default function Help() { return (
- +

若对于产品存在任何疑问或需要技术支持,请发送邮件到:

diff --git a/app/not-found.jsx b/app/not-found.jsx index ecb1646..926a6cc 100644 --- a/app/not-found.jsx +++ b/app/not-found.jsx @@ -1,15 +1,12 @@ import React from "react"; -import Image from "next/image"; -import notFoundSvg from "@/public/svgs/illustatus.svg"; import Link from "next/link"; export default function NotFound() { return (
-

404 当前页面不存在

diff --git a/app/page.jsx b/app/page.jsx index 3111877..134454f 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -2,14 +2,6 @@ import React, { useState, useEffect } from "react"; import InOtherApp from "@/components/InOtherApp"; -import Image from "next/image"; -import download_lefttop from "@/public/images/download_lefttop.png"; -import download_righttop from "@/public/images/download_righttop.png"; -import download_rightmedium from "@/public/images/download_rightmedium.png"; -import download_leftbottom from "@/public/images/download_leftbottom.png"; -import download_rightbottom from "@/public/images/download_rightbottom.png"; -import slogan from "@/public/images/slogan.png"; -import qrcode from "@/public/images/qrcode.png"; import Footer from "@/components/Footer"; import Link from "next/link"; @@ -30,34 +22,34 @@ export default function Home() {
- - - - -
- +

)}
- + {deviceType === "pc" && (

手机扫码下载

)} diff --git a/app/tool/[user_id]/_components/WechatBar/index.jsx b/app/tool/[user_id]/_components/WechatBar/index.jsx index ef5498c..cbc34d9 100644 --- a/app/tool/[user_id]/_components/WechatBar/index.jsx +++ b/app/tool/[user_id]/_components/WechatBar/index.jsx @@ -5,10 +5,6 @@ import React, { useState } from "react"; import { useRouter } from "next/navigation"; import baseRequest from "@/utils/baseRequest"; import { generateSignature } from "@/utils/crypto"; -import Image from "next/image"; -import platform_wechat from "@/public/images/platform_wechat.png"; -import direct_purchase from "@/public/icon/direct_purchase.png"; -import app_purchase from "@/public/icon/app_purchase.png"; import { Toast } from "antd-mobile"; import { checkAuth } from "@/utils/auth"; @@ -69,7 +65,7 @@ export default function WechatBar({ price, streamerMid }) { onClick={() => setShowBuyWechat(!showBuyWechat)} className="flex flex-row cursor-pointer bg-[#07050A] border-2 border-[#FFFFFF26] rounded-2xl h-12 items-center justify-center" > - +

我的微信

document.getElementById("comfirm_modal").showModal()} > - +

直接解锁(¥{price})

@@ -91,7 +87,7 @@ export default function WechatBar({ price, streamerMid }) { className="flex flex-row cursor-pointer items-center justify-center py-4 mb-2" onClick={() => router.push("/")} > - +

APP内解锁(-10%)

diff --git a/app/tool/[user_id]/page.jsx b/app/tool/[user_id]/page.jsx index 7a111d3..e280a96 100644 --- a/app/tool/[user_id]/page.jsx +++ b/app/tool/[user_id]/page.jsx @@ -82,7 +82,7 @@ export default function StreamerDetail({ params }) {

{data?.name}

- +

{data?.bio} diff --git a/app/verification/page.jsx b/app/verification/page.jsx index 98c731f..e1aab18 100644 --- a/app/verification/page.jsx +++ b/app/verification/page.jsx @@ -8,7 +8,6 @@ import { JSEncrypt } from "jsencrypt"; import { useRouter } from "next/navigation"; import { generateSignature } from "@/utils/crypto"; import Image from "next/image"; -import verification_water_mark from "@/public/images/verification_water_mark.png"; export default function Verification() { const router = useRouter(); @@ -147,9 +146,9 @@ export default function Verification() { fill alt="" /> -

@@ -192,9 +191,9 @@ export default function Verification() { fill alt="" /> -
@@ -246,9 +245,9 @@ export default function Verification() { fill alt="" /> -
diff --git a/app/vip/page.jsx b/app/vip/page.jsx index 02ea944..42d8337 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -3,17 +3,6 @@ import React, { useState, useEffect } from "react"; import { generateSignature } from "@/utils/crypto"; import webviewBaseRequest from "@/utils/webviewBaseRequest"; -import Image from "next/image"; -import vipbackground from "@/public/images/vipbackground.png"; -import isvip from "@/public/images/isvip.png"; -import notvip from "@/public/images/notvip.png"; -import alipay from "@/public/images/alipay.png"; -import contact from "@/public/images/contact.png"; -import vipright1 from "@/public/images/vipright1.png"; -import vipright2 from "@/public/images/vipright2.png"; -import vipright3 from "@/public/images/vipright3.png"; -import vipright4 from "@/public/images/vipright4.png"; -import viptitle from "@/public/images/viptitle.png"; import Link from "next/link"; import { Toast } from "antd-mobile"; import { useRouter } from "next/navigation"; @@ -148,36 +137,36 @@ export default function Vip() { } }; - if (isFetching) { - return ( -
- -
- ); - } + // if (isFetching) { + // return ( + //
+ // + //
+ // ); + // } return (
{isLoading && ( )} -
- +
{isVip ? (
- +

{name}

) : ( - + )}
会员权益

- +

高清图片

下载保存

- +

身份标签

专属标识

- +

专属客服

极速服务

- +

期待更多

惊喜福利

@@ -258,7 +247,11 @@ export default function Vip() { onClick={() => createOrder("yeepay_alipay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" > - +

支付宝支付

diff --git a/app/weibo/[user_id]/page.jsx b/app/weibo/[user_id]/page.jsx index 8718b23..66f4ba9 100644 --- a/app/weibo/[user_id]/page.jsx +++ b/app/weibo/[user_id]/page.jsx @@ -5,8 +5,6 @@ import baseRequest from "@/utils/baseRequest"; import { Toast } from "antd-mobile"; import InOtherApp from "@/components/InOtherApp"; import { generateSignature } from "@/utils/crypto"; -import Image from "next/image"; -import verification from "@/public/icon/verification.png"; import Link from "next/link"; import copy from "@/utils/copy"; @@ -70,7 +68,7 @@ export default function Weibo({ params }) {

{data?.name}

- +

diff --git a/app/zone/[user_id]/page.jsx b/app/zone/[user_id]/page.jsx index 6012bb6..a5c09e7 100644 --- a/app/zone/[user_id]/page.jsx +++ b/app/zone/[user_id]/page.jsx @@ -1,11 +1,6 @@ "use client"; import React, { useState, useEffect } from "react"; -import Image from "next/image"; -import pinkline from "@/public/images/pinkline.png"; -import ID from "@/public/images/ID.png"; -import tiefen from "@/public/images/tiefen.png"; -import wechat from "@/public/images/wechat.png"; import { Toast } from "antd-mobile"; import baseRequest from "@/utils/baseRequest"; import { generateSignature } from "@/utils/crypto"; @@ -83,7 +78,7 @@ export default function Zone({ params }) {

- +

{data?.streamer_ext?.user_id}

@@ -111,8 +106,8 @@ export default function Zone({ params }) {

空间介绍

- @@ -147,7 +142,7 @@ export default function Zone({ params }) { document.getElementById("comfirm_modal").showModal(); }} > - +

查看更多内容

- +

解锁Ta的微信

@@ -176,8 +171,8 @@ export default function Zone({ params }) {

加入须知

- diff --git a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx index 5a9c28a..e2d9623 100644 --- a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx +++ b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx @@ -7,8 +7,6 @@ import { Toast, Switch } from "antd-mobile"; import { generateSignature } from "@/utils/crypto"; import webviewBaseRequest from "@/utils/webviewBaseRequest"; import { useRouter } from "next/navigation"; -import alipay from "@/public/images/alipay.png"; -import Image from "next/image"; export default function Pay({ params }) { const router = useRouter(); @@ -317,7 +315,11 @@ export default function Pay({ params }) { onClick={() => createOrder("yeepay_alipay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" > - +

支付宝支付

diff --git a/components/InOtherApp/index.jsx b/components/InOtherApp/index.jsx index 41e1868..8fb0507 100644 --- a/components/InOtherApp/index.jsx +++ b/components/InOtherApp/index.jsx @@ -28,7 +28,7 @@ export default function InOtherApp() { return (
- +

请前往浏览器打开 diff --git a/next.config.js b/next.config.js index bdac122..061e5a1 100644 --- a/next.config.js +++ b/next.config.js @@ -10,6 +10,10 @@ const nextConfig = { source: "/cors/:path*", destination: "https://file.tiefen.fun/:path*", }, + { + source: "/cdn/:path*", + destination: "https://filecdnhw01.tiefen.fun/public/:path*", + }, ]; }, transpilePackages: ["crypto-js"], -- 2.41.0