|
|
@@ -5,6 +5,7 @@ import "swiper/css";
|
|
|
import "swiper/css/pagination";
|
|
|
import "swiper/css/navigation";
|
|
|
import "./css/swiper-custom.css";
|
|
|
+import Link from "next/link";
|
|
|
import { OpenAddToCartModalButton } from "@/components/common/AddToCartModal/OpenAddToCartModalButton";
|
|
|
import type {HomeProduct,HomeSectionImage} from "@/types/home/type"
|
|
|
interface zeroWearProps {
|
|
|
@@ -77,9 +78,9 @@ const MiddleImageSwiper = ({ zeroWear,zeroWearImage }: zeroWearProps) => {
|
|
|
/>
|
|
|
|
|
|
<div className="p-2 flex flex-col gap-2">
|
|
|
- <p className="text-sm text-gray-800 truncate">
|
|
|
+ <Link href={`/${item.urlKey}.html`} className="text-sm text-gray-800 truncate">
|
|
|
{item.name}
|
|
|
- </p>
|
|
|
+ </Link>
|
|
|
{/* 价格 + 购物车图标 */}
|
|
|
<div className="flex items-center justify-between">
|
|
|
<div className="flex items-center gap-1">
|