删除产品详情页主图上的图片计数器
This commit is contained in:
parent
d7a1682e9b
commit
fb612d1f3f
@ -181,13 +181,6 @@ const ProductImageGallery = ({ data }) => {
|
|||||||
loading="lazy"
|
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 && (
|
{data.attachments.length > 1 && (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user