开发小程序的焦点图时,我们喜欢使用小程序提成的swiper来实现,多个图片时希望能够漏出一点下一项:

previous-margin 、next-margin

uniapp swiper 展示前一项、后一项

但是还是需要注意一下细节

swiper-item 的宽度不要手动设置,让它自适应(人家自己会自动设置好),
我们对于每个item的展示,可以单独去设置

相关文章:

  • 2022-01-31
  • 2021-11-07
  • 2021-07-17
  • 2021-05-31
猜你喜欢
  • 2021-09-25
  • 2021-11-24
  • 2021-08-23
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案