微信小程序联调
This commit is contained in:
@@ -524,12 +524,18 @@ export default {
|
||||
|
||||
<style>
|
||||
.reception-form-wrapper {
|
||||
/* 使用绝对定位,从tab页底部开始,高度计算:100vh - 导航栏(88rpx) - tab页(72rpx) - 底部导航栏(96rpx) */
|
||||
/* 由父组件传入 top(computedContentTop),避免不同机型写死 160rpx 导致大空白 */
|
||||
position: absolute;
|
||||
top: 160rpx; /* 导航栏(88rpx) + tab页(72rpx) = 160rpx */
|
||||
top: 0; /* top 值通过父组件的内联 style 动态设置 */
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 96rpx; /* 底部导航栏高度 */
|
||||
/* #ifndef MP-WEIXIN */
|
||||
bottom: 96rpx; /* H5 环境:底部导航栏高度 */
|
||||
/* #endif */
|
||||
/* #ifdef MP-WEIXIN */
|
||||
/* 微信小程序:本页非 tabBar,容器可延伸到视口底部 */
|
||||
bottom: 0 !important;
|
||||
/* #endif */
|
||||
background-color: #F5F5F5;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user