浩楠啊
浩楠啊
  • 发布:2024-11-13 10:29
  • 更新:2024-11-15 13:15
  • 阅读:90

【报Bug】map地图组件在nvue中@callouttap不生效,补充@markertap方法也不生效

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: macOS14.5

HBuilderX类型: 正式

HBuilderX版本号: 4.29

手机系统: Android

手机系统版本号: Android 15

手机厂商: OPPO

手机机型: findx7

页面类型: nvue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

<map :enable-satellite="isMap" style="flex:1;" :style="{height:Height+'px'}" :latitude="latitude" :longitude="longitude" :scale="scale" :markers="markers" @callouttap="onCallouttap"></map>

操作步骤:

[
{
"id": 200000001,
"latitude": "31.238521",
"longitude": "121.483723",
"ids": "1852545534185250818",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海黄浦区...\n面积:4500\n租金:2.80元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000002,
"latitude": "31.951587099722232",
"longitude": "118.78519689482229",
"ids": "1853835036518342658",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京南站附...\n面积:3000\n租金:1.39元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000003,
"latitude": "31.405242",
"longitude": "121.489431",
"ids": "1853757452266856449",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海宝山区...\n面积:15000\n租金:0.40元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000004,
"latitude": "31.252305",
"longitude": "121.488355",
"ids": "1853333331053715458",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海虹口区...\n面积:6160\n租金:2.05元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000005,
"latitude": "32.331584",
"longitude": "121.18495",
"ids": "1852670179945291778",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南通独栋物...\n面积:9000\n租金:0.49元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000006,
"latitude": "31.405242",
"longitude": "121.489431",
"ids": "1852659548332564482",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海宝山独...\n面积:15000\n租金:0.50元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000007,
"latitude": "31.589484",
"longitude": "120.357732",
"ids": "1852609287748657154",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡锡山区...\n面积:8600\n租金:1.17元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000008,
"latitude": "31.342007",
"longitude": "120.821617",
"ids": "1852602832949682178",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "苏州时尚舞...\n面积:6800\n租金:1.30元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000009,
"latitude": "32.102615",
"longitude": "118.811213",
"ids": "1852601125385609217",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京栖霞区...\n面积:6000\n租金:1.30元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000010,
"latitude": "31.113987",
"longitude": "121.276459",
"ids": "1852549131786592257",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海松江区...\n面积:1300\n租金:2.20元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000011,
"latitude": "31.233462",
"longitude": "121.492156",
"ids": "1852307087436619777",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海外滩客...\n面积:4500\n租金:6.00元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000012,
"latitude": "31.345135",
"longitude": "121.50039",
"ids": "1852524143297765377",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海宝山区...\n面积:13000\n租金:1.85元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000013,
"latitude": "31.228205",
"longitude": "121.516925",
"ids": "1852521789898956801",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海浦东八...\n面积:11000\n租金:3.10元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000014,
"latitude": "31.112834",
"longitude": "121.380857",
"ids": "1852520525429547009",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海闵行区...\n面积:3200\n租金:2.80元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000015,
"latitude": "32.02066",
"longitude": "118.788899",
"ids": "1852519242672971778",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京夫子庙...\n面积:1880\n租金:2.40元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000016,
"latitude": "31.259588",
"longitude": "121.525409",
"ids": "1852484701770031106",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海杨浦区...\n面积:6400\n租金:1.60元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000017,
"latitude": "32.085367",
"longitude": "118.962043",
"ids": "1852454600395268097",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京江宁区...\n面积:2200\n租金:0.80元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000018,
"latitude": "31.233462",
"longitude": "121.492156",
"ids": "1852363471364628482",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海黄浦区...\n面积:4500\n租金:6.00元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000019,
"latitude": "31.27139",
"longitude": "121.52468",
"ids": "1852325004391817217",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海杨浦区...\n面积:6440\n租金:1.60元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 200000020,
"latitude": "31.597339",
"longitude": "120.459153",
"ids": "1852323478373998594",
"width": 24,
"height": 24,
"types": "出租",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡东站旁...\n面积:8600\n租金:1.10元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 0,
"latitude": 36.744801,
"longitude": 117.076862,
"width": 24,
"height": 24,
"iconPath": "https://admin.hotelquan.com/img/icon/myDingwei.png"
},
{
"id": 100000001,
"latitude": "34.22655",
"longitude": "117.194405",
"ids": "1852976554873266178",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "徐州泉山区...\n面积:3200\n转让费用:60.00万\n房间数量:66",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000002,
"latitude": "31.375566",
"longitude": "121.265276",
"ids": "1852544747686141953",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海嘉定区...\n面积:11000\n转让费用:免转让费\n房间数量:141",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000003,
"latitude": "31.221461",
"longitude": "121.544346",
"ids": "1852550570046988289",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海浦东8...\n面积:8700\n转让费用:400.00万\n房间数量:163",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000004,
"latitude": "31.311222",
"longitude": "120.600138",
"ids": "1852553629548486658",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "苏州姑苏区...\n面积:2700\n转让费用:260.00万\n房间数量:71",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000005,
"latitude": "30.208332",
"longitude": "120.211981",
"ids": "1852559358997110786",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "杭州滨江区...\n面积:9000\n转让费用:免转让费\n房间数量:155",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000006,
"latitude": "31.921642",
"longitude": "120.284794",
"ids": "1852642873432416258",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡市全季...\n面积:6000\n转让费用:1,500.00万\n房间数量:110",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000007,
"latitude": "31.921642",
"longitude": "120.284794",
"ids": "1852650188453781506",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡江阴市...\n面积:4000\n转让费用:免转让费\n房间数量:80",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000008,
"latitude": "30.234375",
"longitude": "119.724457",
"ids": "1852901955036848129",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "杭州70间...\n面积:4000\n转让费用:60.00万\n房间数量:70",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000009,
"latitude": "31.259588",
"longitude": "121.525409",
"ids": "1852904435665674242",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海杨浦区...\n面积:3000\n转让费用:免转让费\n房间数量:59",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000010,
"latitude": "34.266302",
"longitude": "117.203318",
"ids": "1852951785633292290",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "徐州云龙区...\n面积:3500\n转让费用:85.00万\n房间数量:66",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000011,
"latitude": "31.79232",
"longitude": "119.999439",
"ids": "1852543438723555330",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "常州天宁区...\n面积:6000\n转让费用:免转让费\n房间数量:116",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000012,
"latitude": "31.952818",
"longitude": "118.799886",
"ids": "1853387727246532610",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京600...\n面积:6000\n转让费用:200.00万\n房间数量:100",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000013,
"latitude": "",
"longitude": "",
"ids": "1853639574637060098",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "杭州滨江区...\n面积:5000\n转让费用:800.00万\n房间数量:94",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000014,
"latitude": "31.626402",
"longitude": "120.549416",
"ids": "1853658279999774722",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡锡山区...\n面积:2700\n转让费用:免转让费\n房间数量:50",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000015,
"latitude": "31.527846",
"longitude": "120.284381",
"ids": "1853665501152616450",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡滨湖区...\n面积:7000\n转让费用:180.00万\n房间数量:123",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000016,
"latitude": "31.566226",
"longitude": "120.303551",
"ids": "1853670757886402562",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡梁溪区...\n面积:3200\n转让费用:250.00万\n房间数量:60",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000017,
"latitude": "31.329601",
"longitude": "120.434238",
"ids": "1853754867308912641",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "苏州虎丘区...\n面积:3000\n转让费用:免转让费\n房间数量:54",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000018,
"latitude": "31.37217",
"longitude": "120.961398",
"ids": "1853829233711341569",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "昆山小体量...\n面积:1000\n转让费用:免转让费\n房间数量:36",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000019,
"latitude": "31.95904359466605",
"longitude": "118.79604240678846",
"ids": "1853830735402196993",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京南站附...\n面积:3000\n转让费用:200.00万\n房间数量:50",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000020,
"latitude": "39.928359",
"longitude": "116.416334",
"ids": "1854033907148140546",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "3\n面积:1\n转让费用:面议\n房间数量:1",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000021,
"latitude": "31.263604",
"longitude": "120.632094",
"ids": "1852359948522561538",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "苏州吴中区...\n面积:1500\n转让费用:60.00万\n房间数量:35",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000022,
"latitude": "31.26007",
"longitude": "120.509973",
"ids": "1852318413630283777",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "苏州吴中区...\n面积:1600\n转让费用:60.00万\n房间数量:34",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000023,
"latitude": "31.933381",
"longitude": "118.787787",
"ids": "1852327774637334530",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京江宁区...\n面积:10300\n转让费用:免转让费\n房间数量:190",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000024,
"latitude": "31.107679",
"longitude": "121.359954",
"ids": "1852334395774017538",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海国企经...\n面积:6000\n转让费用:280.00万\n房间数量:110",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000025,
"latitude": "31.113694",
"longitude": "121.579221",
"ids": "1852335577053601794",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海浦东酒...\n面积:8600\n转让费用:350.00万\n房间数量:163",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000026,
"latitude": "30.259242",
"longitude": "120.130396",
"ids": "1852336214357123073",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "杭州靠近西...\n面积:8000\n转让费用:900.00万\n房间数量:35",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000027,
"latitude": "31.407212",
"longitude": "121.275569",
"ids": "1852337989785034753",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "嘉定区综合...\n面积:11000\n转让费用:免转让费\n房间数量:137",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000028,
"latitude": "32.010277",
"longitude": "120.857253",
"ids": "1852350136942403585",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南通市区7...\n面积:4500\n转让费用:免转让费\n房间数量:70",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000029,
"latitude": "32.0415",
"longitude": "118.788055",
"ids": "1852355174481862658",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京秦淮区...\n面积:3900\n转让费用:660.00万\n房间数量:100",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000030,
"latitude": "31.953195",
"longitude": "118.83951",
"ids": "1852357464303411202",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京1万方...\n面积:10000\n转让费用:免转让费\n房间数量:190",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000031,
"latitude": "32.040797",
"longitude": "118.785067",
"ids": "1852305312042262529",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "南京新街口...\n面积:4000\n转让费用:660.00万\n房间数量:100",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000032,
"latitude": "31.722384",
"longitude": "119.587503",
"ids": "1852361701179596802",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "常州82间...\n面积:4000\n转让费用:免转让费\n房间数量:82",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000033,
"latitude": "31.112834",
"longitude": "121.380857",
"ids": "1852366223809519618",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海闵行区...\n面积:5000\n转让费用:28.00万\n房间数量:110",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000034,
"latitude": "31.194764",
"longitude": "121.347143",
"ids": "1852486939036950530",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海内环1...\n面积:11000\n转让费用:免转让费\n房间数量:180",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000035,
"latitude": "31.523085",
"longitude": "120.226545",
"ids": "1852488629769281538",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡滨湖区...\n面积:6000\n转让费用:免转让费\n房间数量:125",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000036,
"latitude": "31.722384",
"longitude": "119.587503",
"ids": "1852490313421627393",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "常州125...\n面积:7000\n转让费用:免转让费\n房间数量:125",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000037,
"latitude": "31.566226",
"longitude": "120.303551",
"ids": "1852528445873528834",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "无锡市区1...\n面积:5500\n转让费用:280.00万\n房间数量:100",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000038,
"latitude": "28.88899",
"longitude": "120.047356",
"ids": "1852531291499077634",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "金华市40...\n面积:2000\n转让费用:140.00万\n房间数量:40",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000039,
"latitude": "31.138525",
"longitude": "120.645728",
"ids": "1852533448893865985",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "苏州吴江区...\n面积:2500\n转让费用:170.00万\n房间数量:66",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 100000040,
"latitude": "30.222724",
"longitude": "120.121288",
"ids": "1852536668823298049",
"width": 24,
"height": 24,
"types": "转让",
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "杭州西湖别...\n面积:2500\n转让费用:900.00万\n房间数量:35",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 400000001,
"latitude": "31.398311",
"longitude": "121.500229",
"width": 24,
"height": 24,
"types": "公寓",
"ids": "1853860895476244482",
"gytype": 1,
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "上海宝山租...\n面积:15300\n费用:0.35元/㎡/天",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
},
{
"id": 400000002,
"latitude": "29.300062",
"longitude": "120.082279",
"width": 24,
"height": 24,
"types": "公寓",
"ids": "1853859679698509826",
"gytype": 0,
"iconPath": "https://admin.hotelquan.com/img/icon/dingwei.png",
"callout": {
"content": "义乌小商品...\n面积:5000\n费用:400.00万\n房间数量:150",
"bgColor": "rgb(43,71,249)",
"color": "#fff",
"fontSize": 12,
"padding": 5,
"display": "ALWAYS",
"borderRadius": "4"
}
}
]

预期结果:

实际结果:

bug描述:

每一个markers都绑定了唯一的id,但是在ios中正常可以触发@callouttap方法,测试多台安卓,在之前版本测试中是生效的,突然不生效,苹果手机是都可以触发这个事件的,

2024-11-13 10:29 负责人:DCloud_App_Array 分享
已邀请:
浩楠啊

浩楠啊 (作者)

技术大佬们能帮忙看看问题嘛?

浩楠啊

浩楠啊 (作者)

没人管这个问题吗?

DCloud_App_Array

DCloud_App_Array

nvue页面相关的功能已不再维护,如果确实需要解决可走付费技术支持来解决。

要回复问题请先登录注册