内容多了下方就显示不全,但是滚动条也没自动出现,怎么添加
< scroll-view scroll-y = "true" style = "height: 200px" > < view class = "container" > < view class = "userinfo" > < view class = 'table' > < view class = 'td' >相关内容</ view > < view wx:for = "{{item}}" wx:key = "navItems2" wx:for-index = "index" wx:for-item = "f" > < view class = 'td' >{{f.question}} </ view > </ view > </ view > </ view > </ view > </ scroll-view > |
已解决
检查container、userinfo里面的布局方式
可能是200高度的问题 你设置一个自适应看一下