Merge branch 'main' of https://git.zdool.com/xs/yxdt/h5 into main

This commit is contained in:
liuyalei 2024-03-07 13:28:59 +08:00
commit fa6ba1fd30
2 changed files with 15 additions and 9 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -24,7 +24,7 @@
</div> </div>
</div> </div>
<div id="mapDiv"></div> <div id="mapDiv"></div>
<van-floating-panel v-model:height="height" :anchors="anchors"> <van-floating-panel v-model:height="height" :anchors="anchors" :content-draggable="false">
<van-sticky style="background-color: #fff; z-index: 99"> <van-sticky style="background-color: #fff; z-index: 99">
<van-search <van-search
v-model="dropdown.sesh" v-model="dropdown.sesh"
@ -48,7 +48,12 @@
/> />
</van-dropdown-menu> </van-dropdown-menu>
</van-sticky> </van-sticky>
<div class="card"> <van-cell-group
class="card"
:style="{
height: height - 132 + 'px',
}"
>
<div <div
class="cardlist" class="cardlist"
v-for="(item, index) in dropdown.rmyy" v-for="(item, index) in dropdown.rmyy"
@ -59,7 +64,7 @@
class="imgse" class="imgse"
:src=" :src="
item.img || item.img ||
'https://ts4.cn.mm.bing.net/th?id=OIP-C.loXEDwoMcxdPH4Ka75v3qgHaFU&w=294&h=211&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2' 'https://tse2-mm.cn.bing.net/th/id/OIP-C.74NfMybvAFf0IxWZBMN1vgHaFM?w=253&h=180&c=7&r=0&o=5&pid=1.7'
" "
alt="" alt=""
/> />
@ -96,7 +101,7 @@
> >
没有更多了 没有更多了
</van-divider> </van-divider>
</div> </van-cell-group>
</van-floating-panel> </van-floating-panel>
<!-- <van-popup <!-- <van-popup
:show="true" :show="true"
@ -143,7 +148,7 @@
class="imgse" class="imgse"
:src=" :src="
item.img || item.img ||
'https://ts4.cn.mm.bing.net/th?id=OIP-C.loXEDwoMcxdPH4Ka75v3qgHaFU&w=294&h=211&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2' 'https://tse2-mm.cn.bing.net/th/id/OIP-C.74NfMybvAFf0IxWZBMN1vgHaFM?w=253&h=180&c=7&r=0&o=5&pid=1.7'
" "
alt="" alt=""
/> />
@ -195,7 +200,7 @@
style="width: 100%; height: 100%; border-radius: 5px" style="width: 100%; height: 100%; border-radius: 5px"
:src=" :src="
showdata.img || showdata.img ||
'https://ts4.cn.mm.bing.net/th?id=OIP-C.loXEDwoMcxdPH4Ka75v3qgHaFU&w=294&h=211&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2' 'https://tse2-mm.cn.bing.net/th/id/OIP-C.74NfMybvAFf0IxWZBMN1vgHaFM?w=253&h=180&c=7&r=0&o=5&pid=1.7'
" "
alt="" alt=""
/> />
@ -254,10 +259,11 @@ import img18 from "@/assets/home/wdwz.png";
import img19 from "@/assets/home/xzwz.png"; import img19 from "@/assets/home/xzwz.png";
const anchors = [ const anchors = [
Math.round(0.3 * window.innerHeight), Math.round(0.3 * window.innerHeight),
Math.round(0.6 * window.innerHeight), Math.round(0.5 * window.innerHeight),
Math.round(0.8 * window.innerHeight),
Math.round(1 * window.innerHeight), Math.round(1 * window.innerHeight),
]; ];
const height = ref(anchors[0]); const height = ref(anchors[1]);
const count = ref(0); const count = ref(0);
var map = null; var map = null;
var control = null; var control = null;
@ -676,8 +682,8 @@ const getlists = () => {
.card { .card {
width: 100%; width: 100%;
height: calc(100% - 132px);
overflow: auto; overflow: auto;
// z-index: 9999;
padding-bottom: 80px; padding-bottom: 80px;
.card ::-webkit-scrollbar { .card ::-webkit-scrollbar {