Fix(云灵AI):[#5193]“我要送礼”推荐结果,点击下单/送礼按钮,规格弹窗弹出时,左上角的返回按钮仍然可以点击-2

(cherry picked from commit a54b674e6f)
This commit is contained in:
lifizer
2026-05-07 17:07:24 +08:00
parent 4c84f63a93
commit 475972e7d0
5 changed files with 29 additions and 4 deletions
+1
View File
@@ -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)"
+1
View File
@@ -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)"
+7 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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);
+19 -2
View File
@@ -1,6 +1,13 @@
<template>
<view>
<view class="product-window" :class="attr.cartAttr === true ? 'on' : ''" :style="{paddingBottom: paddingBottom}">
<view
:class="{
'on': attr.cartAttr === true,
[className]: className
}"
:style="{paddingBottom: paddingBottom}"
class="product-window"
>
<view class="textpic acea-row row-between-wrapper">
<view class="pictrue" @click="previewImg(attrObj.productSelect.image)">
<image :src="attrObj.productSelect.image" class="image" />
@@ -84,7 +91,13 @@
>送给朋友</u-button>
</view>
</view>
<view class="mask" @touchmove.prevent :hidden="attr.cartAttr === false" @click="closeAttr"></view>
<view
:hidden="attr.cartAttr === false"
:class="className"
class="mask"
@touchmove.prevent
@click="closeAttr"
></view>
</view>
</template>
<script>
@@ -122,6 +135,10 @@ export default {
okText: {
type: String,
default: '加入购物车'
},
className: {
type: String,
default: ''
}
},
data() {