From a54b674e6fc48dc453082b63513e4244cf0b7e96 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Thu, 7 May 2026 17:07:05 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E4=BA=91=E7=81=B5AI):[#5193]=E2=80=9C?= =?UTF-8?q?=E6=88=91=E8=A6=81=E9=80=81=E7=A4=BC=E2=80=9D=E6=8E=A8=E8=8D=90?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=EF=BC=8C=E7=82=B9=E5=87=BB=E4=B8=8B=E5=8D=95?= =?UTF-8?q?/=E9=80=81=E7=A4=BC=E6=8C=89=E9=92=AE=EF=BC=8C=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E5=BC=B9=E7=AA=97=E5=BC=B9=E5=87=BA=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=B7=A6=E4=B8=8A=E8=A7=92=E7=9A=84=E8=BF=94=E5=9B=9E=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=BB=8D=E7=84=B6=E5=8F=AF=E4=BB=A5=E7=82=B9=E5=87=BB?= =?UTF-8?q?-2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aiChat/views/history.vue | 1 + aiChat/views/index.vue | 1 + assets/css/reset.less | 8 +++++++- assets/css/style.less | 2 +- components/ProductWindow.vue | 21 +++++++++++++++++++-- 5 files changed, 29 insertions(+), 4 deletions(-) diff --git a/aiChat/views/history.vue b/aiChat/views/history.vue index deca2ff..d0e8599 100644 --- a/aiChat/views/history.vue +++ b/aiChat/views/history.vue @@ -428,6 +428,7 @@ :show-ok="!showGiftBtn" :is-gift="showGiftBtn" :padding-bottom="'60px'" + class-name="ai-product-window" ok-text="立即购买" @changeFun="changeFun" @ok="buyNowOrGiftBuyReq(1)" diff --git a/aiChat/views/index.vue b/aiChat/views/index.vue index 6567589..9050028 100644 --- a/aiChat/views/index.vue +++ b/aiChat/views/index.vue @@ -549,6 +549,7 @@ :show-ok="!showGiftBtn" :is-gift="showGiftBtn" :padding-bottom="'60px'" + class-name="ai-product-window" ok-text="立即购买" @changeFun="changeFun" @ok="buyNowOrGiftBuyReq(1)" diff --git a/assets/css/reset.less b/assets/css/reset.less index f26e0f2..44be42c 100644 --- a/assets/css/reset.less +++ b/assets/css/reset.less @@ -36,7 +36,13 @@ input{line-height: normal; box-sizing:border-box;} } .line1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width: 100%;} .line2{word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;} -.mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;background-color:rgba(0,0,0,0.5);} +.mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:55;background-color:rgba(0,0,0,0.5);} +.ai-product-window.product-window { + z-index: 1002; +} +.ai-product-window.mask { + z-index: 1001; +} diff --git a/assets/css/style.less b/assets/css/style.less index 44811ca..1cf7285 100644 --- a/assets/css/style.less +++ b/assets/css/style.less @@ -570,7 +570,7 @@ page { width: 100%; left: 0; background-color: #fff; - z-index: 1001; + z-index: 88; border-radius: 0.16*100rpx 0.16*100rpx 0 0; padding-bottom: 1.4*100rpx; transform: translate3d(0, 100%, 0); diff --git a/components/ProductWindow.vue b/components/ProductWindow.vue index 081a200..aed5f31 100644 --- a/components/ProductWindow.vue +++ b/components/ProductWindow.vue @@ -1,6 +1,13 @@