|
...
|
...
|
@@ -41,8 +41,9 @@ Page({ |
|
|
|
title: '请填写意见反馈!',
|
|
|
|
})
|
|
|
|
}
|
|
|
|
wx.showLoading({
|
|
|
|
title: '提交中',
|
|
|
|
wx.showToast({
|
|
|
|
icon: 'none',
|
|
|
|
title: '提交中,请稍后!',
|
|
|
|
})
|
|
|
|
let params = {
|
|
|
|
sid: this.data.options.sellerid,
|
|
...
|
...
|
@@ -59,7 +60,6 @@ Page({ |
|
|
|
});
|
|
|
|
App.User.SetComment(params).then(res => {
|
|
|
|
if (res.ret != 200) {
|
|
|
|
wx.hideLoading()
|
|
|
|
return wx.showToast({
|
|
|
|
icon: 'none',
|
|
|
|
title: res.msg,
|
|
...
|
...
|
@@ -72,10 +72,10 @@ Page({ |
|
|
|
url = util.http_build_query({
|
|
|
|
sellerName: options.sellerName,
|
|
|
|
coupon: options.coupon,
|
|
|
|
couponId: options.couponId || '',
|
|
|
|
coupon: options.coupon || '',
|
|
|
|
price: options.price || '',
|
|
|
|
use: options.use || '',
|
|
|
|
couponId: options.couponId,
|
|
|
|
coupon: options.coupon,
|
|
|
|
price: options.price,
|
|
|
|
use: options.use,
|
|
|
|
oid: options.oid,
|
|
|
|
sid: options.sellerid,
|
|
|
|
}, './opinionSuccess')
|
|
...
|
...
|
@@ -89,11 +89,7 @@ Page({ |
|
|
|
wx.redirectTo({
|
|
|
|
url
|
|
|
|
})
|
|
|
|
if (url) {
|
|
|
|
wx.hideLoading()
|
|
|
|
}
|
|
|
|
}).catch(e => {
|
|
|
|
wx.hideLoading()
|
|
|
|
console.log('catch', e);
|
|
|
|
wx.showToast({
|
|
|
|
icon: 'none',
|
...
|
...
|
|