From 978a4896888b27e3bc21356da05d204a3eaa00a3 Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Mon, 4 May 2020 22:23:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 631 -------------------------------- package.json | 1 - src/components/Qrcode.css | 4 +- src/components/Qrcode.js | 11 +- src/qrbtf-logo.svg | 746 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 758 insertions(+), 635 deletions(-) create mode 100644 src/qrbtf-logo.svg diff --git a/package-lock.json b/package-lock.json index b40ff63..0247657 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,42 +4,6 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@ant-design/colors": { - "version": "3.2.2", - "resolved": "https://registry.npm.taobao.org/@ant-design/colors/download/@ant-design/colors-3.2.2.tgz", - "integrity": "sha1-WtQ9YZ6RHzSI66wwPWBuZqhCOQM=", - "requires": { - "tinycolor2": "^1.4.1" - } - }, - "@ant-design/icons": { - "version": "4.1.0", - "resolved": "https://registry.npm.taobao.org/@ant-design/icons/download/@ant-design/icons-4.1.0.tgz", - "integrity": "sha1-RE7cw4ItW0OysDjW+JPNf338xI0=", - "requires": { - "@ant-design/colors": "^3.1.0", - "@ant-design/icons-svg": "^4.0.0", - "classnames": "^2.2.6", - "insert-css": "^2.0.0", - "rc-util": "^4.9.0" - } - }, - "@ant-design/icons-svg": { - "version": "4.1.0", - "resolved": "https://registry.npm.taobao.org/@ant-design/icons-svg/download/@ant-design/icons-svg-4.1.0.tgz", - "integrity": "sha1-SAsCX0sg73/o9H1KSEbk/uhOoGw=" - }, - "@ant-design/react-slick": { - "version": "0.25.5", - "resolved": "https://registry.npm.taobao.org/@ant-design/react-slick/download/@ant-design/react-slick-0.25.5.tgz", - "integrity": "sha1-GPQKuqIsFdwm2pxHPSTaONTY8zQ=", - "requires": { - "classnames": "^2.2.5", - "json2mq": "^0.2.0", - "lodash": "^4.17.15", - "resize-observer-polyfill": "^1.5.0" - } - }, "@babel/code-frame": { "version": "7.8.3", "resolved": "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.8.3.tgz?cache=0&sync_timestamp=1578980708872&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.8.3.tgz", @@ -1648,15 +1612,6 @@ "@types/node": "*" } }, - "@types/hoist-non-react-statics": { - "version": "3.3.1", - "resolved": "https://registry.npm.taobao.org/@types/hoist-non-react-statics/download/@types/hoist-non-react-statics-3.3.1.tgz?cache=0&sync_timestamp=1588200643669&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fhoist-non-react-statics%2Fdownload%2F%40types%2Fhoist-non-react-statics-3.3.1.tgz", - "integrity": "sha1-ESSq/lEYy1kZd66xzqrtEHDrA58=", - "requires": { - "@types/react": "*", - "hoist-non-react-statics": "^3.3.0" - } - }, "@types/istanbul-lib-coverage": { "version": "2.0.1", "resolved": "https://registry.npm.taobao.org/@types/istanbul-lib-coverage/download/@types/istanbul-lib-coverage-2.0.1.tgz?cache=0&sync_timestamp=1588227930366&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fistanbul-lib-coverage%2Fdownload%2F%40types%2Fistanbul-lib-coverage-2.0.1.tgz", @@ -1726,19 +1681,6 @@ "@types/react": "*" } }, - "@types/react-lifecycles-compat": { - "version": "3.0.1", - "resolved": "https://registry.npm.taobao.org/@types/react-lifecycles-compat/download/@types/react-lifecycles-compat-3.0.1.tgz", - "integrity": "sha1-oLH+GM+5Q1vVJzeCmmnL6T+vMuI=", - "requires": { - "@types/react": "*" - } - }, - "@types/shallowequal": { - "version": "1.1.1", - "resolved": "https://registry.npm.taobao.org/@types/shallowequal/download/@types/shallowequal-1.1.1.tgz", - "integrity": "sha1-qtJiuz8rElfZTHHVRSaNWSV1ybE=" - }, "@types/stack-utils": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/@types/stack-utils/download/@types/stack-utils-1.0.1.tgz", @@ -2116,14 +2058,6 @@ "resolved": "https://registry.npm.taobao.org/acorn-walk/download/acorn-walk-6.2.0.tgz", "integrity": "sha1-Ejy487hMIXHx9/slJhWxx4prGow=" }, - "add-dom-event-listener": { - "version": "1.1.0", - "resolved": "https://registry.npm.taobao.org/add-dom-event-listener/download/add-dom-event-listener-1.1.0.tgz", - "integrity": "sha1-apLbOg3Qq8JU4JXA8dwUrLuq4xA=", - "requires": { - "object-assign": "4.x" - } - }, "address": { "version": "1.1.2", "resolved": "https://registry.npm.taobao.org/address/download/address-1.1.2.tgz", @@ -2244,57 +2178,6 @@ "color-convert": "^1.9.0" } }, - "antd": { - "version": "4.2.0", - "resolved": "https://registry.npm.taobao.org/antd/download/antd-4.2.0.tgz", - "integrity": "sha1-G2ycsdU0sz6DokBS2afMuroZ0Tg=", - "requires": { - "@ant-design/icons": "^4.1.0", - "@ant-design/react-slick": "~0.25.5", - "array-tree-filter": "^2.1.0", - "classnames": "~2.2.6", - "copy-to-clipboard": "^3.2.0", - "css-animation": "^1.5.0", - "lodash": "^4.17.13", - "moment": "^2.24.0", - "omit.js": "^1.0.2", - "prop-types": "^15.7.2", - "raf": "^3.4.1", - "rc-animate": "~2.11.0", - "rc-cascader": "~1.0.0", - "rc-checkbox": "~2.2.0", - "rc-collapse": "~1.11.3", - "rc-dialog": "~7.6.0", - "rc-drawer": "~3.1.1", - "rc-dropdown": "~3.0.0", - "rc-field-form": "~1.2.0", - "rc-input-number": "~4.6.1", - "rc-mentions": "~1.1.0", - "rc-menu": "~8.0.1", - "rc-notification": "~4.0.0", - "rc-pagination": "~2.2.0", - "rc-picker": "~1.4.0", - "rc-progress": "~2.5.0", - "rc-rate": "~2.6.0", - "rc-resize-observer": "^0.2.0", - "rc-select": "~10.2.0", - "rc-slider": "~9.2.3", - "rc-steps": "~3.5.0", - "rc-switch": "~1.9.0", - "rc-table": "~7.5.2", - "rc-tabs": "~10.1.1", - "rc-tooltip": "~4.0.2", - "rc-tree": "~3.1.0", - "rc-tree-select": "~3.1.0", - "rc-trigger": "~4.0.0", - "rc-upload": "~3.0.4", - "rc-util": "^4.20.0", - "rc-virtual-list": "^1.1.0", - "resize-observer-polyfill": "^1.5.1", - "scroll-into-view-if-needed": "^2.2.20", - "warning": "~4.0.3" - } - }, "anymatch": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/anymatch/download/anymatch-2.0.0.tgz", @@ -2366,11 +2249,6 @@ "is-string": "^1.0.5" } }, - "array-tree-filter": { - "version": "2.1.0", - "resolved": "https://registry.npm.taobao.org/array-tree-filter/download/array-tree-filter-2.1.0.tgz", - "integrity": "sha1-hzrAD+yDdJ8lWsjdCDgUtPYykZA=" - }, "array-union": { "version": "1.0.2", "resolved": "https://registry.npm.taobao.org/array-union/download/array-union-1.0.2.tgz", @@ -2472,11 +2350,6 @@ "resolved": "https://registry.npm.taobao.org/async-limiter/download/async-limiter-1.0.1.tgz?cache=0&sync_timestamp=1574272018408&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-limiter%2Fdownload%2Fasync-limiter-1.0.1.tgz", "integrity": "sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=" }, - "async-validator": { - "version": "3.2.4", - "resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-3.2.4.tgz", - "integrity": "sha1-Tnc6HQ10EBa0VbeZW0aaR8zg2+A=" - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npm.taobao.org/asynckit/download/asynckit-0.4.0.tgz", @@ -3509,11 +3382,6 @@ } } }, - "classnames": { - "version": "2.2.6", - "resolved": "https://registry.npm.taobao.org/classnames/download/classnames-2.2.6.tgz", - "integrity": "sha1-Q5Nb/90pHzJtrQogUwmzjQD2UM4=" - }, "clean-css": { "version": "4.2.3", "resolved": "https://registry.npm.taobao.org/clean-css/download/clean-css-4.2.3.tgz", @@ -3667,24 +3535,11 @@ "resolved": "https://registry.npm.taobao.org/commondir/download/commondir-1.0.1.tgz", "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" }, - "component-classes": { - "version": "1.2.6", - "resolved": "https://registry.npm.taobao.org/component-classes/download/component-classes-1.2.6.tgz", - "integrity": "sha1-xkI5TDYYpNiwuJGe/Mu9kw5c1pE=", - "requires": { - "component-indexof": "0.0.3" - } - }, "component-emitter": { "version": "1.3.0", "resolved": "https://registry.npm.taobao.org/component-emitter/download/component-emitter-1.3.0.tgz", "integrity": "sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A=" }, - "component-indexof": { - "version": "0.0.3", - "resolved": "https://registry.npm.taobao.org/component-indexof/download/component-indexof-0.0.3.tgz", - "integrity": "sha1-EdCRMSI5648yyPJa6csAL/6NPCQ=" - }, "compose-function": { "version": "3.0.3", "resolved": "https://registry.npm.taobao.org/compose-function/download/compose-function-3.0.3.tgz", @@ -3730,11 +3585,6 @@ } } }, - "compute-scroll-into-view": { - "version": "1.0.13", - "resolved": "https://registry.npm.taobao.org/compute-scroll-into-view/download/compute-scroll-into-view-1.0.13.tgz", - "integrity": "sha1-vhsWY7Dj9WzV93EwglSfVio0d+I=" - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npm.taobao.org/concat-map/download/concat-map-0.0.1.tgz", @@ -3849,14 +3699,6 @@ "resolved": "https://registry.npm.taobao.org/copy-descriptor/download/copy-descriptor-0.1.1.tgz", "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" }, - "copy-to-clipboard": { - "version": "3.3.1", - "resolved": "https://registry.npm.taobao.org/copy-to-clipboard/download/copy-to-clipboard-3.3.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcopy-to-clipboard%2Fdownload%2Fcopy-to-clipboard-3.3.1.tgz", - "integrity": "sha1-EVqhqZmP+rYZb5MHatbaO5E2Yq4=", - "requires": { - "toggle-selection": "^1.0.6" - } - }, "core-js": { "version": "2.6.11", "resolved": "https://registry.npm.taobao.org/core-js/download/core-js-2.6.11.tgz", @@ -3981,15 +3823,6 @@ "urix": "^0.1.0" } }, - "css-animation": { - "version": "1.6.1", - "resolved": "https://registry.npm.taobao.org/css-animation/download/css-animation-1.6.1.tgz", - "integrity": "sha1-FiBko7DVH5WLf/N7PW1N4Y4XA54=", - "requires": { - "babel-runtime": "6.x", - "component-classes": "^1.2.5" - } - }, "css-blank-pseudo": { "version": "0.1.4", "resolved": "https://registry.npm.taobao.org/css-blank-pseudo/download/css-blank-pseudo-0.1.4.tgz", @@ -4536,11 +4369,6 @@ "resolved": "https://registry.npm.taobao.org/dom-accessibility-api/download/dom-accessibility-api-0.3.0.tgz", "integrity": "sha1-UR5Zk91nO5fIfqR9ug44kvfgyYM=" }, - "dom-align": { - "version": "1.11.1", - "resolved": "https://registry.npm.taobao.org/dom-align/download/dom-align-1.11.1.tgz?cache=0&sync_timestamp=1584440792731&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdom-align%2Fdownload%2Fdom-align-1.11.1.tgz", - "integrity": "sha1-dZK+maZgo2ze3B1u6yK4EJ11jK4=" - }, "dom-converter": { "version": "0.2.0", "resolved": "https://registry.npm.taobao.org/dom-converter/download/dom-converter-0.2.0.tgz", @@ -6127,11 +5955,6 @@ } } }, - "hammerjs": { - "version": "2.0.8", - "resolved": "https://registry.npm.taobao.org/hammerjs/download/hammerjs-2.0.8.tgz", - "integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE=" - }, "handle-thing": { "version": "2.0.1", "resolved": "https://registry.npm.taobao.org/handle-thing/download/handle-thing-2.0.1.tgz", @@ -6264,14 +6087,6 @@ "minimalistic-crypto-utils": "^1.0.1" } }, - "hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npm.taobao.org/hoist-non-react-statics/download/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha1-7OCsr3HWLClpwuxZ/v9CpLGoW0U=", - "requires": { - "react-is": "^16.7.0" - } - }, "hosted-git-info": { "version": "2.8.8", "resolved": "https://registry.npm.taobao.org/hosted-git-info/download/hosted-git-info-2.8.8.tgz", @@ -6671,11 +6486,6 @@ } } }, - "insert-css": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/insert-css/download/insert-css-2.0.0.tgz", - "integrity": "sha1-610Ql7dUL0x56jBg067gfQU4gPQ=" - }, "internal-ip": { "version": "4.3.0", "resolved": "https://registry.npm.taobao.org/internal-ip/download/internal-ip-4.3.0.tgz", @@ -8135,14 +7945,6 @@ "resolved": "https://registry.npm.taobao.org/json-stringify-safe/download/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" }, - "json2mq": { - "version": "0.2.0", - "resolved": "https://registry.npm.taobao.org/json2mq/download/json2mq-0.2.0.tgz", - "integrity": "sha1-tje9O6nqvhIsg+lyBIOusQ0skEo=", - "requires": { - "string-convert": "^0.2.0" - } - }, "json3": { "version": "3.3.3", "resolved": "https://registry.npm.taobao.org/json3/download/json3-3.3.3.tgz", @@ -8670,21 +8472,6 @@ } } }, - "mini-store": { - "version": "3.0.2", - "resolved": "https://registry.npm.taobao.org/mini-store/download/mini-store-3.0.2.tgz", - "integrity": "sha1-1jmR/OHjyWKH2S/IEu5n0JDkkJg=", - "requires": { - "@types/hoist-non-react-statics": "^3.3.1", - "@types/react-lifecycles-compat": "^3.0.1", - "@types/shallowequal": "^1.1.1", - "hoist-non-react-statics": "^3.3.2", - "prop-types": "^15.6.0", - "react-lifecycles-compat": "^3.0.4", - "shallowequal": "^1.0.2", - "typescript": "^3.8.3" - } - }, "minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/minimalistic-assert/download/minimalistic-assert-1.0.1.tgz", @@ -8800,11 +8587,6 @@ "minimist": "^1.2.5" } }, - "moment": { - "version": "2.25.0", - "resolved": "https://registry.npm.taobao.org/moment/download/moment-2.25.0.tgz?cache=0&sync_timestamp=1588298111401&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmoment%2Fdownload%2Fmoment-2.25.0.tgz", - "integrity": "sha1-6WGrmlhIoc8sUrGvTmyCqEAef+k=" - }, "move-concurrently": { "version": "1.0.1", "resolved": "https://registry.npm.taobao.org/move-concurrently/download/move-concurrently-1.0.1.tgz", @@ -9228,14 +9010,6 @@ "resolved": "https://registry.npm.taobao.org/obuf/download/obuf-1.1.2.tgz", "integrity": "sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4=" }, - "omit.js": { - "version": "1.0.2", - "resolved": "https://registry.npm.taobao.org/omit.js/download/omit.js-1.0.2.tgz", - "integrity": "sha1-kaFPDrqEBm36AVvzDkdMR/MLyFg=", - "requires": { - "babel-runtime": "^6.23.0" - } - }, "on-finished": { "version": "2.3.0", "resolved": "https://registry.npm.taobao.org/on-finished/download/on-finished-2.3.0.tgz", @@ -10859,360 +10633,6 @@ } } }, - "rc-align": { - "version": "3.0.0-rc.1", - "resolved": "https://registry.npm.taobao.org/rc-align/download/rc-align-3.0.0-rc.1.tgz?cache=0&sync_timestamp=1578313434900&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-align%2Fdownload%2Frc-align-3.0.0-rc.1.tgz", - "integrity": "sha1-MtH6yGDRK7hem4yvu973nz9TdnQ=", - "requires": { - "classnames": "2.x", - "dom-align": "^1.7.0", - "rc-util": "^4.12.0", - "resize-observer-polyfill": "^1.5.1" - } - }, - "rc-animate": { - "version": "2.11.1", - "resolved": "https://registry.npm.taobao.org/rc-animate/download/rc-animate-2.11.1.tgz", - "integrity": "sha1-JmbutvHypJWhOyrwniNnEieP2yw=", - "requires": { - "babel-runtime": "6.x", - "classnames": "^2.2.6", - "css-animation": "^1.3.2", - "prop-types": "15.x", - "raf": "^3.4.0", - "rc-util": "^4.15.3", - "react-lifecycles-compat": "^3.0.4" - } - }, - "rc-cascader": { - "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/rc-cascader/download/rc-cascader-1.0.1.tgz?cache=0&sync_timestamp=1582781950582&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-cascader%2Fdownload%2Frc-cascader-1.0.1.tgz", - "integrity": "sha1-dw3h4fp71VmqvU1Z5SWBm4vICbc=", - "requires": { - "array-tree-filter": "^2.1.0", - "rc-trigger": "^4.0.0", - "rc-util": "^4.0.4", - "warning": "^4.0.1" - } - }, - "rc-checkbox": { - "version": "2.2.0", - "resolved": "https://registry.npm.taobao.org/rc-checkbox/download/rc-checkbox-2.2.0.tgz", - "integrity": "sha1-oM6Vw08F4OuIJmQXRRjNS6o23Ok=", - "requires": { - "babel-runtime": "^6.23.0", - "classnames": "2.x" - } - }, - "rc-collapse": { - "version": "1.11.8", - "resolved": "https://registry.npm.taobao.org/rc-collapse/download/rc-collapse-1.11.8.tgz", - "integrity": "sha1-ZqQAidRpUZ6UJACasckn4hQEHYA=", - "requires": { - "classnames": "2.x", - "css-animation": "1.x", - "prop-types": "^15.5.6", - "rc-animate": "2.x", - "react-is": "^16.7.0", - "react-lifecycles-compat": "^3.0.4", - "shallowequal": "^1.1.0" - } - }, - "rc-dialog": { - "version": "7.6.1", - "resolved": "https://registry.npm.taobao.org/rc-dialog/download/rc-dialog-7.6.1.tgz?cache=0&sync_timestamp=1584699356539&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-dialog%2Fdownload%2Frc-dialog-7.6.1.tgz", - "integrity": "sha1-EVRczAuUWTT6dgeXJuDYU+UtcF8=", - "requires": { - "babel-runtime": "6.x", - "rc-animate": "2.x", - "rc-util": "^4.16.1" - } - }, - "rc-drawer": { - "version": "3.1.3", - "resolved": "https://registry.npm.taobao.org/rc-drawer/download/rc-drawer-3.1.3.tgz", - "integrity": "sha1-y8sE1MB/C2by7OEdhH9KG9gOoLc=", - "requires": { - "classnames": "^2.2.6", - "rc-util": "^4.16.1", - "react-lifecycles-compat": "^3.0.4" - } - }, - "rc-dropdown": { - "version": "3.0.2", - "resolved": "https://registry.npm.taobao.org/rc-dropdown/download/rc-dropdown-3.0.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-dropdown%2Fdownload%2Frc-dropdown-3.0.2.tgz", - "integrity": "sha1-5Ia2f16Oi54yZCbVqAJUYhRT1mo=", - "requires": { - "babel-runtime": "^6.26.0", - "classnames": "^2.2.6", - "rc-trigger": "^4.0.0" - } - }, - "rc-field-form": { - "version": "1.2.2", - "resolved": "https://registry.npm.taobao.org/rc-field-form/download/rc-field-form-1.2.2.tgz", - "integrity": "sha1-GGyhi7m43360EY2Tg3S1LPWJD9Y=", - "requires": { - "@babel/runtime": "^7.8.4", - "async-validator": "^3.0.3", - "rc-util": "^4.20.3" - } - }, - "rc-hammerjs": { - "version": "0.6.9", - "resolved": "https://registry.npm.taobao.org/rc-hammerjs/download/rc-hammerjs-0.6.9.tgz", - "integrity": "sha1-mk3b2hsuyPm5WWCRpqmJhCokOQc=", - "requires": { - "babel-runtime": "6.x", - "hammerjs": "^2.0.8", - "prop-types": "^15.5.9" - } - }, - "rc-input-number": { - "version": "4.6.1", - "resolved": "https://registry.npm.taobao.org/rc-input-number/download/rc-input-number-4.6.1.tgz?cache=0&sync_timestamp=1588134483298&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-input-number%2Fdownload%2Frc-input-number-4.6.1.tgz", - "integrity": "sha1-IhbWRMeIV8wYQR8NO2wU26mgzn8=", - "requires": { - "babel-runtime": "6.x", - "classnames": "^2.2.0", - "rc-util": "^4.5.1" - } - }, - "rc-mentions": { - "version": "1.1.0", - "resolved": "https://registry.npm.taobao.org/rc-mentions/download/rc-mentions-1.1.0.tgz?cache=0&sync_timestamp=1586401354443&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-mentions%2Fdownload%2Frc-mentions-1.1.0.tgz", - "integrity": "sha1-+kmUuU7uA+UlSgpgCDntGeH58Ok=", - "requires": { - "classnames": "^2.2.6", - "rc-menu": "^8.0.1", - "rc-trigger": "^4.0.0", - "rc-util": "^4.6.0" - } - }, - "rc-menu": { - "version": "8.0.3", - "resolved": "https://registry.npm.taobao.org/rc-menu/download/rc-menu-8.0.3.tgz", - "integrity": "sha1-1VPqqJLabALHTJsdLnePFArOTZk=", - "requires": { - "classnames": "2.x", - "mini-store": "^3.0.1", - "rc-animate": "^2.10.1", - "rc-trigger": "^4.0.0", - "rc-util": "^4.13.0", - "resize-observer-polyfill": "^1.5.0", - "scroll-into-view-if-needed": "^2.2.20", - "shallowequal": "^1.1.0" - } - }, - "rc-notification": { - "version": "4.0.0", - "resolved": "https://registry.npm.taobao.org/rc-notification/download/rc-notification-4.0.0.tgz", - "integrity": "sha1-/+WXg9ZzgAOXLd6LlljxrNRpzSw=", - "requires": { - "classnames": "2.x", - "rc-animate": "2.x", - "rc-util": "^4.0.4" - } - }, - "rc-pagination": { - "version": "2.2.0", - "resolved": "https://registry.npm.taobao.org/rc-pagination/download/rc-pagination-2.2.0.tgz", - "integrity": "sha1-jaqrG2rWZNot3qhC+GaHtpLrd10=", - "requires": { - "classnames": "^2.2.1" - } - }, - "rc-picker": { - "version": "1.4.9", - "resolved": "https://registry.npm.taobao.org/rc-picker/download/rc-picker-1.4.9.tgz", - "integrity": "sha1-vvk2vwTnAV66XhPbd9RG8myco5Q=", - "requires": { - "classnames": "^2.2.1", - "moment": "^2.24.0", - "rc-trigger": "^4.0.0", - "rc-util": "^4.17.0", - "shallowequal": "^1.1.0" - } - }, - "rc-progress": { - "version": "2.5.2", - "resolved": "https://registry.npm.taobao.org/rc-progress/download/rc-progress-2.5.2.tgz", - "integrity": "sha1-qwG6Tl0vo2/J9vBYsQtyDnMVVgw=", - "requires": { - "babel-runtime": "6.x", - "prop-types": "^15.5.8" - } - }, - "rc-rate": { - "version": "2.6.0", - "resolved": "https://registry.npm.taobao.org/rc-rate/download/rc-rate-2.6.0.tgz?cache=0&sync_timestamp=1587022171938&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-rate%2Fdownload%2Frc-rate-2.6.0.tgz", - "integrity": "sha1-OZDxsMfw2pFGXBKvNhLAPdg2cD0=", - "requires": { - "classnames": "^2.2.5", - "rc-util": "^4.20.1" - } - }, - "rc-resize-observer": { - "version": "0.2.1", - "resolved": "https://registry.npm.taobao.org/rc-resize-observer/download/rc-resize-observer-0.2.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-resize-observer%2Fdownload%2Frc-resize-observer-0.2.1.tgz", - "integrity": "sha1-RhCsuKDyqEtejUVmSWSsMrXT33I=", - "requires": { - "classnames": "^2.2.1", - "rc-util": "^4.14.0", - "resize-observer-polyfill": "^1.5.1" - } - }, - "rc-select": { - "version": "10.2.4", - "resolved": "https://registry.npm.taobao.org/rc-select/download/rc-select-10.2.4.tgz?cache=0&sync_timestamp=1587198113515&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-select%2Fdownload%2Frc-select-10.2.4.tgz", - "integrity": "sha1-8pPJOYLFMOVOJE0j9cHdhFEYlVA=", - "requires": { - "classnames": "2.x", - "rc-animate": "^2.10.0", - "rc-trigger": "^4.0.0", - "rc-util": "^4.20.0", - "rc-virtual-list": "^1.1.2", - "warning": "^4.0.3" - } - }, - "rc-slider": { - "version": "9.2.4", - "resolved": "https://registry.npm.taobao.org/rc-slider/download/rc-slider-9.2.4.tgz", - "integrity": "sha1-kuK1jFPe+ZIa4PwoInJ6tXhbntA=", - "requires": { - "babel-runtime": "6.x", - "classnames": "^2.2.5", - "rc-tooltip": "^4.0.0", - "rc-util": "^4.0.4", - "shallowequal": "^1.1.0", - "warning": "^4.0.3" - } - }, - "rc-steps": { - "version": "3.5.0", - "resolved": "https://registry.npm.taobao.org/rc-steps/download/rc-steps-3.5.0.tgz", - "integrity": "sha1-NrKn8fSZB7DZA2OISxhiPK+ftgA=", - "requires": { - "babel-runtime": "^6.23.0", - "classnames": "^2.2.3", - "lodash": "^4.17.5", - "prop-types": "^15.5.7" - } - }, - "rc-switch": { - "version": "1.9.0", - "resolved": "https://registry.npm.taobao.org/rc-switch/download/rc-switch-1.9.0.tgz", - "integrity": "sha1-qyuHjycTxoE1ikUzkZdsm5WykPc=", - "requires": { - "classnames": "^2.2.1", - "prop-types": "^15.5.6", - "react-lifecycles-compat": "^3.0.4" - } - }, - "rc-table": { - "version": "7.5.3", - "resolved": "https://registry.npm.taobao.org/rc-table/download/rc-table-7.5.3.tgz?cache=0&sync_timestamp=1588307523252&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-table%2Fdownload%2Frc-table-7.5.3.tgz", - "integrity": "sha1-HnBgSVQPOq6vGYYQEoO2luoD4eM=", - "requires": { - "classnames": "^2.2.5", - "component-classes": "^1.2.6", - "lodash": "^4.17.5", - "prop-types": "^15.5.8", - "raf": "^3.4.1", - "rc-resize-observer": "^0.2.0", - "rc-util": "^4.20.1", - "react-lifecycles-compat": "^3.0.2", - "shallowequal": "^1.1.0" - } - }, - "rc-tabs": { - "version": "10.1.1", - "resolved": "https://registry.npm.taobao.org/rc-tabs/download/rc-tabs-10.1.1.tgz", - "integrity": "sha1-hH2MIDiEKjy18udJNdDji4X85h4=", - "requires": { - "classnames": "2.x", - "lodash": "^4.17.5", - "rc-hammerjs": "~0.6.0", - "resize-observer-polyfill": "^1.5.1", - "warning": "^4.0.3" - } - }, - "rc-tooltip": { - "version": "4.0.3", - "resolved": "https://registry.npm.taobao.org/rc-tooltip/download/rc-tooltip-4.0.3.tgz", - "integrity": "sha1-cot2CGNkPsLoWCei5/so2WGzt1k=", - "requires": { - "rc-trigger": "^4.0.0" - } - }, - "rc-tree": { - "version": "3.1.6", - "resolved": "https://registry.npm.taobao.org/rc-tree/download/rc-tree-3.1.6.tgz", - "integrity": "sha1-WspmKAGVS+LgBgmJjUJ/FsqQI+U=", - "requires": { - "classnames": "2.x", - "prop-types": "^15.5.8", - "rc-animate": "^2.9.2", - "rc-util": "^4.11.0", - "rc-virtual-list": "^1.1.0", - "react-lifecycles-compat": "^3.0.4" - } - }, - "rc-tree-select": { - "version": "3.1.3", - "resolved": "https://registry.npm.taobao.org/rc-tree-select/download/rc-tree-select-3.1.3.tgz", - "integrity": "sha1-0x77+ZVdcLJQ/lBkWznztwWj0SQ=", - "requires": { - "classnames": "2.x", - "rc-select": "^10.1.0", - "rc-tree": "^3.1.0", - "rc-util": "^4.17.0" - } - }, - "rc-trigger": { - "version": "4.0.2", - "resolved": "https://registry.npm.taobao.org/rc-trigger/download/rc-trigger-4.0.2.tgz", - "integrity": "sha1-Qv5722pbNANeIPqev61p7JSLVr4=", - "requires": { - "classnames": "^2.2.6", - "prop-types": "15.x", - "raf": "^3.4.1", - "rc-align": "^3.0.0-rc.0", - "rc-animate": "^2.10.2", - "rc-util": "^4.20.0" - } - }, - "rc-upload": { - "version": "3.0.4", - "resolved": "https://registry.npm.taobao.org/rc-upload/download/rc-upload-3.0.4.tgz", - "integrity": "sha1-X9i6nu/B5GYiUkCumXQEaT2G+gk=", - "requires": { - "babel-runtime": "6.x", - "classnames": "^2.2.5" - } - }, - "rc-util": { - "version": "4.20.5", - "resolved": "https://registry.npm.taobao.org/rc-util/download/rc-util-4.20.5.tgz", - "integrity": "sha1-98d1aelxrmqK1W+JnK3SInU5gyU=", - "requires": { - "add-dom-event-listener": "^1.1.0", - "prop-types": "^15.5.10", - "react-is": "^16.12.0", - "react-lifecycles-compat": "^3.0.4", - "shallowequal": "^1.1.0" - } - }, - "rc-virtual-list": { - "version": "1.1.2", - "resolved": "https://registry.npm.taobao.org/rc-virtual-list/download/rc-virtual-list-1.1.2.tgz?cache=0&sync_timestamp=1585908232270&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frc-virtual-list%2Fdownload%2Frc-virtual-list-1.1.2.tgz", - "integrity": "sha1-/j2hE2s85hKzeJH8LPQ0R8ikCy8=", - "requires": { - "classnames": "^2.2.6", - "raf": "^3.4.1", - "rc-util": "^4.8.0" - } - }, "react": { "version": "16.13.1", "resolved": "https://registry.npm.taobao.org/react/download/react-16.13.1.tgz", @@ -11497,11 +10917,6 @@ "resolved": "https://registry.npm.taobao.org/react-is/download/react-is-16.13.1.tgz", "integrity": "sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ=" }, - "react-lifecycles-compat": { - "version": "3.0.4", - "resolved": "https://registry.npm.taobao.org/react-lifecycles-compat/download/react-lifecycles-compat-3.0.4.tgz", - "integrity": "sha1-TxonOv38jzSIqMUWv9p4+HI1I2I=" - }, "react-scripts": { "version": "3.4.1", "resolved": "https://registry.npm.taobao.org/react-scripts/download/react-scripts-3.4.1.tgz", @@ -11884,11 +11299,6 @@ "resolved": "https://registry.npm.taobao.org/requires-port/download/requires-port-1.0.0.tgz", "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" }, - "resize-observer-polyfill": { - "version": "1.5.1", - "resolved": "https://registry.npm.taobao.org/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz", - "integrity": "sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=" - }, "resolve": { "version": "1.15.0", "resolved": "https://registry.npm.taobao.org/resolve/download/resolve-1.15.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.15.0.tgz", @@ -12175,14 +11585,6 @@ "ajv-keywords": "^3.4.1" } }, - "scroll-into-view-if-needed": { - "version": "2.2.24", - "resolved": "https://registry.npm.taobao.org/scroll-into-view-if-needed/download/scroll-into-view-if-needed-2.2.24.tgz", - "integrity": "sha1-ErylMpkHab1QkRWkntz6dV6SoOo=", - "requires": { - "compute-scroll-into-view": "^1.0.13" - } - }, "select-hose": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/select-hose/download/select-hose-2.0.0.tgz", @@ -12385,11 +11787,6 @@ } } }, - "shallowequal": { - "version": "1.1.0", - "resolved": "https://registry.npm.taobao.org/shallowequal/download/shallowequal-1.1.0.tgz", - "integrity": "sha1-GI1SHelbkIdAT9TctosT3wrk5/g=" - }, "shebang-command": { "version": "1.2.0", "resolved": "https://registry.npm.taobao.org/shebang-command/download/shebang-command-1.2.0.tgz", @@ -12881,11 +12278,6 @@ "resolved": "https://registry.npm.taobao.org/strict-uri-encode/download/strict-uri-encode-1.1.0.tgz", "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" }, - "string-convert": { - "version": "0.2.1", - "resolved": "https://registry.npm.taobao.org/string-convert/download/string-convert-0.2.1.tgz", - "integrity": "sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c=" - }, "string-length": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/string-length/download/string-length-2.0.0.tgz", @@ -13373,11 +12765,6 @@ "resolved": "https://registry.npm.taobao.org/timsort/download/timsort-0.3.0.tgz", "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" }, - "tinycolor2": { - "version": "1.4.1", - "resolved": "https://registry.npm.taobao.org/tinycolor2/download/tinycolor2-1.4.1.tgz", - "integrity": "sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g=" - }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npm.taobao.org/tmp/download/tmp-0.0.33.tgz", @@ -13429,11 +12816,6 @@ "repeat-string": "^1.6.1" } }, - "toggle-selection": { - "version": "1.0.6", - "resolved": "https://registry.npm.taobao.org/toggle-selection/download/toggle-selection-1.0.6.tgz", - "integrity": "sha1-bkWxJj8gF/oKzH2J14sVuL932jI=" - }, "toidentifier": { "version": "1.0.0", "resolved": "https://registry.npm.taobao.org/toidentifier/download/toidentifier-1.0.0.tgz", @@ -13524,11 +12906,6 @@ "resolved": "https://registry.npm.taobao.org/typedarray/download/typedarray-0.0.6.tgz", "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, - "typescript": { - "version": "3.8.3", - "resolved": "https://registry.npm.taobao.org/typescript/download/typescript-3.8.3.tgz", - "integrity": "sha1-QJ64VE6gM1cRIFhp7EWKsQnuEGE=" - }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npm.taobao.org/unicode-canonical-property-names-ecmascript/download/unicode-canonical-property-names-ecmascript-1.0.4.tgz", @@ -13815,14 +13192,6 @@ "makeerror": "1.0.x" } }, - "warning": { - "version": "4.0.3", - "resolved": "https://registry.npm.taobao.org/warning/download/warning-4.0.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwarning%2Fdownload%2Fwarning-4.0.3.tgz", - "integrity": "sha1-Fungd+uKhtavfWSqHgX9hbRnjKM=", - "requires": { - "loose-envify": "^1.0.0" - } - }, "watchpack": { "version": "1.6.1", "resolved": "https://registry.npm.taobao.org/watchpack/download/watchpack-1.6.1.tgz", diff --git a/package.json b/package.json index b3a8c2a..750cab4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", - "antd": "^4.2.0", "react": "^16.13.1", "react-dom": "^16.13.1", "react-scripts": "3.4.1" diff --git a/src/components/Qrcode.css b/src/components/Qrcode.css index 65a0902..708446f 100644 --- a/src/components/Qrcode.css +++ b/src/components/Qrcode.css @@ -5,7 +5,6 @@ padding-bottom: calc((10px + 2vmin) * 2); } - .Qr-titled-nobg { padding-top: calc((10px + 2vmin) * 2); padding-bottom: calc((10px + 2vmin) * 2); @@ -16,8 +15,9 @@ } .Qr-title { - margin-top: 3em; + margin-top: 2em; font-weight: bold; + font-size: 2.5em; } .Qr-subtitle { diff --git a/src/components/Qrcode.js b/src/components/Qrcode.js index 7b68477..5d94c48 100644 --- a/src/components/Qrcode.js +++ b/src/components/Qrcode.js @@ -6,6 +6,7 @@ import {getQrcodeData} from "../utils/qrcodeHandler"; import {saveImg, saveSvg} from "../utils/downloader"; import {isWeiXin} from "../utils/util"; import './Qrcode.css'; +import logo from '../qrbtf-logo.svg'; import QrItem from "./QrItem"; import QrRendererBase from "./QrRendererBase"; @@ -13,6 +14,12 @@ import QrRendererRound from "./QrRendererRound"; import QrRendererBlank from "./QrRendererBlank"; import QrRendererRandRect from "./QrRendererRandRect"; +const logoStyle = { + background: `url(${logo})`, + backgroundRepeat: 'no-repeat', + backgroundPosition: 'left' +}; + const date = new Date(); const currentYear = date.getFullYear(); @@ -155,7 +162,9 @@ class Qrcode extends React.Component { return (
-

qrbtf.com

+
+

+

参数化二维码生成器

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +