Browse Source

商品滚动图轮播

master
pcn_ 2 weeks ago
parent
commit
7985f0a1a4
  1. 2
      src/pages/index/BestSellers.tsx

2
src/pages/index/BestSellers.tsx

@ -119,7 +119,7 @@ const BestSellers = () => {
{item.pics.map((pic, picIndex) => ( {item.pics.map((pic, picIndex) => (
<SwiperItem key={picIndex}> <SwiperItem key={picIndex}>
<Image <Image
radius="10px 10px 0 0"
radius="12px 12px 0 0"
height={SWIPER_HEIGHT} height={SWIPER_HEIGHT}
src={pic} src={pic}
mode={'aspectFill'} // 使用aspectFill保持比例并填充容器 mode={'aspectFill'} // 使用aspectFill保持比例并填充容器

Loading…
Cancel
Save