.page { width: 100%; height: 100%; background: url(http://img.weiye.me/zcimgdir/album/file_597701fe8e3d9.png) no-repeat; background-size: cover; text-align: center; font-size: 14px; background-attachment: fixed; } <view class="page"> </view>
.page { width: 100%; height: 100%; background: url(http://img.weiye.me/zcimgdir/album/file_597701fe8e3d9.png) no-repeat; background-size: cover; text-align: center; font-size: 14px; background-attachment: fixed; } <view class="page"> </view>
转载于:https://www.cnblogs.com/gjack/p/8284917.html