From bfcdbb60f4dff8ccdeb25bbf93cdf570b735c15d Mon Sep 17 00:00:00 2001 From: al Date: Wed, 7 Aug 2024 16:00:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=A2=84=E8=A7=88=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=B7=BB=E5=8A=A0=E5=88=87=E6=8D=A2=E6=8C=89=E9=92=AE?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9=E5=85=B6=E4=BB=96=E6=9C=89=E5=85=B3?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 6 +- app/index.css | 27 +++++++- app/layout.js | 1 + app/login/page.js | 13 ++-- app/my/unlockedWechat/page.jsx | 2 +- app/page.js | 4 +- app/search/page.js | 2 + app/space/[id]/page.js | 2 +- app/space/page.js | 7 +- components/AddToHome/index.jsx | 112 +++++++++++++++++++++--------- components/ImagesMask/index.jsx | 117 ++++++++++++++++++++++++++++++++ components/Photos/index.js | 95 ++++++++++++++++++++++---- components/PostItem/index.js | 2 +- package-lock.json | 17 +++++ package.json | 1 + public/icons/left.png | Bin 0 -> 2186 bytes public/icons/right.png | Bin 0 -> 2205 bytes 17 files changed, 342 insertions(+), 66 deletions(-) create mode 100644 components/ImagesMask/index.jsx create mode 100644 public/icons/left.png create mode 100644 public/icons/right.png diff --git a/app/globals.css b/app/globals.css index 63b70d9..6e694a3 100644 --- a/app/globals.css +++ b/app/globals.css @@ -37,6 +37,9 @@ footer{ /* .adm-image-viewer-slides-inner > *{ margin: 0; } */ +.adm-swiper-horizontal .adm-swiper-track { + transform: none; +} .custom-tabs .adm-tabs { border: none; --active-line-color: #ff8383; @@ -301,4 +304,5 @@ footer{ .adm-checkbox.adm-checkbox-checked .adm-checkbox-icon { border-color: #FF669E; background-color: #FF669E; -} \ No newline at end of file +} + diff --git a/app/index.css b/app/index.css index d3cccab..3cd366d 100644 --- a/app/index.css +++ b/app/index.css @@ -35,4 +35,29 @@ } - +.imagesBtnsControllers{ + position: fixed; + top: 50%; + width: 100%; + display: flex; + padding: 0 12px; + justify-content: space-between; + z-index: 10001; + pointer-events: none; +} +.imagesBtnsControllerLeft,.imagesBtnsControllerRight{ + width: 42px; + height: 42px; + border-radius: 53px; + background-color: #0000001A; + background-size: contain; + background-repeat: no-repeat; + pointer-events: all; +} +.imagesBtnsControllerLeft{ + background-image: url("/icons/left.png"); + opacity: 0.5; +} +.imagesBtnsControllerRight{ + background-image: url("/icons/right.png"); +} \ No newline at end of file diff --git a/app/layout.js b/app/layout.js index c7bc061..30ee1b0 100644 --- a/app/layout.js +++ b/app/layout.js @@ -193,6 +193,7 @@ export default function RootLayout({ children }) {
{withAuth({children})} {/* {children} */} +