From e40ecca293723a32ee097c233b64abeed36c926a Mon Sep 17 00:00:00 2001 From: "1263428893@qq.com" Date: Fri, 14 Feb 2025 22:25:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=83=A8=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api.js | 5 +- pages.json | 22 +- pages/auth/index.vue | 2 +- pages/identity/index.vue | 26 ++- pages/login/index.vue | 37 ++-- pages/order/component/enterprise.vue | 8 +- pages/user/index.vue | 47 +++- pages_subpack/enterprise/index.vue | 241 +++++++++++++++++++++ pages_subpack/order-detail/index.vue | 46 ++-- pages_subpack/payment/index.vue | 22 +- pages_subpack/person/index.vue | 224 +++++++++++++++++++ pages_subpack/{master-settled => resume}/index.vue | 9 +- 12 files changed, 629 insertions(+), 60 deletions(-) create mode 100644 pages_subpack/enterprise/index.vue create mode 100644 pages_subpack/person/index.vue rename pages_subpack/{master-settled => resume}/index.vue (97%) diff --git a/common/api.js b/common/api.js index ba9c60f..36bec20 100644 --- a/common/api.js +++ b/common/api.js @@ -59,4 +59,7 @@ export const bossOrderList = (params) => http.get('/employ-api/order/bossOrderLi export const workOrderList = (params) => http.get('/employ-api/order/workOrderList', {params:params}) // 获取平台隐私政策,协议等 export const getSysText = (params) => http.post('/employ-api/index/getSysText', params) - +// 小程序-绑定手机号 +export const bindPhone = (params) => http.post('/employ-api/user/bindPhone', params) +// 修改头像和昵称,传nickName和headimgurl +export const updateUserInfo = (params) => http.post('/employ-api/user/updateUserInfo', params) diff --git a/pages.json b/pages.json index 880e545..15d658a 100644 --- a/pages.json +++ b/pages.json @@ -123,9 +123,27 @@ } }, { - "path": "master-settled/index", + "path": "enterprise/index", "style": { - "navigationBarTitleText": "师傅入驻", + "navigationBarTitleText": "企业", + "navigationStyle":"default", + "navigationBarBackgroundColor": "#FF7A31", + "navigationBarTextStyle": "white" + } + }, + { + "path": "person/index", + "style": { + "navigationBarTitleText": "个人", + "navigationStyle":"default", + "navigationBarBackgroundColor": "#FF7A31", + "navigationBarTextStyle": "white" + } + }, + { + "path": "resume/index", + "style": { + "navigationBarTitleText": "我的简历", "navigationStyle":"default", "navigationBarBackgroundColor": "#FF7A31", "navigationBarTextStyle": "white" diff --git a/pages/auth/index.vue b/pages/auth/index.vue index 114825a..24ebae5 100644 --- a/pages/auth/index.vue +++ b/pages/auth/index.vue @@ -18,7 +18,7 @@ --> - + 《隐私政策》 《服务条款》 diff --git a/pages/identity/index.vue b/pages/identity/index.vue index c476e1a..5deba30 100644 --- a/pages/identity/index.vue +++ b/pages/identity/index.vue @@ -3,12 +3,12 @@ 请选择您要入驻的身份 - - 企业/个人入驻 + + 个人入驻 - - 师傅入驻 + + 企业入驻 @@ -27,19 +27,21 @@ } }, methods:{ - onJump(){ - uni.switchTab({ - url:"/pages/home/index" + // 个人 + onPerson(){ + uni.navigateTo({ + url:"/pages_subpack/person/index" }) }, - onBusinessSettled(){ + // 企业 + onEnterprise(){ uni.navigateTo({ - url:"/pages_subpack/business-settled/index" + url:"/pages_subpack/enterprise/index" }) }, - onMasterSettled(){ - uni.navigateTo({ - url:"/pages_subpack/master-settled/index" + onJump(){ + uni.switchTab({ + url:"/pages/home/index" }) } } diff --git a/pages/login/index.vue b/pages/login/index.vue index 3c61f78..ac706a2 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -3,7 +3,7 @@ - 用工平台小程序 + 智选猎头 申请获取您的头像、昵称 @@ -23,17 +23,16 @@ - + - + 确认 @@ -41,7 +40,7 @@ + + \ No newline at end of file diff --git a/pages_subpack/order-detail/index.vue b/pages_subpack/order-detail/index.vue index a2b44a6..7cc99b8 100644 --- a/pages_subpack/order-detail/index.vue +++ b/pages_subpack/order-detail/index.vue @@ -99,37 +99,38 @@ - 商品详情 + 工作详情 - + - 泰山工装石膏板搬运 - 所属行业:水泥搬运 - 所属工种:中午搬运 + {{obj.title}} + 所属行业:{{obj.industryName}} + + 工作时间:{{obj.workTime}} 薪资 - 6000元 + {{obj.rateMoney}}元 - 姓名:李满和 - 联系方式:13189698114 - + 姓名:{{obj.userName}} + 联系方式:{{obj.phone}} + 复制 - 工作地址:湖南省长沙市雨花区高升路与时代阳光大道西交叉口东北方向140米御天国际商汇中心5栋6023 - + 工作地址:{{obj.workerAddress}} + 复制 @@ -145,7 +146,7 @@ 工作时间 - 3h + {{obj.workTime}} @@ -154,7 +155,7 @@ 工作内容 - + @@ -207,7 +208,8 @@ 3、具备一定的设计提案能力,能完整的呈现设计思路与创意,能清晰的表达设计逻辑与思考;
4、热爱设计,平面基本功扎实,拥有优良的审美与创意想法,对版式、色彩把控能力强;对工作富有责任心,具备团队沟通与协作能力;
5、精通 PS、AI、CDR 等平面设计软件,能独立完成日常平面设计工作内容,熟练使用 PPT/Keynote,能完成提案内容的材料美化工作。
-

` +

`, + obj:{} } }, onLoad(options) { @@ -221,11 +223,25 @@ orderId:that.orderId } orderDetail(params).then(response=>{ - + that.obj = response.result }).catch(error=>{ }) }, + copyText(event){ + uni.setClipboardData({ + data: event, + success: () => { + uni.showToast({ + title: "复制成功", + icon: "none", + }); + }, + fail: (err) => { + console.error("复制失败", err); + }, + }) + }, onCancel(){ uni.navigateBack({ delta:1 diff --git a/pages_subpack/payment/index.vue b/pages_subpack/payment/index.vue index f5d57da..53765b3 100644 --- a/pages_subpack/payment/index.vue +++ b/pages_subpack/payment/index.vue @@ -54,7 +54,10 @@ 温馨提示,下单前请仔细查看下单需知 - + + + + 《用户使用协议》 @@ -69,14 +72,14 @@
- + 用户使用协议 - + 确认 @@ -94,7 +97,7 @@ return{ show:false, id:"", - checked:false, + checked:[], myMoney:"",//账户余额 items:{}, amount:"9.9", @@ -123,6 +126,9 @@ }) }, + checkboxChange(n) { + console.log('change', n); + }, getOrderDetail(){ orderDetail({orderId:this.id}).then(response=>{ console.info('orderDetail',response) @@ -133,7 +139,13 @@ }, onPay(){ let that = this - // if(that.checked==false) return; + console.info(that.checked) + if(that.checked.length==0){ + return uni.showToast({ + icon: "none", + title: "请勾选隐私协议" + }) + } console.info(that.payRadio) if(that.payRadio==1){ diff --git a/pages_subpack/person/index.vue b/pages_subpack/person/index.vue new file mode 100644 index 0000000..3341bb7 --- /dev/null +++ b/pages_subpack/person/index.vue @@ -0,0 +1,224 @@ + + + + \ No newline at end of file diff --git a/pages_subpack/master-settled/index.vue b/pages_subpack/resume/index.vue similarity index 97% rename from pages_subpack/master-settled/index.vue rename to pages_subpack/resume/index.vue index ceb1231..5324c8e 100644 --- a/pages_subpack/master-settled/index.vue +++ b/pages_subpack/resume/index.vue @@ -57,14 +57,13 @@ - - 申请审核 + + 保存 - 联系我们 - + -->