scroll-view 的事件为什么都不能触发?

发布于 7 年前作者 swu12334 次浏览最后编辑 7 年前来自 ask

<scroll-view class=‘bb’ upper-threshold lower-threshold bindscrolltoupper=‘a’ bindscrolltolower=‘b’ scroll-top bindtap=‘a’scroll-y=“false” scroll-x=“false”  bindscrolltoupper=“” bindscrolltolower=“” bindscroll=“” scroll-into-view=“” scroll-top=“500”>

<scroll-view class=‘aa’ upper-threshold lower-threshold bindscrolltoupper=‘a’ bindscrolltolower=‘b’ scroll-top bindtap=‘b’ bindscroll=‘c’ >位置</scroll-view>

<image src=‘…/img/00.jpg’></image>

</scroll-view>  

//js

a:function(){

console.log(1)

},

b:function(){

console.log(2)

},

c: function () {

console.log(3)

},

1 回复
ryao
ryao1 楼5 年前

亲,没有设置高度