修复弹窗bug

This commit is contained in:
weipengfei 2023-10-24 18:28:44 +08:00
parent 8c12b43e4f
commit 3275130d80
2 changed files with 10 additions and 6 deletions

View File

@ -83,7 +83,7 @@
<view class="tools-two-title"> {{item.name}}</view> <view class="tools-two-title"> {{item.name}}</view>
</view> </view>
</view> </view>
<view class="tools-two" v-else-if="userInfoData.mer_info.setting_status==1"> <view class="tools-two" v-else-if="isgShow&&userInfoData.mer_info.setting_status==1">
<view class="" v-for="(item,k) in typelist" :key='k' @click="navation(item)"> <view class="" v-for="(item,k) in typelist" :key='k' @click="navation(item)">
<view class="tools-two-img"> <view class="tools-two-img">
<image :src="item.image" mode=""></image> <image :src="item.image" mode=""></image>
@ -264,7 +264,7 @@
</view> </view>
</view> </view>
</view> </view>
<uni-popup ref="popup" type="bottom"> <uni-popup ref="popup" type="bottom" @change="changePopup">
<view class="userpage"> <view class="userpage">
<view class="userpage-icon" @click="close"> <view class="userpage-icon" @click="close">
@ -537,14 +537,12 @@
num: 10 num: 10
} }
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.getGoods(true) this.getGoods(true)
uni.stopPullDownRefresh() uni.stopPullDownRefresh()
}, },
onLoad() { onLoad() {
this.list1() this.list1()
this.Fheight = uni.getSystemInfoSync().windowHeight + 'px'; this.Fheight = uni.getSystemInfoSync().windowHeight + 'px';
}, },
@ -668,6 +666,10 @@
} }
}, },
changePopup(e){
if(e.show)uni.hideTabBar();
else uni.showTabBar();
},
// //
refundModify(item) { refundModify(item) {
this.refundInfo = item; this.refundInfo = item;
@ -679,7 +681,6 @@
agree() { agree() {
this.$refs.popup.open() this.$refs.popup.open()
this.isFshow = false this.isFshow = false
}, },
// //
refuse() { refuse() {

View File

@ -609,7 +609,9 @@
}, },
/*获取选中的宝贝*/ /*获取选中的宝贝*/
getProduct(data) { getProduct(data) {
this.productList = [] console.log(data);
this.productList = [];
this.formData.product_info=[];
this.price = 0; this.price = 0;
if (data.length > 0) { if (data.length > 0) {
this.productList = data; this.productList = data;
@ -639,6 +641,7 @@
let that = this, let that = this,
value = that.formData; value = that.formData;
console.log(value, value.product_info[0].deliver_method);
if (value.image.length == 0) return that.$util.Tips({ if (value.image.length == 0) return that.$util.Tips({
title: '请添加图文图片' title: '请添加图文图片'
}); });