Merge branch 'master' into cyl/master-0804

cyl/master-0804
jscyl13849007907 3 months ago
commit 406819d6a0

@ -61,21 +61,21 @@ export default {
uni.$on("isGlogin", function (data) { uni.$on("isGlogin", function (data) {
console.log("app.vue 接收", data); console.log("app.vue 接收", data);
if (uni.getStorageSync("apply-uid")) { if (uni.getStorageSync("apply-uid")) {
that.initWyyx() that.initWyyx();
} }
}); });
if (uni.getStorageSync("apply-token")) { if (uni.getStorageSync("apply-token")) {
console.log("app.vue 是否调用"); console.log("app.vue 是否调用");
that.initWyyx() that.initWyyx();
} }
}, },
onHide: function () { onHide: function () {
if (this.globalData.timer) { if (this.globalData.timer) {
clearInterval(this.globalData.timer); clearInterval(this.globalData.timer);
this.globalData.timer = null; this.globalData.timer = null;
console.log("定时任务已清除"); console.log("定时任务已清除");
} }
}, },
methods: { methods: {
initWyyx() { initWyyx() {
let that = this; let that = this;
@ -281,15 +281,17 @@ export default {
uni.setTabBarBadge({ uni.setTabBarBadge({
index: 2, index: 2,
text: String(res.approvePassHasNotRed), text: String(res.approvePassHasNotRed),
fail(err) {
console.log("err", err);
},
}); });
} else { } else {
try { uni.removeTabBarBadge({
uni.removeTabBarBadge({ index: 2,
index: 2, fail(err) {
}); console.log("err", err);
} catch (error) { },
console.log("当前页面不是 TabBar 页面,无法移除 badge"); });
}
} }
}); });
} }

@ -33,7 +33,13 @@ let userInfo = {// 用户信息模块
order_addApply: "/yishoudan/agency/group/user/apply/addApply",// 申请加入团队 order_addApply: "/yishoudan/agency/group/user/apply/addApply",// 申请加入团队
order_checkHasApply: "/yishoudan/agency/group/user/apply/checkHasApply",// 是否申请过加入团队 order_checkHasApply: "/yishoudan/agency/group/user/apply/checkHasApply",// 是否申请过加入团队
order_getNewApplyNum: "/yishoudan/agency/group/user/apply/getNewApplyNum",// 获取申请加入的成员数量 order_getNewApplyNum: "/yishoudan/agency/group/user/apply/getNewApplyNum",// 获取申请加入的成员数量
order_getNewApplyNumNotViewed: "/yishoudan/agency/group/user/apply/getNewApplyNumNotViewed",// 获取新申请的数量(未读)
order_updateApplyNumHasViewed: "/yishoudan/agency/group/user/apply/updateApplyNumHasViewed",// 将申请列表标记为已读
order_getUserApplyList: "/yishoudan/agency/group/user/apply/userApplyList",// 获取申请加入的成员列表 order_getUserApplyList: "/yishoudan/agency/group/user/apply/userApplyList",// 获取申请加入的成员列表
order_userApplyApprove: "/yishoudan/agency/group/user/apply/approve",// 申请加入审批 order_userApplyApprove: "/yishoudan/agency/group/user/apply/approve",// 申请加入审批
} }

