Fix(云灵AI):[#5193]“我要送礼”推荐结果,点击下单/送礼按钮,规格弹窗弹出时,左上角的返回按钮仍然可以点击-2
This commit is contained in:
@@ -428,6 +428,7 @@
|
|||||||
:show-ok="!showGiftBtn"
|
:show-ok="!showGiftBtn"
|
||||||
:is-gift="showGiftBtn"
|
:is-gift="showGiftBtn"
|
||||||
:padding-bottom="'60px'"
|
:padding-bottom="'60px'"
|
||||||
|
class-name="ai-product-window"
|
||||||
ok-text="立即购买"
|
ok-text="立即购买"
|
||||||
@changeFun="changeFun"
|
@changeFun="changeFun"
|
||||||
@ok="buyNowOrGiftBuyReq(1)"
|
@ok="buyNowOrGiftBuyReq(1)"
|
||||||
|
|||||||
@@ -549,6 +549,7 @@
|
|||||||
:show-ok="!showGiftBtn"
|
:show-ok="!showGiftBtn"
|
||||||
:is-gift="showGiftBtn"
|
:is-gift="showGiftBtn"
|
||||||
:padding-bottom="'60px'"
|
:padding-bottom="'60px'"
|
||||||
|
class-name="ai-product-window"
|
||||||
ok-text="立即购买"
|
ok-text="立即购买"
|
||||||
@changeFun="changeFun"
|
@changeFun="changeFun"
|
||||||
@ok="buyNowOrGiftBuyReq(1)"
|
@ok="buyNowOrGiftBuyReq(1)"
|
||||||
|
|||||||
@@ -36,7 +36,13 @@ input{line-height: normal; box-sizing:border-box;}
|
|||||||
}
|
}
|
||||||
.line1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width: 100%;}
|
.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;}
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -570,7 +570,7 @@ page {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
z-index: 1001;
|
z-index: 88;
|
||||||
border-radius: 0.16*100rpx 0.16*100rpx 0 0;
|
border-radius: 0.16*100rpx 0.16*100rpx 0 0;
|
||||||
padding-bottom: 1.4*100rpx;
|
padding-bottom: 1.4*100rpx;
|
||||||
transform: translate3d(0, 100%, 0);
|
transform: translate3d(0, 100%, 0);
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<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="textpic acea-row row-between-wrapper">
|
||||||
<view class="pictrue" @click="previewImg(attrObj.productSelect.image)">
|
<view class="pictrue" @click="previewImg(attrObj.productSelect.image)">
|
||||||
<image :src="attrObj.productSelect.image" class="image" />
|
<image :src="attrObj.productSelect.image" class="image" />
|
||||||
@@ -84,7 +91,13 @@
|
|||||||
>送给朋友</u-button>
|
>送给朋友</u-button>
|
||||||
</view>
|
</view>
|
||||||
</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>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -122,6 +135,10 @@ export default {
|
|||||||
okText: {
|
okText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '加入购物车'
|
default: '加入购物车'
|
||||||
|
},
|
||||||
|
className: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user