- 页面下拉刷新,开发工具上可以,但真机预览就不行?
微信版本:7.0.13,机型:小米手机 红米note8,系统版本miui 11, wxss .image{ width: 100%; height: 100vh; background-color: rgba(0,0,0,.2); } .review{ position: absolute; left: 60rpx; right: 0; top: 10%; line-height: 60rpx; text-align: center; z-index: 900; } wxml <image class="image" mode="scaleToFill" src='../../images/35359631.jpg'></image> <text class="review">{{currentText}}</text> json { "enablePullDownRefresh": true, "backgroundTextStyle": "dark" } js onPullDownRefresh () { this.loadMore() wx.stopPullDownRefresh() },
2020-04-25 - 页面背景图片如何全屏呢?尝试设置width100%均无效
wxss和wxml如下,很简单的示例,不知道为啥就不能铺开 [图片] <image mode="scaleToFill" src='../../images/35359631.jpg'></image> .image{ width: 100%; height: 100%; background-color: rgba(0,0,0,.2); }
2020-04-21