From 55fac5c36e79071c712f2c2706391ddd3e70d45b Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 23 Nov 2023 11:06:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20per:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zfb-redPackets.css | 15 ++++++++++++++- zfb-redPackets.html | 9 ++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/zfb-redPackets.css b/zfb-redPackets.css index 51dc69a..64048c7 100644 --- a/zfb-redPackets.css +++ b/zfb-redPackets.css @@ -30,7 +30,7 @@ body { background: #f4f6f9; } - .modal { + .mask { height: 6rem; } } @@ -48,6 +48,19 @@ body { background-color: rgb(250, 67, 59); } +.mask { + background: rgba(0, 0, 0, 0.1); + position: fixed; + top: 0; + left: 0; + bottom: 0; + z-index: 9999; + right: 0; + display: flex; + align-items: center; + justify-content: center; +} + .box { padding: 0.1rem 0.1rem 0.2rem; box-sizing: border-box; diff --git a/zfb-redPackets.html b/zfb-redPackets.html index e32840f..1ffa46a 100644 --- a/zfb-redPackets.html +++ b/zfb-redPackets.html @@ -13,6 +13,8 @@ + + @@ -29,7 +31,11 @@ {{prompt_text}} -
+
+ +
+ +

{{goodsInfo.entity.batch_goods_name}}

@@ -194,6 +200,7 @@ this.goodsInfo.available = 9; sessionStorage.setItem('goodsInfo', JSON.stringify(this.goodsInfo)); this.tip(message, 1, '关闭'); + this.$refs.app.scrollIntoView(); } else { this.loading = false; if (code == 403) {