< view wx:if = "{{newlist!=''}}" > < scroll-view bindscroll = "scroll" style = "height:{{scrollHeight}}px;overflow:auto" class = "scrollview-list" scroll-y = "true" bindscrolltolower = "lowermore" > < view wx:for = "{{newlist}}" wx:key = "" > < view data-productId = "{{item.productId}}" data-shopId = "{{item.shopId}}" catchtap = "clickitem" class = "topContainsView" > < image class = "goodsImage" src = "{{item.imageUrl}}" mode = 'scaleToFill' /> < view class = "topRightView" > < text class = "topRightName" >{{item.productName}} </ text > < text class = "topRightTime" >¥{{item.price}}</ text > < view class = "saleAndcom" > < text class = "saletext" >{{item.storeName}}</ text > < text class = "saleRightText" >運(yùn)費:{{item.postPrice}} 銷量{{item.salesVolume}}</ text > </ view > </ view > </ view > </ view > 到底了哦~ </ scroll-view > </ view > |
發(fā)現(xiàn)沒有調(diào)用lowermore,為什么呢?高度我已經(jīng)獲取到了
網(wǎng)友回復(fù):
今天早上微信開發(fā)工具提示我重啟,重啟在手機(jī)上就正常了,有點懵啊,昨天都關(guān)掉再開也沒用啊,估計是要重啟電腦?
抱歉,是因為查詢結(jié)果進(jìn)行了if~else使得頁面沒充滿,所以無效,請把問題關(guān)閉吧,謝謝