微信开发工具 v1.02.1802080
swiper-item 和 scroll-view 及其中间的所有 view 都需要设置 height: 100%;
设置具体初始高度: style="height:{
{winHeight}}px"
如果仍然有问题, 需要设置scroll-view
的滚动方向 :
scroll-x="false"
scroll-y="true"
示例代码:
wxml 中:
<swiper current="{
{
currentTab}}