Merge branch 'dev-redux' of https://github.com/ciaochaos/qrbtf into dev-redux

This commit is contained in:
CPunisher 2020-06-30 15:27:56 +08:00
commit 9867c842e3
6 changed files with 26 additions and 11 deletions

View File

@ -42,7 +42,7 @@ npm start
## React Component (react-qrbtf) ## React Component (react-qrbtf)
See [github.com/cpunisher/react-qrbtf](https://github.com/cpunisher/react-qrbtf) for more information. See [CPunisher / react-qrbtf](https://github.com/cpunisher/react-qrbtf) for more information.
``` bash ``` bash
npm install react-qrbtf --save npm install react-qrbtf --save
@ -74,6 +74,10 @@ class Component extends React.Component {
} }
``` ```
## Third-Party Project
* [gexin1 / beautify-qrcode](https://github.com/gexin1/beautify-qrcode)
## Author ## Author
* [ciaochaos](https://github.com/ciaochaos) * [ciaochaos](https://github.com/ciaochaos)

View File

@ -7,7 +7,7 @@ const currentYear = new Date().getFullYear();
const PartFooter = () => ( const PartFooter = () => (
<div className="Qr-titled"> <div className="Qr-titled">
<div className="Qr-Centered Qr-footer note-font"> <div className="Qr-Centered Qr-footer note-font">
<div> <div className="Qr-footer-part">
<strong>作者</strong>&emsp; <strong>作者</strong>&emsp;
<LinkTrace <LinkTrace
href="https://blog.ciaochaos.com/" href="https://blog.ciaochaos.com/"
@ -20,8 +20,14 @@ const PartFooter = () => (
target="_blank">CPunisher target="_blank">CPunisher
</LinkTrace> </LinkTrace>
<span className="gray">&ensp;&ensp;</span> <span className="gray">&ensp;&ensp;</span>
<span><LinkTrace href="https://www.yuque.com/qrbtf/docs/privacy" rel="noopener noreferrer"
target="_blank">隐私政策</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://www.yuque.com/qrbtf/docs/terms" rel="noopener noreferrer"
target="_blank">使用条款</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://www.yuque.com/qrbtf/docs/contact" rel="noopener noreferrer" target="_blank"> <span><LinkTrace href="https://www.yuque.com/qrbtf/docs/contact" rel="noopener noreferrer" target="_blank">
联系我们</LinkTrace><span className="gray">&ensp;&ensp;</span></span> 联系我们</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://www.yuque.com/qrbtf/docs/api" rel="noopener noreferrer" target="_blank">
API 接口 <sup>测试</sup></LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://www.yuque.com/qrbtf/docs/coop" <span><LinkTrace href="https://www.yuque.com/qrbtf/docs/coop"
rel="noopener noreferrer" target="_blank">合作咨询</LinkTrace></span> rel="noopener noreferrer" target="_blank">合作咨询</LinkTrace></span>
</div> </div>
@ -58,12 +64,16 @@ const PartFooter = () => (
target="_blank">React.js Example</LinkTrace><span className="gray">&ensp;&ensp;</span></span> target="_blank">React.js Example</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://mp.weixin.qq.com/s/J-odC4GPd9N2V7QRhEJ23g" rel="noopener noreferrer" <span><LinkTrace href="https://mp.weixin.qq.com/s/J-odC4GPd9N2V7QRhEJ23g" rel="noopener noreferrer"
target="_blank">木子淇</LinkTrace><span className="gray">&ensp;&ensp;</span></span> target="_blank">木子淇</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://github.com/gexin1/beautify-qrcode" rel="noopener noreferrer"
target="_blank">River</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://mp.weixin.qq.com/s/yy7knjp9MJ3LEuMF42gtqw" rel="noopener noreferrer" <span><LinkTrace href="https://mp.weixin.qq.com/s/yy7knjp9MJ3LEuMF42gtqw" rel="noopener noreferrer"
target="_blank">编程如画</LinkTrace><span className="gray">&ensp;&ensp;</span></span> target="_blank">编程如画</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://mp.weixin.qq.com/s/YWStNIYUZ7UmcHGhIwE6eg" rel="noopener noreferrer" <span><LinkTrace href="https://mp.weixin.qq.com/s/YWStNIYUZ7UmcHGhIwE6eg" rel="noopener noreferrer"
target="_blank">JZ Creative</LinkTrace><span className="gray">&ensp;&ensp;</span></span> target="_blank">JZ Creative</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://mp.weixin.qq.com/s/5r3PNDSaQb3sOXtDQt3Jnw" rel="noopener noreferrer" <span><LinkTrace href="https://mp.weixin.qq.com/s/5r3PNDSaQb3sOXtDQt3Jnw" rel="noopener noreferrer"
target="_blank">工具狂人</LinkTrace><span className="gray">&ensp;&ensp;</span></span> target="_blank">工具狂人</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://sspai.com/post/61118" rel="noopener noreferrer"
target="_blank">少数派</LinkTrace><span className="gray">&ensp;&ensp;</span></span>
<span><LinkTrace href="https://www.v2ex.com/t/675982" <span><LinkTrace href="https://www.v2ex.com/t/675982"
rel="noopener noreferrer" target="_blank">V2EX</LinkTrace></span> rel="noopener noreferrer" target="_blank">V2EX</LinkTrace></span>
</div> </div>

View File

@ -8,7 +8,7 @@ const PartHeader = () => (
<div> <div>
<h1 className="Qr-title"><QrbtfLogo className="Qr-title-svg" /></h1> <h1 className="Qr-title"><QrbtfLogo className="Qr-title-svg" /></h1>
</div> </div>
<p className="Qr-subtitle">参数化二维码生成器 <sup className="Gray">测试版</sup></p> <p className="Qr-subtitle">参数化二维码生成器{/* <sup className="Gray">测试版</sup>*/}</p>
<InputText/> <InputText/>
</div> </div>
) )

View File

@ -12,6 +12,7 @@ const PartMore = () => (
<div className="Qr-article"> <div className="Qr-article">
<p><GitHubButton href="https://github.com/ciaochaos/qrbtf" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star ciaochaos/qrbtf on GitHub">Star</GitHubButton></p> <p><GitHubButton href="https://github.com/ciaochaos/qrbtf" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star ciaochaos/qrbtf on GitHub">Star</GitHubButton></p>
<h2>最新消息</h2> <h2>最新消息</h2>
<p><b>2020.6.29</b><br/>新的反馈渠道我们开始征集好玩的二维码设计啦可以是推送尾图海报等等快来上传吧<LinkTrace href='https://qrbtf-com.mikecrm.com/J2wjEEq' rel="noopener noreferrer" target="_blank">点击提交</LinkTrace></p>
<p><b>2020.6.24</b><br/>新增深色模式新增 SP 3 样式</p> <p><b>2020.6.24</b><br/>新增深色模式新增 SP 3 样式</p>
<p><b>2020.6.22</b><br/>新增 A a1A a2A b1A b2 样式添加样式描述新增桌面端横向拖拽滑动</p> <p><b>2020.6.22</b><br/>新增 A a1A a2A b1A b2 样式添加样式描述新增桌面端横向拖拽滑动</p>
<p><b>2020.6.11</b><br/>QRBTF React 组件发布快在你的应用中引入 react-qrbtf <LinkTrace href='https://github.com/cpunisher/react-qrbtf' rel="noopener noreferrer" target="_blank">访问项目</LinkTrace></p> <p><b>2020.6.11</b><br/>QRBTF React 组件发布快在你的应用中引入 react-qrbtf <LinkTrace href='https://github.com/cpunisher/react-qrbtf' rel="noopener noreferrer" target="_blank">访问项目</LinkTrace></p>
@ -37,7 +38,7 @@ const PartMore = () => (
<LinkButton href={"https://github.com/ciaochaos/qrbtf"} value={"Github"} /> <LinkButton href={"https://github.com/ciaochaos/qrbtf"} value={"Github"} />
</div> </div>
<div className="div-btn"> <div className="div-btn">
<LinkButton href={"https://github.com/ciaochaos/qrbtf/issues"} value={"反馈"} /> <LinkButton href={"https://qrbtf-com.mikecrm.com/J2wjEEq"} value={"反馈"} />
<LinkButton href={"https://mp.weixin.qq.com/s/GFEMCWQu3e2qhTuBabnHmQ"} value={"开发"} /> <LinkButton href={"https://mp.weixin.qq.com/s/GFEMCWQu3e2qhTuBabnHmQ"} value={"开发"} />
</div> </div>
</div> </div>

View File

@ -189,5 +189,5 @@ export default RendererResImage
RendererResImage.detail = ( RendererResImage.detail = (
<div>满满科技感的重采样二值化像素点阵有点东西建议增大容错率URL 长度以提高像素采样信息的丰富度</div> <div>满满科技感的重采样二值化像素点阵有点东西</div>
); );

View File

@ -15,18 +15,18 @@ import * as React from "react";
const styles = [ const styles = [
{value: "A1", renderer: RendererRect}, {value: "A1", renderer: RendererRect},
{value: "C2", renderer: RendererResImage},
{value: "SP — 1", renderer: RendererDSJ},
{value: "A2", renderer: RendererRound}, {value: "A2", renderer: RendererRound},
{value: "A3", renderer: RendererRandRound}, {value: "A3", renderer: RendererRandRound},
{value: "A — a1", renderer: RendererLine}, {value: "A — a1", renderer: RendererLine},
{value: "A — b2", renderer: RendererFuncB},
{value: "SP — 3", renderer: RendererCircle},
{value: "C1", renderer: RendererImage},
{value: "B1", renderer: Renderer25D},
{value: "A — a2", renderer: RendererLine2}, {value: "A — a2", renderer: RendererLine2},
{value: "A — b1", renderer: RendererFuncA}, {value: "A — b1", renderer: RendererFuncA},
{value: "A — b2", renderer: RendererFuncB},
{value: "SP — 1", renderer: RendererDSJ},
{value: "SP — 2", renderer: RendererRandRect}, {value: "SP — 2", renderer: RendererRandRect},
{value: "SP — 3", renderer: RendererCircle},
{value: "B1", renderer: Renderer25D},
{value: "C1", renderer: RendererImage},
{value: "C2", renderer: RendererResImage},
] ]
const paramInfoBuffer = new Array(16).fill(new Array(16)) const paramInfoBuffer = new Array(16).fill(new Array(16))