调整来馆面板列表内部滚动
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-10 11:46:59 +08:00
parent a5b19db355
commit 5a218862e6

View File

@@ -45,7 +45,11 @@
</view>
</view>
<view class="arrival-list">
<scroll-view
class="arrival-list"
scroll-y
:show-scrollbar="false"
>
<view
v-for="target in targets"
:key="target.id"
@@ -61,7 +65,7 @@
</view>
<text v-if="target.id === selectedTargetId" class="arrival-target-state">已选</text>
</view>
</view>
</scroll-view>
<view
class="arrival-primary"
@@ -323,7 +327,9 @@ defineExpose({
width: min(430px, calc(100vw - 24px));
max-height: min(58vh, 520px);
padding: 10px 14px 14px;
overflow-y: auto;
display: flex;
flex-direction: column;
overflow: hidden;
box-sizing: border-box;
background: #ffffff;
border: 1px solid rgba(31, 35, 41, 0.08);
@@ -484,7 +490,12 @@ defineExpose({
}
.arrival-list {
flex: 1 1 auto;
min-height: 0;
margin-top: 10px;
overflow-y: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
}
.arrival-target-row {
@@ -569,6 +580,7 @@ defineExpose({
.arrival-primary {
height: 44px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;