{"id":22156321,"url":"https://github.com/xanke/vue-qs-form","last_synced_at":"2025-07-26T08:31:19.045Z","repository":{"id":27015394,"uuid":"112157445","full_name":"xanke/vue-qs-form","owner":"xanke","description":"Vue quick step form, Vue快速问卷表单","archived":false,"fork":false,"pushed_at":"2022-12-06T19:51:38.000Z","size":1054,"stargazers_count":17,"open_issues_count":14,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T00:11:11.023Z","etag":null,"topics":["element-ui","form","quick","steps","vue","vue2"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/xanke.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}},"created_at":"2017-11-27T06:33:36.000Z","updated_at":"2023-11-30T06:31:49.000Z","dependencies_parsed_at":"2023-01-14T09:15:13.005Z","dependency_job_id":null,"html_url":"https://github.com/xanke/vue-qs-form","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xanke/vue-qs-form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanke%2Fvue-qs-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanke%2Fvue-qs-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanke%2Fvue-qs-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanke%2Fvue-qs-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xanke","download_url":"https://codeload.github.com/xanke/vue-qs-form/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanke%2Fvue-qs-form/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267140593,"owners_count":24041970,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"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":["element-ui","form","quick","steps","vue","vue2"],"created_at":"2024-12-02T02:41:10.431Z","updated_at":"2025-07-26T08:31:18.653Z","avatar_url":"https://github.com/xanke.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-qs-form\nVue quick step form, Vue快速问卷表单\n\n[![npm](https://img.shields.io/npm/v/vue-qs-form.svg)](https://www.npmjs.com/package/vue-qs-form)\n[![npm](https://img.shields.io/npm/dt/vue-qs-form.svg)](https://www.npmjs.com/package/vue-qs-form)\n[![npm](https://img.shields.io/npm/dm/vue-qs-form.svg)](https://www.npmjs.com/package/vue-qs-form)\n[![Build Status](https://travis-ci.org/xanke/vue-qs-form.svg?branch=master)](https://travis-ci.org/xanke/vue-qs-form)\n[![Codecov](https://img.shields.io/codecov/c/github/xanke/vue-qs-form.svg)](https://codecov.io/gh/xanke/vue-qs-form)\n[![npm](https://img.shields.io/npm/l/vue-qs-form.svg)](http://opensource.org/licenses/MIT)\n\n****需配合element-ui使用 https://github.com/elemefe****\n\n\n## 快速开始\n```js\nimport Vue from 'vue'\nimport vueQsForm from 'vue-qs-form'\n\nexport default {\n  name: 'App',\n\n  components: {\n    vueQsForm\n  }\n}\n```\n\n## 示例\n```vue\n\u003ctemplate\u003e\n  \u003cvue-qs-form v-model=\"form\" :data=\"data\" @finish=\"submitForm\"\u003e\u003c/vue-qs-form\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport vueQsForm from 'vue-qs-form'\n\nexport default {\n  name: 'App',\n  components: {\n    vueQsForm\n  },\n\n  data: () =\u003e ({\n    form: '',\n    data: [\n      {\n        'key': 'qa1',\n        'title': '问题一',\n        'radios': [\n          [0, '否'],\n          [1, '是']\n        ]\n      },\n      {\n        'key': 'qa2',\n        'title': '问题二',\n        'radios': [\n          [0, '否'],\n          [1, '是']\n        ]\n      }\n    ]\n  }),\n}\n\u003c/script\u003e\n```\n\n## Props\n|参数|说明|必须|类型|可选值|默认值|\n|-----|-----------|--------|----|----|-------|\n|data|表单数据|是|String|—|—|\n|height|表单高度|否|String|—|250px|\n|autoNext|是否自动下一步|否|Boolean|true/false|false|\n|prevBtnText|上一步按钮文字|否|String|—|上一步|\n|nextBtnText|下一步按钮文字|否|String|—|下一步|\n|submitBtnText|完成按钮文字|否|String|—|提交|\n\n## Event\n|事件名称|说明|回调参数|\n|-----|-----------|--------|\n|submit|点击提交事件|表单数据|\n|atend|到达最后|-|\n\n## Function\n|方法名称|说明|回调参数|\n|-----|-----------|--------|\n|restForm|重置表单|-|\n\n## License\n\nVue-qs-form is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanke%2Fvue-qs-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxanke%2Fvue-qs-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanke%2Fvue-qs-form/lists"}