From 16829b86273681aa5edf1d30d181c85eaf00bc7e Mon Sep 17 00:00:00 2001 From: Fox-33 <1466778434@qq.com> Date: Wed, 16 Apr 2025 21:57:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages_order/mine/service.vue | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pages_order/mine/service.vue b/pages_order/mine/service.vue index e326848..57d65e4 100644 --- a/pages_order/mine/service.vue +++ b/pages_order/mine/service.vue @@ -1,9 +1,12 @@ @@ -18,7 +21,7 @@ computed: { ...mapState(['configList']), bgStyle() { - return `background-image: url(${ this.configList.codeImg}); background-size: contain;` + return `background-image: url(${ this.configList.codeImg}); background-size: 100% auto;` } }, onLoad() { @@ -30,24 +33,21 @@ .page { width: 100vw; height: 100vh; - - position: relative; - overflow: hidden; } -.bg { +.content { + position: relative; width: 100vw; - height: calc(100vh - #{$navbar-height} - var(--status-bar-height) - 20rpx); + height: calc((1624 / 750) * 100vw); } .qr { position: absolute; - top: 854rpx; - left: 50%; - transform: translateX(-50%); + bottom: calc((454 / 750) * 100vw); + left: calc((214 / 750) * 100vw); - width: 316rpx; - height: 316rpx; + width: calc((316 / 750) * 100vw); + height: calc((316 / 750) * 100vw); } \ No newline at end of file -- 2.15.0