flat:暂存

This commit is contained in:
Apcallover
2024-05-15 18:05:36 +08:00
parent 20bcc1cbce
commit 5d82ff12d4
9 changed files with 99 additions and 94 deletions

View File

@@ -163,7 +163,7 @@
this.$emit('regionchange', e.pixel) this.$emit('regionchange', e.pixel)
}); });
this.map.on('singleclick', (e) => { this.map.on('singleclick', (e) => {
this.$emit('clickMap', this.coordinate) this.$emit('clickMap', e.coordinate)
}); });
if (this.open) { if (this.open) {

View File

@@ -38,7 +38,7 @@ module.exports = {
} else { } else {
return { return {
'{oss_file_url}': 'https://dy12333.org.cn/api', '{oss_file_url}': 'https://dy12333.org.cn/api',
"http://10.165.0.173:8000": "https://dy12333.org.cn/api" "http://10.165.0.77:8000": "https://dy12333.org.cn/api"
} }
} }
})() })()

View File

@@ -75,6 +75,11 @@
"router": { "router": {
"base": "./", "base": "./",
"mode": "hash" "mode": "hash"
},
"optimization": {
"treeShaking": {
"enable": true
}
} }
} }
} }

View File

@@ -102,8 +102,8 @@
</view> </view>
<view class="map"> <view class="map">
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude" <super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:open="true" :zoom="14" :min-zoom="10" :max-zoom="20" @regionchange="show = false" :open="true" :zoom="14" :min-zoom="10" :max-zoom="20" :MapUrl="$config.supperMap"
:MapUrl="$config.supperMap" :flag-tip="false"></super-map> :flag-tip="false"></super-map>
</view> </view>
<!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> --> <!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> -->
</view> </view>

View File

@@ -105,8 +105,8 @@
</view> </view>
<view class="map"> <view class="map">
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude" <super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:open="true" :zoom="14" :min-zoom="10" :max-zoom="20" @regionchange="show = false" :open="true" :zoom="14" :min-zoom="10" :max-zoom="20" :MapUrl="$config.supperMap"
:MapUrl="$config.supperMap" :flag-tip="false"></super-map> :flag-tip="false"></super-map>
</view> </view>
<!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> --> <!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> -->
</view> </view>

View File

@@ -88,8 +88,8 @@
</view> </view>
<view class="map"> <view class="map">
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude" <super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:open="true" :zoom="14" :min-zoom="10" :max-zoom="20" @regionchange="show = false" :open="true" :zoom="14" :min-zoom="10" :max-zoom="20" :MapUrl="$config.supperMap"
:MapUrl="$config.supperMap" :flag-tip="false"></super-map> :flag-tip="false"></super-map>
</view> </view>
<!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> --> <!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> -->
</view> </view>

View File

@@ -96,8 +96,8 @@
</view> </view>
<view class="map"> <view class="map">
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude" <super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:open="true" :zoom="14" :min-zoom="10" :max-zoom="20" @regionchange="show = false" :open="true" :zoom="14" :min-zoom="10" :max-zoom="20" :MapUrl="$config.supperMap"
:MapUrl="$config.supperMap" :flag-tip="false"></super-map> :flag-tip="false"></super-map>
</view> </view>
<!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> --> <!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> -->
</view> </view>

View File

@@ -96,8 +96,8 @@
</view> </view>
<view class="map"> <view class="map">
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude" <super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:open="true" :zoom="14" :min-zoom="10" :max-zoom="20" @regionchange="show = false" :open="true" :zoom="14" :min-zoom="10" :max-zoom="20" :MapUrl="$config.supperMap"
:MapUrl="$config.supperMap" :flag-tip="false"></super-map> :flag-tip="false"></super-map>
</view> </view>
<!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> --> <!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> -->
</view> </view>

View File

@@ -135,8 +135,8 @@
</u-form-item> </u-form-item>
<view class="map"> <view class="map">
<super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude" <super-map ref="uMap" style="width: 100%;height: 100%;" :latitude="latitude" :longitude="longitude"
:open="true" :zoom="14" :min-zoom="10" :max-zoom="20" @regionchange="show = false" :open="true" :zoom="14" :min-zoom="10" :max-zoom="20" :MapUrl="$config.supperMap"
:MapUrl="$config.supperMap" :flag-tip="false"></super-map> :flag-tip="false"></super-map>
</view> </view>
<!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> --> <!-- <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> -->
</u--form> </u--form>