微信小程序联调

This commit is contained in:
zhonghua.li
2026-04-18 07:52:47 +08:00
parent 36b8784bc1
commit d18a546915
23 changed files with 199 additions and 106 deletions

View File

@@ -524,12 +524,18 @@ export default {
<style>
.reception-form-wrapper {
/* 使用绝对定位从tab页底部开始高度计算100vh - 导航栏(88rpx) - tab页(72rpx) - 底部导航栏(96rpx) */
/* 由父组件传入 topcomputedContentTop避免不同机型写死 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%;