@ -22,15 +22,13 @@
</view> </view>
</view> </view>
</view> </view>
<view class="g_flex_row_start flex_center g_mt_26 g_fs_16 g_c_8" <view class="g_flex_row_start flex_center g_mt_26 g_fs_16 g_c_8" hover-class="thover" @click="goPage('/root/person/info?active=1')">
hover-class="thover" @click="goPage('/root/person/info?active=1')"
>
<view class=""> <view class="">
{{ agencyInfo.agencyName || agencyInfo.fullName || "-" }} {{ agencyInfo.agencyName || agencyInfo.fullName || "-" }}
</view> </view>
<view style="position: relative;"> <view style="position: relative">
<i class="iconfont icon-gengduo11" style="line-height: 22px; font-size: 10px"></i> <i class="iconfont icon-gengduo11" style="line-height: 22px; font-size: 10px"></i>
<view class="" style="position: absolute;right: -10px;top: 0;color: #ff4400;font-size: 12px;" v-if="waitNus"> <view class="g_radius_50 g_text_c" style="position: absolute; right: -20px; top: 0; color: #fff; background-color: #ff4400; font-size: 12px; min-width: 16px" v-if="waitNus">
{{ waitNus }} {{ waitNus }}
</view> </view>
</view> </view>
@ -56,7 +54,7 @@
</view> </view>
</view> </view>
<view class="g_mt_10"> <view class="g_mt_10">
<!-- v-if="userInfo.admin" --> <!-- v-if="userInfo.admin" -->
<view class="g_mt_10 g_position_rela" v-if="userInfo.agencyId"> <view class="g_mt_10 g_position_rela" v-if="userInfo.agencyId">
<div class="g_w_8 g_h_8 g_radius_50 g_bg_f0a g_position_abso" style="right: 18px; top: 10px" v-if="!readed"></div> <div class="g_w_8 g_h_8 g_radius_50 g_bg_f0a g_position_abso" style="right: 18px; top: 10px" v-if="!readed"></div>
<g-panel-form-item <g-panel-form-item
@ -87,7 +85,10 @@
@clickItem="handleClickNus" @clickItem="handleClickNus"
/> --> /> -->
</view> </view>
<view class="g_mt_10" v-if="userInfo.admin"> <view class="g_mt_10 g_position_rela" v-if="userInfo.admin">
<view class="g_radius_50 g_text_c" style="position: absolute; right: 16px; top: 5px; color: #fff; background-color: #ff4400; font-size: 12px; min-width: 16px" v-if="applyNum > 0">
{{ applyNum }}
</view>
<g-panel-form-item <g-panel-form-item
:list="[ :list="[
{ {
@ -172,7 +173,7 @@ export default {
}, },
data() { data() {
return { return {
waitNus:0, waitNus: 0,
agencyInfo: {}, agencyInfo: {},
addMemberShow: false, addMemberShow: false,
scrollTop: 0, scrollTop: 0,
@ -240,7 +241,7 @@ export default {
waitNum_ups: 0, waitNum_ups: 0,
itemList: [], itemList: [],
isCreator: false, isCreator: false,
applyNum: 0,
showService: false, showService: false,
readed: true, readed: true,
isLogin: false, isLogin: false,
@ -345,6 +346,7 @@ export default {
this.getData(); this.getData();
this.getNum(); this.getNum();
this.getWait(); this.getWait();
this.getNewApplyNum();
that.isCreator = uni.getStorageSync("IS_CREATOR") == 1 ? true : false; that.isCreator = uni.getStorageSync("IS_CREATOR") == 1 ? true : false;
that.agencyInfo = uni.getStorageSync("agencyInfo"); that.agencyInfo = uni.getStorageSync("agencyInfo");
if (uni.getStorageSync("apply-userinfo").agencyStatus == 1) { if (uni.getStorageSync("apply-userinfo").agencyStatus == 1) {
@ -371,11 +373,18 @@ export default {
} }
}, },
methods: { methods: {
getWait(){ getNewApplyNum() {
let that = this;
this.G.Get(this.api.order_getNewApplyNumNotViewed, {}, (res) => {
console.log(res, "getNewApplyNum");
that.applyNum = res;
});
},
getWait() {
let that = this; let that = this;
that.G.Get(that.api.person_applyNum,{},(res)=>{ that.G.Get(that.api.person_applyNum, {}, (res) => {
that.waitNus = res; that.waitNus = res;
}) });
}, },
setUserInfo() { setUserInfo() {
let that = this; let that = this;
@ -779,13 +788,13 @@ export default {
}); });
that.readed = false; that.readed = false;
} else { } else {
try { try {
uni.removeTabBarBadge({ uni.removeTabBarBadge({
index: 2, index: 2,
}); });
} catch (error) { } catch (error) {
console.log("当前页面不是 TabBar 页面,无法移除 badge"); console.log("当前页面不是 TabBar 页面,无法移除 badge");
} }
that.readed = true; that.readed = true;
} }
}); });

@ -502,19 +502,19 @@ export default {
let numBase3 = numBase2 + (ctx.measureText(info.recruitmentJobNum.toString()).width + ctx.measureText("在招数").width + 150); let numBase3 = numBase2 + (ctx.measureText(info.recruitmentJobNum.toString()).width + ctx.measureText("在招数").width + 150);
that.G.roundRect(ctx, img, (mycenter - 300) / 2, 140, 300, 300, 150); // logo that.G.roundRect(ctx, img, (mycenter - 300) / 2, 140, 300, 300, 150); // logo
that.G.fillTextLineBreak(ctx, info.fullName, (mycenter - info.fullName.length * 80) / 2, 600, info.fullName.length * 80, 200, "#333", 80, 600, "left"); // that.G.fillTextLineBreak(ctx, info.fullName, (mycenter - info.fullName.length * 80) / 2, 600, info.fullName.length * 80, 200, "#333", 80, 600, "left"); //
that.G.fillTextLineBreak(ctx, info.agencyDesp, numBase - 55, 870, mycenter - 240, 86, "#666", 56, 500, "center"); // slogan that.G.fillTextLineBreak(ctx, info.agencyDesp, numBase - 35, 870, mycenter - 260, 86, "#666", 56, 500, "center"); // slogan
// that.G.fillTextLineBreak(ctx, "" + info.jobUpdateNum, 140, 400, ("" + info.jobUpdateNum).length * 56, 56, "#999", 56, 500, "left"); // // that.G.fillTextLineBreak(ctx, "" + info.jobUpdateNum, 140, 400, ("" + info.jobUpdateNum).length * 56, 56, "#999", 56, 500, "left"); //
const textSegments = [ const textSegments = [
{ content: info.jobNum.toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 20 }, { content: info.jobNum.toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 10 },
{ content: "总职位", color: "#666", fontWeight: 500, fontSize: 56, space: 80 }, { content: "总职位", color: "#666", fontWeight: 500, fontSize: 56, space: 70 },
{ content: info.recruitmentJobNum.toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 20 }, { content: info.recruitmentJobNum.toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 10 },
{ content: "在招数", color: "#666", fontWeight: 500, fontSize: 56, space: 80 }, { content: "在招数", color: "#666", fontWeight: 500, fontSize: 56, space: 70 },
{ content: info.downNum.toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 20 }, { content: info.downNum.toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 10 },
{ content: "粉丝", color: "#666", fontWeight: 500, fontSize: 56, space: 40 }, { content: "粉丝", color: "#666", fontWeight: 500, fontSize: 56, space: 40 },
]; ];
that.G.drawCenteredText(ctx, mycenter, 745, textSegments); that.G.drawCenteredText(ctx, mycenter + 20, 745, textSegments);
imgres(canvas); imgres(canvas);
}; };
}, },
fail(err) {}, fail(err) {},

