|
@@ -1064,6 +1064,7 @@ Page({
|
|
_this.setData({
|
|
_this.setData({
|
|
showBj: false,
|
|
showBj: false,
|
|
})
|
|
})
|
|
|
|
+ isTwoOnshow = true;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
@@ -1182,7 +1183,7 @@ Page({
|
|
this.setData({
|
|
this.setData({
|
|
[Info2]: true
|
|
[Info2]: true
|
|
})
|
|
})
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
this.setData({
|
|
this.setData({
|
|
[Info2]: false
|
|
[Info2]: false
|
|
})
|
|
})
|
|
@@ -2106,7 +2107,10 @@ Page({
|
|
},
|
|
},
|
|
goPhoto() {
|
|
goPhoto() {
|
|
let that = this;
|
|
let that = this;
|
|
- isTwoOnshow = true;
|
|
|
|
|
|
+
|
|
|
|
+ wx.showLoading({
|
|
|
|
+ title: '加载中',
|
|
|
|
+ })
|
|
wx.chooseImage({
|
|
wx.chooseImage({
|
|
count: 1,
|
|
count: 1,
|
|
sizeType: ['compressed'],
|
|
sizeType: ['compressed'],
|
|
@@ -2139,6 +2143,10 @@ Page({
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ complete: (e) => {
|
|
|
|
+ isTwoOnshow = true;
|
|
|
|
+ wx.hideLoading();
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
@@ -2988,7 +2996,7 @@ Page({
|
|
}
|
|
}
|
|
})
|
|
})
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
loveRequire.forEach(itemss => {
|
|
loveRequire.forEach(itemss => {
|
|
item.demand.forEach(item => {
|
|
item.demand.forEach(item => {
|
|
if (itemss.name == item) {
|
|
if (itemss.name == item) {
|
|
@@ -3932,6 +3940,7 @@ Page({
|
|
isonShow = false;
|
|
isonShow = false;
|
|
return;
|
|
return;
|
|
};
|
|
};
|
|
|
|
+
|
|
this.setData({
|
|
this.setData({
|
|
addOldname: '',
|
|
addOldname: '',
|
|
currentIndex: 0
|
|
currentIndex: 0
|