< scroll-view scroll-y style = "height: {{scrollHeight}}px;" bindscrolltoupper = "upper" bindscrolltolower = "lower" bindscroll = "scroll" scroll-into-view = "{{menuGoodsToView}}" scroll-top = "{{scrollTop}}" > <!--优惠券--> < scroll-view class = "coupon-list" scroll-x style = "width:{{windowWidth-90}}px;" hidden="{{coupon_list && coupon_list.length>0?false:true}}"> </ scroll-view > </ scroll-view > |
嵌套后内层的<
scroll-view
scroll-x> 无效