From 2d910b013e041870528532af2d9fdce0a17375f3 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Mon, 4 Aug 2025 18:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/detail/job.vue | 2 +- utils/ajax.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/root/detail/job.vue b/root/detail/job.vue index a0d50c8..31e3c67 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -1405,7 +1405,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, 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元/月") { diff --git a/utils/ajax.js b/utils/ajax.js index 472fce2..aadb6c7 100644 --- a/utils/ajax.js +++ b/utils/ajax.js @@ -1,5 +1,5 @@ -let ajaxUrl = "http://192.168.3.83:8001"; -// let ajaxUrl = "https://daotian.matripe.com.cn"; +// let ajaxUrl = "http://192.168.3.83:8001"; +let ajaxUrl = "https://daotian.matripe.com.cn"; let data = { ajaxUrl: ajaxUrl, Get ($url = '', $parmas = {}, callback = () => { }, failback = () => { }) {