{"id":22015909,"url":"https://github.com/pircate/alipayhomepagedemo","last_synced_at":"2025-05-07T01:07:22.241Z","repository":{"id":119020130,"uuid":"113127093","full_name":"Pircate/AlipayHomePageDemo","owner":"Pircate","description":"仿支付宝首页","archived":false,"fork":false,"pushed_at":"2020-06-03T10:13:34.000Z","size":1764,"stargazers_count":41,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T04:42:11.044Z","etag":null,"topics":["alipay"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/Pircate.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":"2017-12-05T03:27:09.000Z","updated_at":"2024-09-03T03:49:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7eadcc4-62cd-4697-abc9-157cf25c3417","html_url":"https://github.com/Pircate/AlipayHomePageDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pircate%2FAlipayHomePageDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pircate%2FAlipayHomePageDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pircate%2FAlipayHomePageDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pircate%2FAlipayHomePageDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pircate","download_url":"https://codeload.github.com/Pircate/AlipayHomePageDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793645,"owners_count":21805057,"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":["alipay"],"created_at":"2024-11-30T04:30:00.679Z","updated_at":"2025-05-07T01:07:22.233Z","avatar_url":"https://github.com/Pircate.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swift-AlipayHomePageDemo\n仿支付宝首页滚动效果\n\n![snapshot](https://github.com/GorXion/AlipayHomePageDemo/blob/master/alipay_home.gif)\n\n## 主要思路:\n\n``` objc\n\n  // 一个scrollView容器添加两个子view\n  scrollView.addSubview(tableView)\n  scrollView.addSubview(collectionView)\n  \n  // 禁止中间的collectionView滚动\n  collectionView.isScrollEnabled = false\n        \n  // 移除父scrollView的所有手势\n  scrollView.gestureRecognizers?.forEach({\n    scrollView.removeGestureRecognizer($0)\n  })\n        \n  // 将tableView的手势添加到父scrollView上\n  tableView.gestureRecognizers?.forEach({\n    scrollView.addGestureRecognizer($0)\n  })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpircate%2Falipayhomepagedemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpircate%2Falipayhomepagedemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpircate%2Falipayhomepagedemo/lists"}