{"id":18052898,"url":"https://github.com/minooo/attract-fans-utils","last_synced_at":"2025-04-05T07:43:56.296Z","repository":{"id":87399037,"uuid":"141269268","full_name":"minooo/attract-fans-utils","owner":"minooo","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-09T02:53:14.000Z","size":1158,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T15:32:28.800Z","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/minooo.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":"2018-07-17T09:51:34.000Z","updated_at":"2020-12-24T03:39:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"b57568a1-44a6-4a10-ac6e-57bbc776a7ce","html_url":"https://github.com/minooo/attract-fans-utils","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/minooo%2Fattract-fans-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minooo%2Fattract-fans-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minooo%2Fattract-fans-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minooo%2Fattract-fans-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minooo","download_url":"https://codeload.github.com/minooo/attract-fans-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305901,"owners_count":20917203,"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":[],"created_at":"2024-10-30T23:13:33.160Z","updated_at":"2025-04-05T07:43:56.278Z","avatar_url":"https://github.com/minooo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 嘟嘟科技-[公众号吸粉工具管理后台]-前端项目\n\n## 前端备忘\n- [create-react-app 指北](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md)\n- [react-router](https://reacttraining.com/react-router/web/guides/philosophy)\n\n# 一些必要讲解的\n- 支持直接引入图片\n```js\nimport React from 'react';\nimport logo from './logo.png'; // Tell Webpack this JS file uses this image\n\nconsole.log(logo); // /logo.84287d09.png\n\nfunction Header() {\n  // Import result is the URL of your image\n  return \u003cimg src={logo} alt=\"Logo\" /\u003e;\n}\n\nexport default Header;\n```\n## 打包\n```\n打包后，将build下的文件部署到 dolife-public/attract-fans-utils-static/backend\n\n然后把index.html 传给后台人员。\n```\n\n## Nav使用\n\n一共有三个参数\n```js\nfinish: 当前的活动是否开启，开启之后不能在进入基本设置页面。\nposter_id：任务的id，只有创建海报页面需要。\nsubmit：当前页面是否提交。\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminooo%2Fattract-fans-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminooo%2Fattract-fans-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminooo%2Fattract-fans-utils/lists"}