修复:收口小程序键盘遮挡适配
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<navigation-bar title="作品库" back="{{false}}" color="#2d2430" background="#fff7f8"></navigation-bar>
|
||||
|
||||
<view class="page-shell product-page">
|
||||
<view class="page-content product-page-content">
|
||||
<view class="page-shell product-page {{keyboardVisible ? 'keyboard-active' : ''}}">
|
||||
<view class="page-content product-page-content" style="{{keyboardVisible ? 'padding-bottom: ' + keyboardInsetRpx + 'rpx;' : ''}}">
|
||||
<view class="sticky-filter-bar">
|
||||
<view class="filter-surface">
|
||||
<view class="search-row">
|
||||
@@ -12,6 +12,11 @@
|
||||
value="{{searchKeyword}}"
|
||||
bindinput="handleSearchInput"
|
||||
bindconfirm="handleSearchConfirm"
|
||||
bindfocus="handleSearchFocus"
|
||||
bindblur="handleSearchBlur"
|
||||
data-keyboard-anchor="products-search-anchor"
|
||||
adjust-position="false"
|
||||
cursor-spacing="{{keyboardCursorSpacing}}"
|
||||
confirm-type="search"
|
||||
/>
|
||||
<view class="search-btn" bindtap="handleSearchConfirm">搜索</view>
|
||||
|
||||
Reference in New Issue
Block a user