修复货位弹窗下拉刷新和上拉加载:CSS高度约束+refresher绑定
This commit is contained in:
parent
9b8bf98cb2
commit
1413010c16
@ -752,7 +752,7 @@
|
|||||||
<text class="wh-search-clear" v-if="popupLocationSearch" @click="clearLocationSearch">✕</text>
|
<text class="wh-search-clear" v-if="popupLocationSearch" @click="clearLocationSearch">✕</text>
|
||||||
<text class="wh-scan-btn" @click="scanLocationBarcode">📷</text>
|
<text class="wh-scan-btn" @click="scanLocationBarcode">📷</text>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view class="wh-location-list" scroll-y refresher-enabled="true" :refresher-triggered="popupRefreshing" @refresherrefresh="onPopupRefresh" @scrolltolower="loadMorePopupLocation">
|
<scroll-view class="wh-location-list" scroll-y :refresher-enabled="true" :refresher-triggered="popupRefreshing" @refresherrefresh="onPopupRefresh" @scrolltolower="loadMorePopupLocation">
|
||||||
<view
|
<view
|
||||||
class="wh-loc-item"
|
class="wh-loc-item"
|
||||||
v-for="loc in filteredLocationList"
|
v-for="loc in filteredLocationList"
|
||||||
@ -3202,6 +3202,15 @@ picker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ========== 仓库 Tabs ========== */
|
/* ========== 仓库 Tabs ========== */
|
||||||
|
.wh-tabs-body {
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
overflow: hidden !important;
|
||||||
|
max-height: none !important;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.wh-tabs-bar {
|
.wh-tabs-bar {
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
@ -3303,6 +3312,8 @@ picker {
|
|||||||
/* ========== 仓库货位列表 ========== */
|
/* ========== 仓库货位列表 ========== */
|
||||||
.wh-location-list {
|
.wh-location-list {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
height: 0;
|
||||||
|
min-height: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 10rpx 16rpx;
|
padding: 10rpx 16rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user