From c7fabf6581530571d5e222876512f65710630cf5 Mon Sep 17 00:00:00 2001 From: CPunisher <1343316114@qq.com> Date: Wed, 20 May 2020 20:10:45 +0800 Subject: [PATCH 1/3] code arrangement --- src/components/app/PartStyles.js | 12 +- src/components/renderer/Renderer25D.js | 21 +-- src/components/renderer/RendererBase.js | 119 +++++++++++++++-- src/components/renderer/RendererBlank.js | 25 +--- src/components/renderer/RendererDSJ.js | 20 +-- src/components/renderer/RendererImage.js | 24 ++-- src/components/renderer/RendererRandRect.js | 17 +-- src/components/renderer/RendererRandRound.js | 132 ------------------- src/components/renderer/RendererResImage.js | 6 +- src/components/renderer/RendererRound.js | 132 ------------------- src/components/style/Renderer.js | 37 +++++- src/constant/References.js | 4 + src/containers/style/StyleListViewer.js | 8 +- src/reducers/index.js | 4 +- src/utils/qrcodeHandler.js | 8 +- src/utils/util.js | 7 + 16 files changed, 194 insertions(+), 382 deletions(-) delete mode 100644 src/components/renderer/RendererRandRound.js delete mode 100644 src/components/renderer/RendererRound.js diff --git a/src/components/app/PartStyles.js b/src/components/app/PartStyles.js index 14ecadb..0afd1ed 100644 --- a/src/components/app/PartStyles.js +++ b/src/components/app/PartStyles.js @@ -3,13 +3,6 @@ import './App.css'; import StyleListViewer from "../../containers/style/StyleListViewer"; import {isPC} from "../../utils/util"; -const PCMessage = () => { - if (isPC()) { - return
点击选择样式
下载二维码 — {value}
++ 下载二维码 — {value} + {downloadCount} +