用到的属性是: :adjust-position="false"
uni-app 软键盘顶起底部fixed定位的输入框 页面就不会上滑
<view class="cu-bar search bg-white" style="position: fixed;left: 0;bottom: '键盘弹起的高度';width: 100%;z-index: 9999;" >
<view class="search-form">
<input :adjust-position="false" type="text" placeholder=" 请输入信息" v-model="my_say_text"></input>
<button @click="to_send" type="primary" style="height: 64upx;line-height: 64upx;margin-left: 16upx;background: #FF5959;">发送</button>
</view>
</view>
把这个值赋给fixed定位中的 bottom即可
:style="{bottom: inputOffsetBottom > 0 ? inputOffsetBottom + 'px' : '0'}"