diff --git a/root/detail/job.vue b/root/detail/job.vue index d66d871..e79ef69 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -33,6 +33,7 @@
+ {{ jobDetail.jobName }} @@ -454,11 +455,7 @@
- +
@@ -690,7 +687,7 @@ export default { var sceneStr = decodeURIComponent(options.scene); var sceneJson = this.G.sceneToJson(sceneStr); console.log("sceneJson===", sceneJson); - console.log('id对应的角色','职位id_职位项目方_分享人_分享人团队'); + console.log("id对应的角色", "职位id_职位项目方_分享人_分享人团队"); // 职位id_职位项目方_分享人_分享人团队 this.uid = sceneJson.id.split("_")[0]; //职位id this.shareJobAgencyId = sceneJson.id.split("_")[1]; //职位项目方id @@ -996,8 +993,8 @@ export default { if (that.isFans !== false) { params.isFans = that.isFans; } - that.shareUserId && (params.agencyUserId = that.isFans == 2 ? '' : that.shareUserId); - // 如果粉丝自己报名,要把自己的id传到报名页,而不是传分享人的 + that.shareUserId && (params.agencyUserId = that.isFans == 2 ? "" : that.shareUserId); + // 如果粉丝自己报名,要把自己的id传到报名页,而不是传分享人的 that.shareUserAgencyId && (params.shareUserAgencyId = that.isFans == 2 ? that.loginInfo.agencyId : that.shareUserAgencyId); uni.navigateTo({ url: `/root/home/quickApplication?params=${JSON.stringify(params)}`, @@ -1409,7 +1406,7 @@ export default { that.G.roundRect1(ctx, 0, 0, 750, 600, 0, "#fff"); return new Promise(function (imgres) { // 岗位标题 - that.G.fillTextLineBreak(ctx, that.jobDetail.jobName.length > 11 ? that.jobDetail.jobName.slice(0, 11) + '...': that.jobDetail.jobName, baseLeft, line2, 800, 20, "#000", titleFontSize, "500", "left"); + that.G.fillTextLineBreak(ctx, that.jobDetail.jobName.length > 11 ? that.jobDetail.jobName.slice(0, 11) + "..." : that.jobDetail.jobName, baseLeft, line2, 800, 20, "#000", titleFontSize, "500", "left"); // 时薪 if (that.G.getSalaryClassifyValue(that.jobDetail.salaryClassify, that.jobDetail.salaryClassifyValue) == "0-0元/月") {