cyl/master-0819
wangxia 3 months ago
parent 66a1310cae
commit bb39888129

@ -76,8 +76,8 @@ export default {
count: 0, count: 0,
}, },
{ {
iconPath: "icon-fadanhao-31 g_c_9", iconPath: "icon-fadanhao-32 g_c_9",
selectedIconPath: "icon-fadanhao-31 g_c_main", selectedIconPath: "icon-fadanhao-32 g_c_main",
pagePath: "/pages/home/order", pagePath: "/pages/home/order",
text: "发单号", text: "发单号",
iconSize: 48, iconSize: 48,

@ -628,6 +628,7 @@ export default {
return { return {
globalData: getApp().globalData, globalData: getApp().globalData,
videoContextTemp: {}, videoContextTemp: {},
goImLoading: false, // imloading
isSharePage: false, // isSharePage: false, //
isFans: false, isFans: false,
shareUserId: null, // id shareUserId: null, // id
@ -1347,6 +1348,11 @@ export default {
}, },
goIm() { goIm() {
let that = this; let that = this;
if (that.goImLoading) {
return false;
}
that.goImLoading = true;
that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => { that.F.wyyxGet(that.api.job_get_cus + "?jobId=" + that.jobDetail.id, {}, (cusData) => {
that.F.wyyxPost( that.F.wyyxPost(
that.api.wyyx_create, that.api.wyyx_create,
@ -1356,6 +1362,7 @@ export default {
}, },
(res) => { (res) => {
uni.$UIKitStore.uiStore.selectConversation(res.conversationId); uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
console.log("that.jobDetail", that.jobDetail);
that.F.wyyxPost( that.F.wyyxPost(
that.api.wyyx_sendCard, that.api.wyyx_sendCard,
{ {
@ -1368,7 +1375,7 @@ export default {
info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age, info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [], label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [],
salaryClassifyValue: that.jobDetail.priceStr, salaryClassifyValue: that.jobDetail.priceStr,
serviceFee: that.jobDetail.fuWuFei, serviceFee: that.showPrice ? that.jobDetail.serverPrice : "",
monthPay: that.jobDetail.monthPay, monthPay: that.jobDetail.monthPay,
jobId: that.uid, jobId: that.uid,
}, },
@ -1377,6 +1384,7 @@ export default {
uni.navigateTo({ uni.navigateTo({
url: "/root/NEUIKit/pages/Chat/index", url: "/root/NEUIKit/pages/Chat/index",
}); });
that.goImLoading = false;
}, },
() => {} () => {}
); );

@ -320,7 +320,7 @@ export default {
} }
// //
.icon-fadanhao-32:before { .icon-fadanhao-32:before {
content: "\e65c"; content: "\e67d";
} }
.u-icon { .u-icon {
display: inline-flex; display: inline-flex;

Loading…
Cancel
Save