由于部分機型底部操作欄高度計算異常導致下單按鈕下沉問題
修復方法如下
文件目錄:/pages/order_addcart/order_addcart.vue
搜索.shoppingCart .footer 和 .shoppingCart .footer.on css樣式將下方代碼將其替換
.shoppingCart .footer {
z-index: 999;
width: 100%;
height: 96rpx;
background-color: #fafafa;
position: fixed;
padding: 0 30rpx;
box-sizing: border-box;
border-top: 1rpx solid #eee;
bottom: 98rpx;
bottom: calc(98rpx + constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
bottom: calc(98rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
}
.shoppingCart .footer.on {
// #ifndef H5
bottom: 0rpx;
// #endif
// #ifdef MP
bottom: 100rpx;
bottom: calc(100rpx + constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
bottom: calc(100rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
// #endif
}