Fix:4739 【商城小程序】送礼包界面,点击数量弹出键盘,点击空白处收起键盘时屏幕出现闪屏现象
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view v-if="!isGroupBuy">
|
<view v-if="!isGroupBuy">
|
||||||
<u-number-box
|
<u-number-box
|
||||||
v-if="!isPayOk"
|
v-if="showInput"
|
||||||
v-model="goodsInfo.cartNum"
|
v-model="goodsInfo.cartNum"
|
||||||
:max="goodsInfo['productInfo']['attrInfo']['stock']"
|
:max="goodsInfo['productInfo']['attrInfo']['stock']"
|
||||||
integer
|
integer
|
||||||
@@ -243,7 +243,8 @@ export default {
|
|||||||
showPopup: false,
|
showPopup: false,
|
||||||
blindImage: '',
|
blindImage: '',
|
||||||
isGroupBuy: false,
|
isGroupBuy: false,
|
||||||
popupCover: ''
|
popupCover: '',
|
||||||
|
showInput: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -400,9 +401,9 @@ export default {
|
|||||||
},
|
},
|
||||||
numberBlur(e) {
|
numberBlur(e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
this.isPayOk = true
|
this.showInput = false
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.isPayOk = false
|
this.showInput = true
|
||||||
},10)
|
},10)
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user