flat:暂存
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
|
|||||||
@@ -75,6 +75,11 @@
|
|||||||
"router": {
|
"router": {
|
||||||
"base": "./",
|
"base": "./",
|
||||||
"mode": "hash"
|
"mode": "hash"
|
||||||
|
},
|
||||||
|
"optimization": {
|
||||||
|
"treeShaking": {
|
||||||
|
"enable": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user