From 2280c0518bd2842c6a31622b20652ae8eef04f2b Mon Sep 17 00:00:00 2001 From: Waiting Date: Sat, 3 Feb 2024 20:03:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mall/index.vue | 16 ++++++++++++++++ src/pages/qrcode/index.vue | 6 ++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/pages/mall/index.vue b/src/pages/mall/index.vue index aad4e41..8e86977 100644 --- a/src/pages/mall/index.vue +++ b/src/pages/mall/index.vue @@ -30,6 +30,7 @@ + 10 @@ -207,5 +208,20 @@ const changeCategory = (index: number) => { width: 40rpx; height: 40rpx; } + + text { + display: flex; + min-width: 39rpx; + min-height: 39rpx; + background: #F32B2B; + align-items: center; + justify-content: center; + top: -5rpx; + right: -5rpx; + color: white; + position: absolute; + border-radius: 50%; + border: 2rpx solid #FFFFFF; + } } diff --git a/src/pages/qrcode/index.vue b/src/pages/qrcode/index.vue index 8cf82f3..1edaf60 100644 --- a/src/pages/qrcode/index.vue +++ b/src/pages/qrcode/index.vue @@ -168,14 +168,12 @@ const convertBase64 = (data: ArrayBuffer) => { .barcode-view { display: flex; - width: 80%; + width: 100%; flex-direction: column; - align-self: center; - justify-content: center; align-items: center; image { - width: 100%; + //width: 100%; height: 130rpx; }