{"id":21465780,"url":"https://github.com/jsaaron/conflux-component-sdk1","last_synced_at":"2026-03-19T20:31:11.652Z","repository":{"id":187356678,"uuid":"667212541","full_name":"JsAaron/conflux-component-sdk1","owner":"JsAaron","description":"conflux-component-sdk","archived":false,"fork":false,"pushed_at":"2023-07-17T03:05:04.000Z","size":1977,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T15:19:32.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/JsAaron.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}},"created_at":"2023-07-17T02:02:32.000Z","updated_at":"2023-07-17T03:30:22.000Z","dependencies_parsed_at":"2023-08-10T02:58:13.170Z","dependency_job_id":"a89c7f28-9c9c-4179-9bcd-7aae776dcf58","html_url":"https://github.com/JsAaron/conflux-component-sdk1","commit_stats":null,"previous_names":["jsaaron/conflux-component-sdk1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fconflux-component-sdk1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fconflux-component-sdk1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fconflux-component-sdk1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2Fconflux-component-sdk1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JsAaron","download_url":"https://codeload.github.com/JsAaron/conflux-component-sdk1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982141,"owners_count":20378606,"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-11-23T08:11:58.737Z","updated_at":"2026-02-26T02:19:25.757Z","avatar_url":"https://github.com/JsAaron.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vk-uview-ui\n\n\u003e 插件市场地址： [点击前往](https://ext.dcloud.net.cn/plugin?name=vk-uview-ui)\n\n## `vk-uview-ui` 与 `uview-ui` 的关系？\n\n`vk-uview-ui` 是 `VK` 基于 `uview-ui 1.8.3` 版本改造而来，其本质依然还是 `uview-ui`，是 `VK` 的珍藏版，由 `VK` 维护。\n\n`uview-ui` 是 `vk-unicloud 快速开发框架` 之 `client端框架` 中推荐的UI，很多 `VK框架` 用户都在用  `uview-ui`\n\n由于 `uview-ui` 作者目前重心全在 `uView 2.0` 的 `nvue` 版本上，故没有精力维护 `uView 1.0`，因此作者贡献出了自己珍藏的 `vk-uview-ui` 版本。\n \n\u003e 在这里，也感谢 `uview-ui` 作者的开源奉献，再次为开源点赞。 同时 `vk-uview-ui` 也是无条件开源。\n\n## `vk-uview-ui` 与 `uview-ui 1.8.3` 功能上有什么区别？\n\n* 1、最大的亮点：同时支持 `Vue3.0` 和 `Vue2.0`，你没看错，现在 `uview-ui` 支持 `Vue3.0` 了（这应该是目前为数不多的 `uniapp Vue3.0` 组件库）（2021-11-18）\n* 2、以 `uni_modules` 模块形式发布，方便一键更新（同时组件会自动按需加载，无需手动写 `easycom` 规则（注意，你需要把之前写的 `easycom` 规则删除，在项目根目录的 `pages.json` 中删除）\n* 3、对部分组件进行了微调，其中大部分调整不会影响你之前的代码运行（如车牌号键盘点击1次中文后会自动切英文+数字键盘），但有以下调整可能会影响你代码运行，请看完后再考虑是否有必要使用。\n\n* * 3.1、`u-picker` 的选择省市区的静态数据源使用 unicloud 中 `opendb-city-china` 表内的数据生成（这样前后端地址数据源保持了一致），但由于数据源变动了，可能会对你有些影响。\n* * 3.2、删除了 `uview-ui` 内置的 `国际化语言` 功能，（改造成 `Vue3` 比较麻烦，故作者干脆直接删除了）\n* * 3.3、还有其他一些细微变动（这个版本是几个月前就已经改造完的，在 uniapp 刚出Vue3的时候就开始了，但是由于当时的 uniapp Vue3 bug真的太多，当时并没有发布，可以想象一下作者当时碰到bug满天飞的场景）\n* * 3.4、Vue3.0中， uniapp 的 Vue3 版本在H5 APP（非nvue）微信小程序 中兼容性尚可，其他小程序目前还不行。\n\n\u003e [vk-uview-ui文档](https://vkuviewdoc.fsq.pub/components/icon.html)\n\n___目前大的问题应该没有了，作者自己的项目也是用此组件库开发，因此你无需担心后期无人维护。___\n\n如果你了解了以上须知，那么请继续阅读快速上手。\n\n\u003e 如有问题，可加Q群反馈：22466457，只要是因本插件引起的问题，你在群里一定可以得到解决。\n\n## 快速上手之Vue2.0\n\n即使是 `Vue2` 版本，同样比原版 `uView1.0` 做了一些优化，如（车牌号键盘点击1次中文后会自动切英文，倒计时支持毫秒等等）\n\n支持：H5、App(vue)、微信小程序、支付宝小程序（其他小程序未测试）\n\n* 1、main.js 引入 vk-uview-ui \n\n```js\nimport uView from './uni_modules/vk-uview-ui';\nVue.use(uView);\n```\n\n* 2、App.vue 引入基础样式（注意style标签需声明scss属性支持）\n\n```html\n\u003cstyle lang=\"scss\"\u003e\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\n\u003c/style\u003e\n```\n\n* 3、uni.scss 引入全局 scss 变量文件\n\n```css\n@import \"@/uni_modules/vk-uview-ui/theme.scss\";\n```\n\n## 快速上手之Vue3.0\n\n不建议把老项目 升级到 Vue3.0 (升级非常麻烦，建议新项目才考虑是否使用Vue3.0)\n\n支持：H5、App(vue)、微信小程序（其他小程序未测试）\n\n目前 发现Vue3 H5版本一个重大bug（与此UI框架无关），调试开发没问题，发布到前端托管时样式会错乱，已确定是HBX的问题，等待HBX修复此问题。（hbx3.3.0版本已修复此问题）\n\n* 1、前置步骤：修改 `manifest.json` 内的 `vue` 版本为 `vue3`\n* 2、项目根目录新增 `index.html` 文件，文件代码为\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"zh-CN\"\u003e\n\t\u003chead\u003e\n\t\t\u003cmeta charset=\"UTF-8\" /\u003e\n\t\t\u003cmeta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\" /\u003e\n\t\t\u003ctitle\u003e\u003c/title\u003e\n\t\t\u003c!--preload-links--\u003e\n\t\t\u003c!--app-context--\u003e\n\t\t\u003c!-- 配置H5的 web图标static/logo.png --\u003e\n\t\t\u003clink rel=\"icon\" href=\"./static/logo.png\" /\u003e\n\t\u003c/head\u003e\n\t\u003cbody\u003e\n\t\t\u003cdiv id=\"app\"\u003e\n\t\t\t\u003c!--app-html--\u003e\n\t\t\u003c/div\u003e\n\t\t\u003cscript type=\"module\" src=\"/main.js\"\u003e\u003c/script\u003e\n\t\u003c/body\u003e\n\u003c/html\u003e\n```\n\n* 3、main.js 引入 vk-uview-ui \n\n```js\n// 引入 uView UI\nimport uView from './uni_modules/vk-uview-ui';\n\nimport { createSSRApp } from 'vue'\n\nexport function createApp() {\n  const app  = createSSRApp(App)\n  \n  // 使用 uView UI\n  app.use(uView)\n  \n  return { app }\n}\n\n```\n\n* 4、App.vue 引入基础样式（注意style标签需声明scss属性支持）\n\n```html\n\u003cstyle lang=\"scss\"\u003e\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\n\u003c/style\u003e\n```\n\n* 5、uni.scss 引入全局 scss 变量文件\n\n```css\n@import \"@/uni_modules/vk-uview-ui/theme.scss\";\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsaaron%2Fconflux-component-sdk1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsaaron%2Fconflux-component-sdk1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsaaron%2Fconflux-component-sdk1/lists"}