61 lines
2.2 KiB
JavaScript
61 lines
2.2 KiB
JavaScript
|
"use client";
|
|||
|
|
|||
|
import React from "react";
|
|||
|
import { Image } from "antd-mobile";
|
|||
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|||
|
import { faAngleLeft } from "@fortawesome/free-solid-svg-icons";
|
|||
|
import { useRouter } from "next/navigation";
|
|||
|
export default function AddToHome() {
|
|||
|
const router = useRouter();
|
|||
|
return (
|
|||
|
<div>
|
|||
|
<div className="p-4 fixed top-0 z-10 w-full bg-black">
|
|||
|
<div className="w-9 h-9 flex items-center justify-center bg-[#FFFFFF1A] rounded-full float-left absolute">
|
|||
|
<FontAwesomeIcon
|
|||
|
icon={faAngleLeft}
|
|||
|
size="xl"
|
|||
|
onClick={() => {
|
|||
|
router.push("/my");
|
|||
|
}}
|
|||
|
/>
|
|||
|
</div>
|
|||
|
<p className="text-base text-center leading-9">我的钱包</p>
|
|||
|
</div>
|
|||
|
{/* 内容 */}
|
|||
|
<div className="p-4 mt-14">
|
|||
|
<div>
|
|||
|
<p className="text-base font-bold">在浏览器中如何将铁粉空间添加到主屏幕</p>
|
|||
|
<p className="text-xs text-[red]">注:请勿在当前页面点击[添加到主屏幕]</p>
|
|||
|
<p className="text-xs my-2 text-[#ffffff69]">以IOS的“Safari”浏览器为例</p>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<p className="text-xs mt-4 mb-2">1.在浏览器中打开主界面,点击浏览器中的[分享]按钮。</p>
|
|||
|
<div className="flex justify-center">
|
|||
|
<Image
|
|||
|
src={"/images/addToHome1.png"}
|
|||
|
placeholder=""
|
|||
|
className="w-[60%]"
|
|||
|
/>
|
|||
|
</div>
|
|||
|
<p className="text-xs mt-4 mb-2">2.打开分享弹框后,点击[添加到主屏幕]。</p>
|
|||
|
<div className="flex justify-center">
|
|||
|
<Image
|
|||
|
src={"/images/addToHome2.png"}
|
|||
|
placeholder=""
|
|||
|
className="w-[60%]"
|
|||
|
/>
|
|||
|
</div>
|
|||
|
<p className="text-xs mt-4 mb-2">3.打开添加到主屏幕弹框后,点击[添加]按钮即可成功添加到主屏幕。</p>
|
|||
|
<div className="flex justify-center">
|
|||
|
<Image
|
|||
|
src={"/images/addToHome3.png"}
|
|||
|
placeholder=""
|
|||
|
className="w-[60%]"
|
|||
|
/>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
);
|
|||
|
}
|