diff --git a/components/Photos/index.js b/components/Photos/index.js index 11da1b3..c15e1a2 100644 --- a/components/Photos/index.js +++ b/components/Photos/index.js @@ -68,7 +68,6 @@ export default function Photos({ const showPhotos = (photos, index) => { currentIndex.current = index; const interval = setInterval(() => { - console.log("bbbbbb") const bodyBox = document.getElementsByClassName("photos-bodyBox")[0]; if (bodyBox) { bodyBox.firstChild.lastChild.style.transform = `translateX(-${ @@ -210,7 +209,7 @@ export default function Photos({ <>
1 ? "grid grid-cols-3 gap-1.5 min-h-[24vw]" : "min-h-[38vw] w-max" + currentPhotos.length > 1 ? "grid grid-cols-3 gap-1.5 min-h-[24vw]" : "w-max" }`} > {currentPhotos.map((item, index) => { @@ -248,9 +247,9 @@ export default function Photos({
+
} - width={currentPhotos.length > 1 ? "24vw" : "36vw"} + width={currentPhotos.length > 1 ? "24vw" : "46vw"} height={currentPhotos.length > 1 ? "24vw" : "100%"} className={`rounded max-w-full ${ item?.type == "hid" && type == "space" ? "imageBlur" : "" diff --git a/next.config.js b/next.config.js index 0f3d125..cc8c70d 100644 --- a/next.config.js +++ b/next.config.js @@ -4,7 +4,7 @@ const nextConfig = { return [ { source: "/api/:path*", - destination: "https://h5api.tiefen.fun/api/:path*", + destination: "https://testapi.tiefen.fun/api/:path*", }, ]; },