This commit is contained in:
parent
fa6ba1fd30
commit
3888bfefef
|
@ -24,7 +24,11 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="mapDiv"></div>
|
||||
<van-floating-panel v-model:height="height" :anchors="anchors" :content-draggable="false">
|
||||
<van-floating-panel
|
||||
v-model:height="height"
|
||||
:anchors="anchors"
|
||||
:content-draggable="false"
|
||||
>
|
||||
<van-sticky style="background-color: #fff; z-index: 99">
|
||||
<van-search
|
||||
v-model="dropdown.sesh"
|
||||
|
@ -51,7 +55,7 @@
|
|||
<van-cell-group
|
||||
class="card"
|
||||
:style="{
|
||||
height: height - 132 + 'px',
|
||||
height: height - 152 + 'px',
|
||||
}"
|
||||
>
|
||||
<div
|
||||
|
@ -260,7 +264,6 @@ import img19 from "@/assets/home/xzwz.png";
|
|||
const anchors = [
|
||||
Math.round(0.3 * window.innerHeight),
|
||||
Math.round(0.5 * window.innerHeight),
|
||||
Math.round(0.8 * window.innerHeight),
|
||||
Math.round(1 * window.innerHeight),
|
||||
];
|
||||
const height = ref(anchors[1]);
|
||||
|
@ -798,4 +801,7 @@ const getlists = () => {
|
|||
top: 45%;
|
||||
left: 45%;
|
||||
}
|
||||
:deep(.van-floating-panel__header) {
|
||||
margin: 10px auto 10px;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue