删除产品详情页主图上的图片计数器

This commit is contained in:
jingrow 2025-08-24 21:59:29 +08:00
parent d7a1682e9b
commit fb612d1f3f

View File

@ -181,13 +181,6 @@ const ProductImageGallery = ({ data }) => {
loading="lazy"
/>
{/* 图片计数器 */}
{data.attachments.length > 1 && (
<div className="absolute bottom-3 right-3 bg-black/60 text-white text-xs px-2 py-1 rounded-full backdrop-blur-sm">
{currentImageIndex + 1} / {data.attachments.length}
</div>
)}
{/* 导航箭头 - 悬浮时显示 */}
{data.attachments.length > 1 && (
<>