{"id":20144192,"url":"https://github.com/quansitech/reactfullaeraselect","last_synced_at":"2026-05-29T13:31:49.857Z","repository":{"id":97656670,"uuid":"378102741","full_name":"quansitech/ReactFullAeraSelect","owner":"quansitech","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-08T02:57:58.000Z","size":489,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T23:44:03.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quansitech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-18T09:39:58.000Z","updated_at":"2021-10-08T02:58:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"b84e892c-1261-4f5b-b514-c4c3712fbdc0","html_url":"https://github.com/quansitech/ReactFullAeraSelect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quansitech/ReactFullAeraSelect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quansitech%2FReactFullAeraSelect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quansitech%2FReactFullAeraSelect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quansitech%2FReactFullAeraSelect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quansitech%2FReactFullAeraSelect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quansitech","download_url":"https://codeload.github.com/quansitech/ReactFullAeraSelect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quansitech%2FReactFullAeraSelect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33655440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T22:09:13.140Z","updated_at":"2026-05-29T13:31:49.831Z","avatar_url":"https://github.com/quansitech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 4级地址联动 ReactFullAddrSelect\n\n\t4级地址联动选择,可自定义联动的级别(省/市/区/街道)\n    传入的隐藏域,自动生成相应的select下拉框\n\n### 使用 :\n\n```html\n\u003clink href=\"dist/react-full-area-select.css\" rel=\"stylesheet\"\u003e\n\u003cscript src=\"dist/index.js\"\u003e\u003c/script\u003e\n```\n\n初始化方法共两种:\n\n- js配置初始化\n\n  - ```\n    ReactFullAreaSelect(id: String[, options: Object])\n    id: INPUT_HIDDEN_ELEMENT_ID \n    ```\n\n  - 与jquery一起食用:\n\n```javascript\n    $(INPUT_HIDDEN_ELEMENT).reactFullAreaSelect(options)\n```\n\n- html配置自动初始化\n  不支持修改 urlConfig 属性\n\n  ```html\n  \u003cdiv data-react-full-area-select data-name=\"area\" data-level=\"4\" data-value=\"440783\"\u003e\u003c/div\u003e\n  ```\n\noptions配置如下\n```javascript\noptions: {\n  level: 3//default value\n  name: 'area', //default: '',  input name attribute\n  value: '440783', //default: '',  input value attrubute,\n  urlConfig: { //default: {}, cover default api url.\n    getProvince: '/api/area/getProvince', //default: '/api/area/getProvince.html',\n    getCity: '/api/area/getCityByProvince',\n    getDistrict: '/api/area/getDistrictByCity',\n    getStreet: '/api/area/getStreetByDistrict',\n  }\n}\n```\n\n\n\n### 基本功能:\n\n- 插件自动生成select,供用户选择\n\n\n\n\n------------\n\n# 调试\n\n1.  运行yarn\n2.  yarn run start\n3.  调试代码在 src/app.js\n\n## 打包\n\n1. yarn run build\n2. src/index.js 将被打包\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquansitech%2Freactfullaeraselect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquansitech%2Freactfullaeraselect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquansitech%2Freactfullaeraselect/lists"}