zoukankan      html  css  js  c++  java
  • 全国城市部分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);
  • 相关阅读:
    第一天站立会议
    Sprint会议计划
    软件需求分析
    团队介绍
    再写行转列和列转行
    二十三种设计模式之:组合(Composite)模式(部分·整体模式)
    对于类和对象的认识
    对排序的认识
    设计模式分类
    二十三种设计模式之:适配器模式
  • 原文地址:https://www.cnblogs.com/y896926473/p/5996410.html
Copyright © 2011-2022 走看看