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 @@