纯WXSS实现-小程序模块高度等于屏幕高度减固定值
发布于 3 年前 作者 jie29 2089 次浏览 来自 分享

直接上代码,相信有需要的朋友一看就懂

page{

  height: 100%;

}

view {

  height: -webkit-calc(100% - 100rpx) !important;

  height: -moz-calc(100% - 100rpx) !important;

  height: calc(100% - 100rpx) !important;

 }

回到顶部