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; }