直接用接口
"https://restapi.amap.com/v3/place/text?keywords=" +
this.name + //搜索的内容
"&city=hangzhou" +
"&output=JSON" +
"&offset=" +
10 +
"&page=" +
1 +
"&key=xxxxxxxxxxxxxxxxxxx" //这里是显示你申请的key
)