footer Copyright,标题更名

This commit is contained in:
ciaochaos 2020-05-03 12:00:57 +08:00
parent 236cae61ca
commit 9e72531d50
3 changed files with 17 additions and 5 deletions

View File

@ -12,7 +12,8 @@
<component name="ChangeListManager">
<list default="true" id="78c692f3-8e9f-49c7-86c1-0c5e9d711b1f" name="Default Changelist" comment="静态参数调节组件初步完成">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/Qrcode.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Qrcode.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/public/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/Qrcode.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Qrcode.js" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -405,7 +406,14 @@
<option name="project" value="LOCAL" />
<updated>1588438351027</updated>
</task>
<option name="localTasksCounter" value="46" />
<task id="LOCAL-00046" summary="取消移动端 Qr-item 点击高亮">
<created>1588476169668</created>
<option name="number" value="00046" />
<option name="presentableId" value="LOCAL-00046" />
<option name="project" value="LOCAL" />
<updated>1588476169668</updated>
</task>
<option name="localTasksCounter" value="47" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -439,10 +447,10 @@
<screen x="0" y="23" width="2541" height="1057" />
</state>
<state x="1161" y="421" key="#Notifications/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588307553058" />
<state x="877" y="274" key="Vcs.Push.Dialog.v2" timestamp="1588438354037">
<state x="877" y="274" key="Vcs.Push.Dialog.v2" timestamp="1588476173798">
<screen x="0" y="0" width="2560" height="1080" />
</state>
<state x="877" y="274" key="Vcs.Push.Dialog.v2/428.1080.1680.1050/0.0.2560.1080/-1600.180.1600.900@0.0.2560.1080" timestamp="1588438354037" />
<state x="877" y="274" key="Vcs.Push.Dialog.v2/428.1080.1680.1050/0.0.2560.1080/-1600.180.1600.900@0.0.2560.1080" timestamp="1588476173798" />
<state x="870" y="291" key="Vcs.Push.Dialog.v2/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588351718130" />
<state x="99" y="100" width="2343" height="880" key="com.intellij.history.integration.ui.views.FileHistoryDialog" timestamp="1588438456208">
<screen x="0" y="0" width="2560" height="1080" />

View File

@ -25,7 +25,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>qrbtf.com 参数化二维码生成器</title>
<title>QRBTF 参数化二维码生成器</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

View File

@ -6,6 +6,9 @@ import QrRendererBase from "./QrRendererBase";
import QrRendererRound from "./QrRendererRound";
import QrItem from "./QrItem";
const date = new Date();
const currentYear = date.getFullYear();
function getStyleList(qrcode) {
const styleList = [
{value: "A1", renderer: <QrRendererBase qrcode={qrcode}/> },
@ -144,6 +147,7 @@ class Qrcode extends React.Component {
<div className="Qr-titled">
<div className="Qr-Centered Qr-footer">
<div><strong>作者</strong>&emsp;<a href="https://blog.ciaochaos.com/" rel="noopener" target="_blank" data-pjax-state="">ciaochaos</a>&emsp;<a href="https://github.com/CPunisher/" rel="noopener" target="_blank" data-pjax-state="">CPunisher</a></div>
<div>Copyright © {currentYear} QRBTF. All rights reserved.</div>
<div><a href="http://www.beian.miit.gov.cn/" rel="noopener" target="_blank" data-pjax-state=""> ICP 19005869 </a></div>
</div>
</div>