From eab76b0f9cd0a582c9a686b08ccdd291b311a58c Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 22 Jan 2025 18:59:33 +0800 Subject: [PATCH] no message --- css/details.css | 5 +++++ css/details.less | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/css/details.css b/css/details.css index e1c1b76..d75876b 100644 --- a/css/details.css +++ b/css/details.css @@ -229,6 +229,7 @@ height: 32px; background-color: #6fc16d; border-radius: 22px; + position: relative; } .boxbox .details .right .admission-btn .item .btn .img { width: 19px; @@ -250,6 +251,10 @@ .boxbox .details .right .admission-btn .item .btn .min-QRcode .min-QRcode { width: 100px; height: 100px; + position: absolute; + top: 10px; + left: 50%; + transform: translateX(-50%); } .boxbox .details .QRCode { position: relative; diff --git a/css/details.less b/css/details.less index 2745c7c..4549933 100644 --- a/css/details.less +++ b/css/details.less @@ -260,6 +260,8 @@ height: 32px; background-color: rgba(111, 193, 109, 1); border-radius: 22px; + position: relative; + .img { width: 19px; // height: 13px; @@ -271,7 +273,7 @@ height: 126px; position: absolute; bottom: 42px; - + .bj { position: absolute; left: -5px; @@ -283,6 +285,10 @@ .min-QRcode { width: 100px; height: 100px; + position: absolute; + top: 10px; + left: 50%; + transform: translateX(-50%); } } }