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 = () => { }) {