style
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<scroll-view :scroll-y="true" class="nearby-scroll" @scrolltolower="scrollBottom">
|
<scroll-view :scroll-y="true" class="nearby-scroll" @scrolltolower="scrollBottom">
|
||||||
<view class="nearby-map" @touchmove.stop.prevent>
|
<view class="nearby-map" @touchmove.stop.prevent>
|
||||||
<map
|
<map
|
||||||
style="width: 100%; height: 410rpx"
|
style="width: 100%; height: 690rpx"
|
||||||
:latitude="latitudeVal"
|
:latitude="latitudeVal"
|
||||||
:longitude="longitudeVal"
|
:longitude="longitudeVal"
|
||||||
:markers="mapCovers"
|
:markers="mapCovers"
|
||||||
@@ -111,11 +111,12 @@ const mapControls = ref([
|
|||||||
id: 1,
|
id: 1,
|
||||||
position: {
|
position: {
|
||||||
// 控件位置
|
// 控件位置
|
||||||
left: customSystem.systemInfo.screenWidth - 48 - 14,
|
left: customSystem.systemInfo.screenWidth - uni.upx2px(75 + 30),
|
||||||
top: 320,
|
top: uni.upx2px(655 - 75 - 30),
|
||||||
width: 48,
|
width: uni.upx2px(75),
|
||||||
height: 48,
|
height: uni.upx2px(75),
|
||||||
},
|
},
|
||||||
|
width:100,
|
||||||
iconPath: LocationPng, // 控件图标
|
iconPath: LocationPng, // 控件图标
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
@@ -221,27 +222,23 @@ onMounted(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function getInit() {
|
function getInit() {
|
||||||
useLocationStore()
|
mapCovers.value = [
|
||||||
.getLocation()
|
{
|
||||||
.then((res) => {
|
latitude: latitudeVal.value,
|
||||||
mapCovers.value = [
|
longitude: longitudeVal.value,
|
||||||
{
|
iconPath: point2,
|
||||||
latitude: res.latitude,
|
},
|
||||||
longitude: res.longitude,
|
];
|
||||||
iconPath: point2,
|
mapCircles.value = [
|
||||||
},
|
{
|
||||||
];
|
latitude: latitudeVal.value,
|
||||||
mapCircles.value = [
|
longitude:longitudeVal.value,
|
||||||
{
|
radius: 1000,
|
||||||
latitude: res.latitude,
|
fillColor: '#1c52fa25',
|
||||||
longitude: res.longitude,
|
color: '#256BFA',
|
||||||
radius: 1000,
|
},
|
||||||
fillColor: '#1c52fa25',
|
];
|
||||||
color: '#256BFA',
|
getJobList('refresh');
|
||||||
},
|
|
||||||
];
|
|
||||||
getJobList('refresh');
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function progressChange(value) {
|
function progressChange(value) {
|
||||||
@@ -363,7 +360,7 @@ defineExpose({ loadData, handleFilterConfirm });
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: #f4f4f4;
|
background: #f4f4f4;
|
||||||
.nearby-map
|
.nearby-map
|
||||||
height: 400rpx;
|
height: 655rpx;
|
||||||
background: #e8e8e8;
|
background: #e8e8e8;
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
.nearby-list
|
.nearby-list
|
||||||
|
|||||||
Reference in New Issue
Block a user