企微图
This commit is contained in:
@@ -777,8 +777,8 @@ Page({
|
||||
}
|
||||
else if(e.currentTarget.dataset.type=='wx_img'){
|
||||
wx.previewImage({
|
||||
current:this.data.imgInfo.imgs.insurance_img.img,
|
||||
urls:[this.data.imgInfo.imgs.insurance_img.img],
|
||||
current:this.data.imgInfo.imgs.wx_img.img,
|
||||
urls:[this.data.imgInfo.imgs.wx_img.img],
|
||||
})
|
||||
}
|
||||
else if(e.currentTarget.dataset.type=='mut_wx_img'){
|
||||
|
||||
@@ -29,8 +29,8 @@ Page({
|
||||
})
|
||||
if(res.data.img_status == 1){
|
||||
this.setData({
|
||||
wx_img:res.data.imgs.insurance_img.length==0?{}:res.data.imgs.wx_img,
|
||||
mut_wx_img:res.data.imgs.insurance_img.length==0?{}:res.data.imgs.mut_wx_img,
|
||||
wx_img:res.data.imgs.wx_img.length==0?{}:res.data.imgs.wx_img,
|
||||
mut_wx_img:res.data.imgs.mut_wx_img.length==0?{}:res.data.imgs.mut_wx_img,
|
||||
})
|
||||
}
|
||||
wx.stopPullDownRefresh()
|
||||
@@ -69,6 +69,11 @@ Page({
|
||||
that.getAppCusorderdata()
|
||||
}).catch(res2=>{
|
||||
wx.hideLoading();
|
||||
wx.showToast({
|
||||
title: '提交失败',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
})
|
||||
});
|
||||
}else{
|
||||
wx.hideLoading();
|
||||
@@ -119,6 +124,11 @@ Page({
|
||||
that.getAppCusorderdata()
|
||||
}).catch(res2=>{
|
||||
wx.hideLoading();
|
||||
wx.showToast({
|
||||
title: '提交失败',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
})
|
||||
});
|
||||
}else{
|
||||
wx.hideLoading();
|
||||
@@ -147,8 +157,8 @@ Page({
|
||||
previewImage: function (e) {
|
||||
if(e.currentTarget.dataset.type=='wx_img'){
|
||||
wx.previewImage({
|
||||
current:this.data.imgInfo.imgs.insurance_img.img,
|
||||
urls:[this.data.imgInfo.imgs.insurance_img.img],
|
||||
current:this.data.imgInfo.imgs.wx_img.img,
|
||||
urls:[this.data.imgInfo.imgs.wx_img.img],
|
||||
})
|
||||
}
|
||||
else if(e.currentTarget.dataset.type=='mut_wx_img'){
|
||||
|
||||
Reference in New Issue
Block a user