html:
<view class=“subBtn” :class=“subState?’’:‘disable’” @tap=“subFun”>提交
css:
.subBtnBox{
width:750rpx;
// height:164rpx;
height: calc(164rpx + env(safe-area-inset-bottom));
position: fixed;
left:0;
bottom:0;
.subBtn{
width: 710rpx;
height: 72rpx;
background: linear-gradient(90deg, #FF9465 0%, #FF4A1A 100%);
border-radius: 44rpx;
text-align: center;
line-height:72rpx;
font-size: 28rpx;
color:#FFFFFF;
margin:46rpx auto;
&.disable{
background:#E4E4E4;
color:#999999;
}
}
}
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201229154127414.JPG?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl81MzQ3## 标题NDg3MQ==,size_16,color_FFFFFF,t_70)底部按钮展示不全