@ -17,12 +17,54 @@
</div> </div>
</div> </div>
</u-modal> </u-modal>
<!-- 非代理分流弹窗 -->
<u-modal v-model="confirmWithoutAgency" width="90%" negativeTop="150" :showTitle="false" :confirmStyle="{ color: '#576b95', 'font-weight': 600 }" :cancelStyle="{ color: '#000', 'font-weight': 600 }" :showConfirmButton="false">
<div class="g_fs_17">
<div class style="padding: 24px">
<!-- <div class="g_text_c g_fw_600 g_c_0">创建团队/企业</div> -->
<div class="g_c_9">报名助手需以企业身份使用请确认本人所在公司是否已创建团队</div>
<div class="g_mt_24 g_fs_15 g_flex_row_between g_p_16 g_bg_f_5 g_radius_8">
<div class="g_flex_row_start flex_center"><i class="iconfont icon-sousuo1 g_mr_8" style="color: #307bf6"></i>已有团队</div>
<div
class=""
style="color: #307bf6"
@click="
() => {
joinTeamConfirm = true;
confirmWithoutAgency = false;
}
"
>
直接搜索加入
</div>
</div>
<div class="g_mt_12 g_fs_15 g_flex_row_between g_p_16 g_bg_f_5 g_radius_8">
<div class="g_flex_row_start flex_center"><i class="iconfont icon-tianjia g_mr_8" style="color: #0bb87e"></i>还没团队</div>
<div
class=""
style="color: #0bb87e"
@click="
() => {
submitConfirm = true;
confirmWithoutAgency = false;
}
"
>
立即创建团队
</div>
</div>
<div class="g_mt_24">
<g-button btnText="稍后再说" size="auto" class @clickBtn="confirmWithoutAgency = false"></g-button>
</div>
</div>
</div>
</u-modal>
<!-- 加入别人团队确认框 --> <!-- 加入别人团队确认框 -->
<u-modal v-model="joinTeamConfirm" width="90%" negativeTop="150" :showTitle="false" :confirmStyle="{ color: '#576b95', 'font-weight': 600 }" :cancelStyle="{ color: '#000', 'font-weight': 600 }" :showConfirmButton="false"> <u-modal v-model="joinTeamConfirm" width="90%" negativeTop="150" :showTitle="false" :confirmStyle="{ color: '#576b95', 'font-weight': 600 }" :cancelStyle="{ color: '#000', 'font-weight': 600 }" :showConfirmButton="false">
<div class="g_fs_17 g_text_c"> <div class="g_fs_17 g_text_c">
<div class style="padding: 42px 24px 36px"> <div class style="padding: 42px 24px 36px">
<div class="g_text_c g_fw_600 g_c_0 g_pb_20">加入团队/企业</div> <div class="g_text_c g_fw_600 g_c_0 g_pb_20">加入团队/企业</div>
<div class="g_text_l g_c_6 g_mb_8 g_mt_24 g_pl_12">团队创建人手机号</div> <div class="g_text_l g_c_6 g_mb_8 g_pl_12">团队创建人手机号</div>
<div class="g_flex_row_center"> <div class="g_flex_row_center">
<div class="g_flex_1 g_bg_f_5 g_radius_6 g_pl_12 g_pr_12"> <div class="g_flex_1 g_bg_f_5 g_radius_6 g_pl_12 g_pr_12">
<u-input v-model="teamInfo.tel" type="number" backgroundColor="#ededed" height="80" placeholder="搜索创建人手机号"></u-input> <u-input v-model="teamInfo.tel" type="number" backgroundColor="#ededed" height="80" placeholder="搜索创建人手机号"></u-input>
@ -33,7 +75,7 @@
</div> </div>
<div class="g_text_l g_mt_8 g_fs_14" v-if="chooseTeam.fullName">: {{ chooseTeam.fullName || chooseTeam.agencyName }}</div> <div class="g_text_l g_mt_8 g_fs_14" v-if="chooseTeam.fullName">: {{ chooseTeam.fullName || chooseTeam.agencyName }}</div>
<div class=""> <div class="">
<div class="g_text_l g_c_6 g_mb_8 g_mt_24 g_pl_12">昵称</div> <div class="g_text_l g_c_6 g_mb_8 g_mt_12 g_pl_12">昵称</div>
<div class="g_bg_f_5 g_radius_6 g_pl_12 g_pr_12"> <div class="g_bg_f_5 g_radius_6 g_pl_12 g_pr_12">
<u-input v-model="teamInfo.userName" backgroundColor="#ededed" height="80" placeholder="请输入您的昵称"></u-input> <u-input v-model="teamInfo.userName" backgroundColor="#ededed" height="80" placeholder="请输入您的昵称"></u-input>
</div> </div>
@ -92,6 +134,8 @@ export default {
return { return {
joinTeamDrawerShow: false, joinTeamDrawerShow: false,
joinTeamConfirm: false, joinTeamConfirm: false,
confirmWithoutAgency: false,
submitConfirm: false, submitConfirm: false,
btnLoading: false, btnLoading: false,
teamList: [], teamList: [],
@ -174,6 +218,8 @@ export default {
// //
applyFlowConfirm() { applyFlowConfirm() {
let that = this; let that = this;
this.confirmWithoutAgency = true;
return;
that.G.handleConfirm({ that.G.handleConfirm({
confirmText: "确认", confirmText: "确认",
title: "是否确认关注该发单号?", title: "是否确认关注该发单号?",
@ -188,6 +234,8 @@ export default {
// //
applyFlowWidthoutAgencyConfirm() { applyFlowWidthoutAgencyConfirm() {
let that = this; let that = this;
this.confirmWithoutAgency = true;
return;
that.G.handleConfirm({ that.G.handleConfirm({
cancelText: "创建团队", cancelText: "创建团队",
confirmText: "加入团队", confirmText: "加入团队",

@ -111,7 +111,7 @@
</template> </template>
<script> <script>
import _G from "./utils/commonSub.js"; // import that.G from "./utils/commonSub.js";
export default { export default {
components: {}, components: {},
@ -689,7 +689,7 @@ export default {
bottomSloganTop1 = 2 * 790; bottomSloganTop1 = 2 * 790;
bottomSloganLeft = 64; bottomSloganLeft = 64;
bottomSloganLeft1 = 64; bottomSloganLeft1 = 64;
QRSize = 2 * 110; QRSize = 2 * 120;
QRLeft = 900; QRLeft = 900;
QRTop = 1400; QRTop = 1400;
} }
@ -715,47 +715,46 @@ export default {
img.src = res.path; img.src = res.path;
img.onload = () => { img.onload = () => {
if (that.checkedList.length == 1) { if (that.checkedList.length == 1) {
_G.roundRect1(ctx, mycenter - 580 / 2, baseTop + 740, 580, 580, 0, "#fff"); that.G.roundRect1(ctx, mycenter - 580 / 2, baseTop + 740, 580, 580, 0, "#fff");
// roundRect1(ctx, mycenter - 600 / 2, baseTop + 750, 600, 560, 0, "#fff"); that.G.roundRect(ctx, img, mycenter - res.width / 2 - 120, baseTop + 770, QRSize, QRSize, 0);
_G.roundRect(ctx, img, mycenter - res.width / 2 - 120, baseTop + 770, QRSize, QRSize, 0); // that.G.roundRect(ctx, img, mycenter - res.width / 2 - 120, baseTop + 770, QRSize, QRSize, 0);
// _G.roundRect(ctx, img, mycenter - res.width / 2 - 120, baseTop + 770, QRSize, QRSize, 0);
} else { } else {
_G.roundRect1(ctx, QRLeft - 10, baseTop + QRTop - 10, QRSize + 20, QRSize + 20, 0, "#fff"); that.G.roundRect1(ctx, QRLeft - 10, baseTop + QRTop - 10, QRSize + 20, QRSize + 20, 0, "#fff");
_G.roundRect(ctx, img, QRLeft, baseTop + QRTop, QRSize, QRSize, 0); that.G.roundRect(ctx, img, QRLeft, baseTop + QRTop, QRSize, QRSize, 0);
} }
that.checkedList.forEach((item, index) => { that.checkedList.forEach((item, index) => {
let labelLeft = 0; let labelLeft = 0;
console.log("item2", item); console.log("item2", item);
_G.roundRect1(ctx, 24 * 2, baseTop - 100 + baseMiddle * index, 1104, roundRectHeight, 32, "#fff"); that.G.roundRect1(ctx, 24 * 2, baseTop - 100 + baseMiddle * index, 1104, roundRectHeight, 32, "#fff");
item.jobSpecialLabelNameArray.forEach((item1, index1) => { item.jobSpecialLabelNameArray.forEach((item1, index1) => {
if (index1 < 4) { if (index1 < 4) {
_G.fillTextLineBreak(ctx, item1, 60 * 2 + labelLeft, baseTop + markTop + 30 * 2 + baseMiddle * index, 400 * 2, 20, "#333", monthlyPaySize); // that.G.fillTextLineBreak(ctx, item1, 60 * 2 + labelLeft, baseTop + markTop + 30 * 2 + baseMiddle * index, 400 * 2, 20, "#333", monthlyPaySize); //
_G.roundRect1(ctx, 52 * 2 + labelLeft, baseTop + markTop + baseMiddle * index, ctx.measureText(item1).width + 16 * 2, 40 * 2, 2 * 2, "#00000010"); // that.G.roundRect1(ctx, 52 * 2 + labelLeft, baseTop + markTop + baseMiddle * index, ctx.measureText(item1).width + 16 * 2, 40 * 2, 2 * 2, "#00000010"); //
labelLeft += ctx.measureText(item1).width + 32 * 2; labelLeft += ctx.measureText(item1).width + 32 * 2;
} }
}); });
_G.fillTextLineBreak(ctx, item.jobName, logoLeft, baseTop + baseMiddle * index, 800 * 2, 20, "#333", titleSize, "600"); // that.G.fillTextLineBreak(ctx, item.jobName, logoLeft, baseTop + baseMiddle * index, 800 * 2, 20, "#333", titleSize, "600"); //
_G.fillTextLineBreak(ctx, item.salaryClassifyValue, logoLeft, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#ff4400", titleSize - 4, "600"); // that.G.fillTextLineBreak(ctx, item.salaryClassifyValue, logoLeft, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#ff4400", titleSize - 4, "600"); //
// setTimeout(() => { // setTimeout(() => {
_G.fillTextLineBreak(ctx, item.monthlyPay, logoLeft + ctx.measureText(item.salaryClassifyValue + " ").width, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#ff4400", monthlyPaySize, "400"); // that.G.fillTextLineBreak(ctx, item.monthlyPay, logoLeft + ctx.measureText(item.salaryClassifyValue + " ").width, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 * 2, 20, "#ff4400", monthlyPaySize, "400"); //
// }, 0); // }, 0);
_G.fillTextLineBreak(ctx, item.district, logoLeft, baseTop + ageTop + baseMiddle * index, 500 * 2, 20, "#333", monthlyPaySize); // that.G.fillTextLineBreak(ctx, item.district, logoLeft, baseTop + ageTop + baseMiddle * index, 500 * 2, 20, "#333", monthlyPaySize); //
_G.fillTextLineBreak(ctx, "丨" + item.age, logoLeft + ctx.measureText(item.district).width, baseTop + ageTop + baseMiddle * index, 500 * 2, 20, "#333", monthlyPaySize); // that.G.fillTextLineBreak(ctx, "丨" + item.age, logoLeft + ctx.measureText(item.district).width, baseTop + ageTop + baseMiddle * index, 500 * 2, 20, "#333", monthlyPaySize); //
_G.fillTextLineBreak(ctx, that.userInfo.fullName || that.userInfo.agencyName, mycenter - ctx.measureText(that.userInfo.fullName || that.userInfo.agencyName).width / 2, fubiaotiTop, 400 * 2, 20, "#fff", monthlyPaySize, "600"); // that.G.fillTextLineBreak(ctx, that.userInfo.fullName || that.userInfo.agencyName, mycenter - ctx.measureText(that.userInfo.fullName || that.userInfo.agencyName).width / 2, fubiaotiTop, 400 * 2, 20, "#fff", monthlyPaySize, "600"); //
if (that.checkedList.length == 1) { if (that.checkedList.length == 1) {
// roundRect1(ctx, mycenter - 600 / 2, baseTop + 750, 600, 560, 32, "#fff"); // roundRect1(ctx, mycenter - 600 / 2, baseTop + 750, 600, 560, 32, "#fff");
// _G.fillTextLineBreak(ctx, "", mycenter - ctx.measureText("").width / 2, baseTop + bottomSloganTop, 300 * 2, 20, "#fff", monthlyPaySize); // slogan // that.G.fillTextLineBreak(ctx, "", mycenter - ctx.measureText("").width / 2, baseTop + bottomSloganTop, 300 * 2, 20, "#fff", monthlyPaySize); // slogan
_G.fillTextLineBreak(ctx, "长按查看职位详情", mycenter - ctx.measureText("长按查看职位详情").width / 1.45, baseTop + bottomSloganTop1, 500 * 2, 20, "#fff", titleSize); // slogan that.G.fillTextLineBreak(ctx, "长按查看职位详情", (canvas.width - ctx.measureText("长按查看职位详情").width) / 2.25, baseTop + bottomSloganTop1, ctx.measureText("长按查看职位详情").width + 100, 20, "#fff", titleSize); // slogan
} else { } else {
_G.fillTextLineBreak(ctx, "长按查看职位详情", bottomSloganLeft, baseTop + bottomSloganTop, 300 * 2, 20, "#fff", monthlyPaySize + 8); // slogan that.G.fillTextLineBreak(ctx, "长按查看职位详情", bottomSloganLeft, baseTop + bottomSloganTop, 300 * 2, 20, "#fff", monthlyPaySize + 8); // slogan
_G.fillTextLineBreak(ctx, "好工作 放心干", bottomSloganLeft1, baseTop + bottomSloganTop1, 500 * 2, 20, "#fff", titleSize); // slogan that.G.fillTextLineBreak(ctx, "好工作 放心干", bottomSloganLeft1, baseTop + bottomSloganTop1, 500 * 2, 20, "#fff", titleSize); // slogan
} }
imgres(canvas); imgres(canvas);
//logo //logo
@ -769,7 +768,7 @@ export default {
// img.src = res.path; // img.src = res.path;
// img.onload = () => { // img.onload = () => {
// // setTimeout(() => { // // setTimeout(() => {
// _G.roundRect(ctx, img, logoLeft, baseTop + 40 + baseMiddle * index, logoSize, logoSize, 8); // that.G.roundRect(ctx, img, logoLeft, baseTop + 40 + baseMiddle * index, logoSize, logoSize, 8);
// // }, 500); // // }, 500);
// if (index == that.checkedList.length - 1) { // if (index == that.checkedList.length - 1) {
// setTimeout(() => { // setTimeout(() => {
@ -820,16 +819,16 @@ export default {
if (index <= 2) { if (index <= 2) {
let labelLeft = 0; let labelLeft = 0;
console.log("item1", item); console.log("item1", item);
_G.roundRect1(ctx, 32, baseTop - 60 + baseMiddle * index, 776, roundRectHeight, 24, "#fff"); that.G.roundRect1(ctx, 32, baseTop - 60 + baseMiddle * index, 776, roundRectHeight, 24, "#fff");
_G.fillTextLineBreak(ctx, item.jobName, logoLeft, baseTop + baseMiddle * index, 800, 20, "#333", titleSize, "500"); // that.G.fillTextLineBreak(ctx, item.jobName, logoLeft, baseTop + baseMiddle * index, 800, 20, "#333", titleSize, "500"); //
// () // ()
// _G.fillTextLineBreak(ctx, item.cus_price == "" ? item.monthlyPay : item.salaryClassifyValue, salaryClassifyValueLeft + 500, baseTop - 10 + salaryClassifyValueTop + baseMiddle * index, 400, 20, "#ff4400", titleSize - 4, "600"); // // that.G.fillTextLineBreak(ctx, item.cus_price == "" ? item.monthlyPay : item.salaryClassifyValue, salaryClassifyValueLeft + 500, baseTop - 10 + salaryClassifyValueTop + baseMiddle * index, 400, 20, "#ff4400", titleSize - 4, "600"); //
_G.fillTextLineBreak(ctx, item.cus_price == "月薪" ? item.monthlyPay : item.salaryClassifyValue, canvas.width - ctx.measureText(item.cus_price == "月薪" ? item.monthlyPay : item.salaryClassifyValue).width - 40 , baseTop + ageTop + baseMiddle * index, 400, 20, "#ff4400", titleSize - 4, "600"); // that.G.fillTextLineBreak(ctx, item.cus_price == "月薪" ? item.monthlyPay : item.salaryClassifyValue, canvas.width - ctx.measureText(item.cus_price == "月薪" ? item.monthlyPay : item.salaryClassifyValue).width - 40 , baseTop + ageTop + baseMiddle * index, 400, 20, "#ff4400", titleSize - 4, "600"); //
// setTimeout(() => { // setTimeout(() => {
// _G.fillTextLineBreak(ctx, item.monthlyPay, salaryClassifyValueLeft + ctx.measureText(item.salaryClassifyValue + " ").width, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 , 20, "#ff4400", monthlyPaySize, "400"); // // that.G.fillTextLineBreak(ctx, item.monthlyPay, salaryClassifyValueLeft + ctx.measureText(item.salaryClassifyValue + " ").width, baseTop + salaryClassifyValueTop + baseMiddle * index, 400 , 20, "#ff4400", monthlyPaySize, "400"); //
// }, 0); // }, 0);
_G.fillTextLineBreak(ctx, item.district, logoLeft, baseTop + ageTop + baseMiddle * index, 500, 20, "#999", monthlyPaySize); // that.G.fillTextLineBreak(ctx, item.district, logoLeft, baseTop + ageTop + baseMiddle * index, 500, 20, "#999", monthlyPaySize); //
_G.fillTextLineBreak(ctx, "丨" + item.age, logoLeft + ctx.measureText(item.district).width, baseTop + ageTop + baseMiddle * index, 500, 20, "#999", monthlyPaySize); // that.G.fillTextLineBreak(ctx, "丨" + item.age, logoLeft + ctx.measureText(item.district).width, baseTop + ageTop + baseMiddle * index, 500, 20, "#999", monthlyPaySize); //
} }
}); });
imgres(canvas); imgres(canvas);

@ -46,10 +46,14 @@ export default {
}, },
onShow() { onShow() {
this.getUserApplyList(); this.getUserApplyList();
this.setTeamManagerStatus();
}, },
created() {}, created() {},
methods: { methods: {
setTeamManagerStatus() {
this.G.Get(this.api.order_updateApplyNumHasViewed, {}, (res) => {});
},
getUserApplyList() { getUserApplyList() {
let that = this; let that = this;
this.G.Post(this.api.order_getUserApplyList, { pageNum: that.query.page, pageSize: that.query.size }, (res) => { this.G.Post(this.api.order_getUserApplyList, { pageNum: that.query.page, pageSize: that.query.size }, (res) => {

@ -127,9 +127,15 @@ export default {
setOptions(options) { setOptions(options) {
console.log("options", options); console.log("options", options);
this.fromPageType = options.type; this.fromPageType = options.type;
if (options.type == "detail" || options.type == "shareList") { let jsonStr = JSON.parse(options.scene);
this.currentId = `id%3D${JSON.parse(options.scene).id}`; if (options.type == "detail") {
console.log('this.currentId',this.currentId); this.currentId = `id%3D${jsonStr.id}`;
} else if (options.type == "shareList") {
if (jsonStr.i) {
this.currentId = `i%3D${jsonStr.i},u%3D${jsonStr.u}`;
} else {
this.currentId = `id%3D${jsonStr.id}`;
}
} }
}, },
goHome() { goHome() {
@ -307,6 +313,7 @@ export default {
url: "/pages/home/index", url: "/pages/home/index",
}); });
} else if (that.fromPageType == "detail" || that.fromPageType == "shareList") { } else if (that.fromPageType == "detail" || that.fromPageType == "shareList") {
console.log("that.currentId", that.currentId);
uni.reLaunch({ uni.reLaunch({
url: `${that.path}?scene=${that.currentId}`, url: `${that.path}?scene=${that.currentId}`,
}); });
@ -407,7 +414,7 @@ export default {
opacity: 0; opacity: 0;
} }
.u-input__right-icon{ .u-input__right-icon {
display: flex; display: flex;
display: -webkit-flex; display: -webkit-flex;
flex-direction: column; flex-direction: column;

Loading…
Cancel
Save