全国城市部分js
var areaJson22 = { "id": "0", "name": "全国", "parentId": null, "checked": false, "isParent": "true", "icon": null, "type": null, "lng": null, "lat": null, "level": 0, "pinyin": "qg", "position": null, "children": [{ "id": "110000", "name": "北京", "parentId": "0", "checked": false, "isParent": "true", "icon": null, "type": null, "lng": "116.405289", "lat": "39.904987", "level": 1, "pinyin": "bj", "position": "tr_0", "children": [{ "id": "110100", "name": "北京市", "parentId": "110000", "checked": false, "isParent": "true", "icon": null, "type": null, "lng": "116.405289", "lat": "39.904987", "level": 2, "pinyin": "bjs", "position": "tr_0 tr_110000", "children": [{ "id": "110101", "name": "东城区", "parentId": "110100", "checked": false, "isParent": "false", "icon": null, "type": null, "lng": "116.418755", "lat": "39.917545", "level": 3, "pinyin": "dcq", "position": "tr_0 tr_110000 tr_110100", "children": [ ], "open": false }, { "id": "110102", "name": "西城区", "parentId": "110100", "checked": false, "isParent": "false", "icon": null, "type": null, "lng": "116.366791", "lat": "39.91531", "level": 3, "pinyin": "xcq", "position": "tr_0 tr_110000 tr_110100", "children": [ ], "open": false } ] }] }] }; console.log(posJson);