|
|
|
@ -1760,25 +1760,32 @@ Page({
|
|
|
|
iosDialogTobe: false,
|
|
|
|
iosDialogTobe: false,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
showTobeToast () {
|
|
|
|
|
|
|
|
wx.showModal({
|
|
|
|
|
|
|
|
content: '抱歉,您需先成为伯才代理以获得使用权限。',
|
|
|
|
|
|
|
|
// content: that.data.bclr,
|
|
|
|
|
|
|
|
contentColor: "#ccc",
|
|
|
|
|
|
|
|
confirmColor: "#1890ff",
|
|
|
|
|
|
|
|
confirmText: "确定",
|
|
|
|
|
|
|
|
showCancel: false,
|
|
|
|
|
|
|
|
success (res) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
showFee () {
|
|
|
|
showFee () {
|
|
|
|
let that = this
|
|
|
|
let that = this
|
|
|
|
// if (!this.data.isAgency) return false
|
|
|
|
// if (!this.data.isAgency) return false
|
|
|
|
console.log('that.data.bclr', that.data.bclr);
|
|
|
|
console.log('that.data.bclr', that.data.bclr);
|
|
|
|
wx.showModal({
|
|
|
|
wx.showModal({
|
|
|
|
title: that.data.isAgency ? '佣金: ' + that.data.fuWuFei : '',
|
|
|
|
title: that.data.isAgency ? '佣金: ' + that.data.fuWuFei : '',
|
|
|
|
content: that.data.isAgency ? that.data.jobDetail.record.returnFeeDesp : '抱歉,成为伯才代理才能查看佣金',
|
|
|
|
content: that.data.isAgency ? that.data.jobDetail.record.returnFeeDesp : '抱歉,您需先成为伯才代理以获得使用权限。',
|
|
|
|
// content: that.data.bclr,
|
|
|
|
// content: that.data.bclr,
|
|
|
|
contentColor: "#ccc",
|
|
|
|
contentColor: "#ccc",
|
|
|
|
confirmColor: "#1890ff",
|
|
|
|
confirmColor: "#1890ff",
|
|
|
|
confirmText: "确定",
|
|
|
|
confirmText: "确定",
|
|
|
|
showCancel: false,
|
|
|
|
showCancel: false,
|
|
|
|
success (res) {
|
|
|
|
success (res) {
|
|
|
|
// console.log(res);
|
|
|
|
|
|
|
|
// if (res.confirm) {
|
|
|
|
|
|
|
|
// wx.navigateTo({
|
|
|
|
|
|
|
|
// url: `/pages/sendCreatorCode/index?info=${JSON.stringify(data.data)}`,
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|