Skip to content

Commit

Permalink
Merge pull request #91 from alvinkwok1/master
Browse files Browse the repository at this point in the history
添加生成条形码功能 #89
  • Loading branch information
baiy committed Oct 31, 2021
2 parents dd7552b + 6491714 commit 7c00ce2
Show file tree
Hide file tree
Showing 6 changed files with 349 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ npm run build -adapter=[chrome|edge|utools|firefox|web]
|URL编码|`编码`,`解码`||
|时间戳|双向转换||
|二维码|`生成`,`解析`||
|条形码|`生成`||
|汉字转拼音|`声调`,`首字母`,`分隔符`||
|IP地址查询|`运营商`,`城市`|×|
|代码格式化|`js`, `ts`, `html`, `css`, `less`, `scss`, `graphql`, `vue`, `angular`, `markdown`, `json5`, `xml`, `yaml`, `sql`, `压缩`||
Expand Down Expand Up @@ -120,5 +121,7 @@ npm run build -adapter=[chrome|edge|utools|firefox|web]
- [monaco-editor](https://www.npmjs.com/package/monaco-editor)
- [js-htmlencode](https://www.npmjs.com/package/js-htmlencode)
- [jsrsasign](https://www.npmjs.com/package/jsrsasign)
- [vue-color](https://github.com/xiaokaike/vue-color.git)
- [jsbarcode](https://github.com/lindell/JsBarcode.git)

> 当然项目中还使用很多不知道姓名的大神的代码, 在这里就不一一感谢
28 changes: 27 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"js-base64": "^2.6.4",
"js-htmlencode": "^0.3.0",
"js-yaml": "^3.14.1",
"jsbarcode": "^3.11.5",
"json-to-properties": "^1.1.3",
"jsonlint": "^1.6.3",
"jsrsasign": "^10.4.1",
Expand Down Expand Up @@ -55,6 +56,7 @@
"uuid": "^8.3.2",
"view-design": "^4.6.1",
"vue": "^2.6.14",
"vue-color": "^2.8.1",
"vue-router": "^3.5.3",
"x2js": "github:abdolence/x2js"
},
Expand Down
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const tool = [
{'name': 'url', 'title': 'URL编码', 'cat': ['conversion']},
{'name': 'timestamp', 'title': '时间戳', 'cat': ['conversion']},
{'name': 'qrCode', 'title': '二维码', 'cat': ['generate']},
{'name': 'barcode', 'title': '条形码', 'cat': ['generate']},
{'name': 'pinyin', 'title': '汉字转拼音', 'cat': ['conversion']},
{'name': 'ip', 'title': 'IP地址查询', 'cat': ['other']},
{'name': 'code', 'title': '代码格式化', 'cat': ['other']},
Expand Down
4 changes: 4 additions & 0 deletions src/tool.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ const routes = [
path: '/tool/qrCode',
component: r => require(['./views/tool/qrCode.vue'], r)
},
{
path: '/tool/barcode',
component: r => require(['./views/tool/barcode.vue'], r)
},
{
path: '/tool/randomString',
component: r => require(['./views/tool/randomString.vue'], r)
Expand Down
Loading

0 comments on commit 7c00ce2

Please sign in to comment.