From 204ff32e8cd1bda940d5f8b370cbe09822710f50 Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Tue, 26 Aug 2025 11:18:14 +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 --- api/job.js | 7 +- components/button.vue | 15 ++- components/customTabbar.vue | 79 +++--------- components/myMain.vue | 12 +- pages.json | 9 ++ pages/NEUIKit/components/Appellation.vue | 2 +- .../pages/Conversation/conversation-list/index.vue | 77 ++++++------ pages/NEUIKit/utils/msg.ts | 44 +++---- pages/home/index.vue | 100 +++++++-------- pages/home/order.vue | 4 +- pages/message/index.vue | 36 +++--- root/NEUIKit/pages/Chat/message/message-item.vue | 2 +- root/bind/myMain.vue | 4 +- root/detail/apply.vue | 89 +++++++++++++- root/detail/job.vue | 23 ++-- root/detail/userShare.vue | 32 ++--- root/person/changeTeam.vue | 133 ++++++++++++++++++++ root/person/info.vue | 2 +- root/person/orderEdit.vue | 6 +- root/person/set.vue | 35 ++++-- .../vk-uview-ui/components/u-tabs/u-tabs.vue | 3 +- utils/ajax.js | 134 +++++++++++---------- 22 files changed, 533 insertions(+), 315 deletions(-) create mode 100644 root/person/changeTeam.vue diff --git a/api/job.js b/api/job.js index 91993f1..8361be3 100644 --- a/api/job.js +++ b/api/job.js @@ -18,8 +18,11 @@ let jobInfo = { job_getPolicyShare: '/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策 job_ai: '/yishoudan/common/structure/get', // 获取ai结果 yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新) - job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIMAccid", // 获取客服ID - job_get_agency_cus: "/yishoudan/job/customer/support/getAgencyCustomerSupportIMAccid", // 获取代理客服ID + + // job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIM", // 获取客服ID(老) + // job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIMAccid", // 获取客服ID + job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIM", // 获取客服ID(新) + job_get_agency_cus: "/yishoudan/job/customer/support/getAgencyCustomerSupportIM", // 获取代理客服ID hasSee: "/yishoudan/job/view/record/addRecord", getCityNameByLatLng: '/location/getCityNameByLatLng' ,// 根据经纬度获取城市 diff --git a/components/button.vue b/components/button.vue index 028be43..fdaab4a 100644 --- a/components/button.vue +++ b/components/button.vue @@ -278,10 +278,9 @@ $main_color: #00b666; } &_none { background-color: #fff; - color: #666; - border: 1rpx solid #ccc; + color: #333; &.thover { - background-color: #ddd; + opacity: .8; } } &_disabled { @@ -293,6 +292,16 @@ $main_color: #00b666; opacity: 1; } } + &_noStyle { + background-color: rgba(0, 0, 0, 0.05); + color: #333; + font-weight: 600; + // border: 1rpx solid rgba(0, 0, 0, 0.05); + &.thover { + // background-color: rgba(0, 0, 0, 0.05); + opacity: .8; + } + } &_gradual { background: v-bind("gradual"); color: #fff; diff --git a/components/customTabbar.vue b/components/customTabbar.vue index cafb47e..9c05954 100644 --- a/components/customTabbar.vue +++ b/components/customTabbar.vue @@ -30,48 +30,6 @@ export default { }, 2000); } } - // if (this.userInfo.agencyId) { - // this.tabbarInfo = [ - // { - // iconPath: "icon-home g_c_9", - // selectedIconPath: "icon-home g_c_main", - // pagePath: "/pages/home/index", - // text: "首页", - // iconSize: 48, - // }, - // { - // iconPath: "icon-fadanhao-32 g_c_9", - // selectedIconPath: "icon-fadanhao-32 g_c_main", - // pagePath: "/pages/home/order", - // text: "发单号", - // iconSize: 48, - // }, - - // { - // iconPath: "icon-order_active g_c_9", - // selectedIconPath: "icon-order_active g_c_main", - // pagePath: "/pages/workBench/index", - // text: "工单", - // iconSize: 48, - // count: 0, - // }, - // { - // iconPath: "icon-message g_c_9", - // selectedIconPath: "icon-message g_c_main", - // pagePath: "/pages/message/index", - // text: "消息", - // iconSize: 78, - // iconType: "custom", - // }, - // { - // iconPath: "icon-user g_c_9", - // selectedIconPath: "icon-user g_c_main", - // pagePath: "/pages/person/index", - // text: "我的", - // iconSize: 48, - // }, - // ]; - // } else { if (!this.userInfo.agencyId) { this.tabbarInfo = [ { @@ -81,15 +39,6 @@ export default { text: "首页", iconSize: 48, }, - - { - iconPath: "icon-order_active g_c_9", - selectedIconPath: "icon-order_active g_c_main", - pagePath: "/pages/workBench/index", - text: "工单", - iconSize: 48, - count: 0, - }, { iconPath: "icon-message g_c_9", selectedIconPath: "icon-message g_c_main", @@ -99,6 +48,15 @@ export default { iconType: "custom", count: 0, }, + { + iconPath: "icon-order_active g_c_9", + selectedIconPath: "icon-order_active g_c_main", + pagePath: "/pages/workBench/index", + text: "工单", + iconSize: 48, + count: 0, + }, + { iconPath: "icon-user g_c_9", selectedIconPath: "icon-user g_c_main", @@ -147,15 +105,6 @@ export default { text: "发单号", iconSize: 48, }, - - { - iconPath: "icon-order_active g_c_9", - selectedIconPath: "icon-order_active g_c_main", - pagePath: "/pages/workBench/index", - text: "工单", - iconSize: 48, - count: 0, - }, { iconPath: "icon-message g_c_9", selectedIconPath: "icon-message g_c_main", @@ -165,6 +114,15 @@ export default { iconType: "custom", count: 0, }, + { + iconPath: "icon-order_active g_c_9", + selectedIconPath: "icon-order_active g_c_main", + pagePath: "/pages/workBench/index", + text: "工单", + iconSize: 48, + count: 0, + }, + { iconPath: "icon-user g_c_9", selectedIconPath: "icon-user g_c_main", @@ -192,7 +150,6 @@ export default { let that = this; console.log("datadatadatadatadatadata", data); for (var k in that.tabbarInfo) { - console.log("that.tabbarInfo[k].pagePath", that.tabbarInfo[k]); if (that.tabbarInfo[k].pagePath == "/pages/message/index") { if (data) { // console.log(that.messageCount + "+++++++++++++++++" + that.noticeCount); diff --git a/components/myMain.vue b/components/myMain.vue index 18f4819..edf6426 100644 --- a/components/myMain.vue +++ b/components/myMain.vue @@ -165,7 +165,7 @@ export default { lifetimes: { // 组件生命周期函数,在组件实例被从页面节点树移除时执行 detached() { - console.log('detacheddetacheddetacheddetacheddetached'); + console.log("detacheddetacheddetacheddetacheddetached"); uni.removeStorageSync("poster_img"); }, }, @@ -546,7 +546,15 @@ export default { // that.G.fillTextLineBreak(ctx, "今日更新职位" + info.jobUpdateNum, 140, 400, ("今日更新职位" + info.jobUpdateNum).length * 56, 56, "#999", 56, 500, "left"); // 今日更新职位 console.log("that.formatNumberAdvanced(info.jobNum)", that.formatNumberAdvanced(info.jobNum)); - const textSegments = [{ content: that.formatNumberAdvanced(info.jobNum).toString(), color: "#000", fontWeight: 500, fontSize: 80, space: info.jobNum < 10000 ? 10 : 0 }, info.jobNum < 10000 ? null : { content: "万", color: "#000", fontWeight: 500, fontSize: 64, space: 10 }, { content: "总职位", color: "#666", fontWeight: 500, fontSize: 56, space: 70 }, { content: that.formatNumberAdvanced(info.recruitmentJobNum).toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 10 }, { content: "在招", color: "#666", fontWeight: 500, fontSize: 56, space: 70 }, { content: that.formatNumberAdvanced(info.downNum).toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 10 }, { content: "粉丝", color: "#666", fontWeight: 500, fontSize: 56, space: 40 }]; + const textSegments = [ + // { content: that.formatNumberAdvanced(info.jobNum).toString(), color: "#000", fontWeight: 500, fontSize: 80, space: info.jobNum < 10000 ? 10 : 0 }, + // info.jobNum < 10000 ? null : { content: "万", color: "#000", fontWeight: 500, fontSize: 64, space: 10 }, + // { content: "总职位", color: "#666", fontWeight: 500, fontSize: 56, space: 70 }, + { content: that.formatNumberAdvanced(info.recruitmentJobNum).toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 10 }, + { content: "在招", color: "#666", fontWeight: 500, fontSize: 56, space: 70 }, + { content: that.formatNumberAdvanced(info.downNum).toString(), color: "#000", fontWeight: 500, fontSize: 80, space: 10 }, + { content: "粉丝", color: "#666", fontWeight: 500, fontSize: 56, space: 40 }, + ]; that.G.drawCenteredText(ctx, mycenter + 20, 745, textSegments); imgres(canvas); }; diff --git a/pages.json b/pages.json index fcbb5e3..f9d3dcb 100644 --- a/pages.json +++ b/pages.json @@ -293,6 +293,15 @@ "backgroundColorBottom": "#ededed" } }, + { + "path": "changeTeam", + "style": { + "navigationBarTitleText": "切换团队", + "backgroundColor": "#ededed", + "backgroundColorTop": "#ededed", + "backgroundColorBottom": "#ededed" + } + }, { "path": "addOrUpdataMember", "style": { diff --git a/pages/NEUIKit/components/Appellation.vue b/pages/NEUIKit/components/Appellation.vue index 90d8434..d6c905d 100644 --- a/pages/NEUIKit/components/Appellation.vue +++ b/pages/NEUIKit/components/Appellation.vue @@ -4,7 +4,7 @@ :style="{ color: color, fontSize: fontSize + 'px' }" > {{ appellation }} - {{ subtitle }} + {{ subtitle }} diff --git a/pages/NEUIKit/pages/Conversation/conversation-list/index.vue b/pages/NEUIKit/pages/Conversation/conversation-list/index.vue index e416349..5deec57 100644 --- a/pages/NEUIKit/pages/Conversation/conversation-list/index.vue +++ b/pages/NEUIKit/pages/Conversation/conversation-list/index.vue @@ -4,18 +4,18 @@