{"id":19757448,"url":"https://github.com/stavinli/super-calendar","last_synced_at":"2025-07-04T10:07:29.001Z","repository":{"id":112256542,"uuid":"124170675","full_name":"StavinLi/super-calendar","owner":"StavinLi","description":"日历-选择入住离开时间","archived":false,"fork":false,"pushed_at":"2018-07-30T03:33:33.000Z","size":259,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T09:22:36.782Z","etag":null,"topics":["calendar"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StavinLi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-03-07T03:02:02.000Z","updated_at":"2019-05-12T15:11:31.000Z","dependencies_parsed_at":"2023-06-10T02:15:52.405Z","dependency_job_id":null,"html_url":"https://github.com/StavinLi/super-calendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StavinLi/super-calendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Fsuper-calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Fsuper-calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Fsuper-calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Fsuper-calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StavinLi","download_url":"https://codeload.github.com/StavinLi/super-calendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StavinLi%2Fsuper-calendar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263489687,"owners_count":23474528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["calendar"],"created_at":"2024-11-12T03:19:26.816Z","updated_at":"2025-07-04T10:07:28.970Z","avatar_url":"https://github.com/StavinLi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# super-calendar\n日历-选择入住离开时间\n\n### 效果预览\n- [在线预览 https://stavinli.github.io/super-calendar/index.html](https://stavinli.github.io/super-calendar/index.html)\n\n### 图片预览\n\n![Alt text](https://github.com/StavinLi/super-calendar/blob/master/images/1532421401228.gif)\n\n### 使用说明\n- 1.引入文件css\n```\n    \u003clink rel=\"stylesheet\" href=\"css/reset.css\"\u003e\n    \u003clink rel=\"stylesheet\" href=\"css/super-calendar.css\"\u003e\n```\n- 2.html内容\n```\n    \u003csection class=\"l select-time\"\u003e\n        \u003cp id=\"rent-time\"\u003e入住日期 — 离开日期\u003c/p\u003e\n        \u003cdiv class=\"calendar-box clear\"\u003e\u003c/div\u003e\n    \u003c/section\u003e\n```\n- 3.引入js及js方法调用\n```\n\u003cscript src=\"js/jquery-3.1.1.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"js/limitTextNum.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"js/super-calendar.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    $(\".calendar-box\").superCalendar({\n        target: \"#rent-time\",\n        callback: function(date) {\n           console.log(date)\n        }\n    });\n\u003c/script\u003e\n```\n### API介绍\n    1. target 点击对象\n    2. callback 回调函数 \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstavinli%2Fsuper-calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstavinli%2Fsuper-calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstavinli%2Fsuper-calendar/lists"}