This commit is contained in:
2026-07-21 10:57:54 +03:30
parent a60f1fbc68
commit bc642e91ed
10 changed files with 159 additions and 33 deletions
@@ -1,9 +1,11 @@
<template>
<div>
<div
class="flex flex-col gap-4 mpage-content px-2 pb-[calc(var(--app-bottom-chrome-height)+var(--app-add-card-height)+1rem)]"
>
<RequestItem v-for="item in requestItems" :key="item.id" :item="item" />
<div class="physical-receive-list">
<div class="physical-receive-list__scroll mpage-content px-2">
<div
class="flex flex-col gap-4 pb-[calc(var(--app-add-card-height,88px)+1.25rem)]"
>
<RequestItem v-for="item in requestItems" :key="item.id" :item="item" />
</div>
</div>
<Teleport to="body">
<div class="add-request app-dock-add-bar" @click="openAdd()">
@@ -21,3 +23,21 @@ import { usePhysicalReceiveListContext } from '../composables/usePhysicalReceive
const { requestItems, openAdd } = usePhysicalReceiveListContext()
</script>
<style scoped>
.physical-receive-list {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
overflow: hidden;
}
.physical-receive-list__scroll {
flex: 1 1 0;
min-height: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior-y: contain;
}
</style>