From e5f6e8f85e9d1d1cb9c216f878a28297c86a94ae Mon Sep 17 00:00:00 2001 From: YongZL <1679963578@qq.com> Date: Wed, 1 Nov 2023 10:58:24 +0800 Subject: [PATCH] feat: ui --- src/components/common/productQrcode.tsx | 11 ++++++++--- src/components/svgr/Border.js | 22 ++++++++++++++++++++++ src/components/svgr/index.js | 1 + 3 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 src/components/svgr/Border.js diff --git a/src/components/common/productQrcode.tsx b/src/components/common/productQrcode.tsx index e76b953..c010802 100644 --- a/src/components/common/productQrcode.tsx +++ b/src/components/common/productQrcode.tsx @@ -1,6 +1,7 @@ import classNames from 'classnames'; import QRCode from 'qrcode.react'; -import { Carbon3Name, DisableQrcode } from '../svgr'; +import { Border, Carbon3Name, DisableQrcode } from '../svgr'; +import { Fragment } from 'react'; export function ProductQrcode(p: any) { const { qrText, className, qrcodeDisable, data, name = 'Certified' } = p; @@ -20,10 +21,14 @@ export function ProductQrcode(p: any) {
{qrText ? qrText : `Product Carbon Footprint ${name}`}
+ +