From 0783e6d6cbbc2733007edcaa77feb00794b01f8d Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Fri, 22 May 2020 23:40:26 +0800 Subject: [PATCH] =?UTF-8?q?Readme=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 30 ++++++++++++++++++++++++++++-- src/components/app/PartDownload.js | 2 +- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c877f8..ddbc878 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ -# qrbtf.com +# QRBTF -A simple online tool to beautify your QR code. \ No newline at end of file +A simple online tool to beautify your QR code. + +URL: [qrbtf.com](https://qrbtf.com) + +中文介绍: [如何制作一个漂亮的二维码](https://mp.weixin.qq.com/s/_Oy9I9FqPXhfwN9IUhf6_g) + +## Installation + +``` bash +cd .. +npm install +npm start +``` + +## Usage + +1. Open [qrbtf.com](https://qrbtf.com). +2. Enter a URL or text. +3. Select a style. +4. Adjust parameters. +5. Download `JPG` or `SVG`. + +## Examples + +![QR code style C2](https://blog.ciaochaos.com/projects/qrcode/qr2.jpg) + +![QR codes](https://blog.ciaochaos.com/projects/qrcode/qrs.jpg) \ No newline at end of file diff --git a/src/components/app/PartDownload.js b/src/components/app/PartDownload.js index bc998b4..1abef19 100644 --- a/src/components/app/PartDownload.js +++ b/src/components/app/PartDownload.js @@ -44,7 +44,7 @@ const PartDownload = ({ value, downloadCount, onSvgDownload, onJpgDownload }) =>
{ - imgData.length > 0 ?
点击JPG下载
: null + imgData.length > 0 ?
长按保存二维码
: null }