From 6fef9588003f39d4a923c12b379e7a36d1d31bf2 Mon Sep 17 00:00:00 2001 From: al Date: Mon, 19 Aug 2024 12:54:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ImagesMask/index.jsx | 57 ++++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/components/ImagesMask/index.jsx b/components/ImagesMask/index.jsx index c177224..00da305 100644 --- a/components/ImagesMask/index.jsx +++ b/components/ImagesMask/index.jsx @@ -9,13 +9,7 @@ import React, { } from "react"; import { Mask, Image } from "antd-mobile"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { - faAngleLeft, - faAngleRight, - faDownload, - faMinus, - faAdd, -} from "@fortawesome/free-solid-svg-icons"; +import { faAngleLeft, faAngleRight } from "@fortawesome/free-solid-svg-icons"; import { createRoot } from "react-dom/client"; import { useRouter } from "next/navigation"; import baseRequest from "@/utils/baseRequest"; @@ -274,10 +268,51 @@ const ImagesMaskContaint = forwardRef( }} className="flex justify-center items-center w-[38px] h-[38px] bg-[#ffffff1a] text-[#fff] rounded-full" > - + {!zoomed ? ( + + + + + ) : ( + + + + + )}