fix
pyt
2025-03-04 4760be29f0237c9b3445ec067a0e62407efebaff
fix
3个文件已修改
5 ■■■■■ 已修改文件
H5/manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/location/location.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/static/home/img2.png 补丁 | 查看 | 原始文档 | blame | 历史
H5/manifest.json
@@ -1,6 +1,6 @@
{
    "name" : "三个身边",
    "appid" : "__UNI__DB035F5",
    "appid" : "__UNI__4B73B99",
    "description" : "",
    "versionName" : "1.0.0",
    "versionCode" : "100",
H5/pages/location/location.vue
@@ -155,6 +155,7 @@
                var myGeo = new BMapGL.Geocoder();
                // 根据坐标得到地址描述    
                myGeo.getLocation(new BMapGL.Point(longitude, latitude), (result) => {
                    that.city = result.addressComponents.city
                    that.locationList = result.surroundingPois.map((item, index) => {
                        item.id = index + 1
                        return item
@@ -194,7 +195,7 @@
                var myGeo = new BMapGL.Geocoder();
                // 根据坐标得到地址描述    
                myGeo.getLocation(new BMapGL.Point(e.latlng.lng, e.latlng.lat), (result) => {
                    console.log(result,'result');
                                        this.city = result.addressComponents.city
                    if( result.surroundingPois.length>0){
                        this.locationList = result.surroundingPois.map((item, index) => {
                            item.id = index + 1
H5/static/home/img2.png