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