From 2a2e9c0b6e199d9a8169e6fd57ec134770fb0faa Mon Sep 17 00:00:00 2001 From: "1263428893@qq.com" Date: Fri, 28 Feb 2025 00:00:40 +0800 Subject: [PATCH] =?UTF-8?q?a.=20=E5=89=8D=E7=AB=AF=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E9=83=A8=E5=88=86=EF=BC=9A=20=20=20=20=20=E2=85=B0.?= =?UTF-8?q?=20=E6=8E=88=E6=9D=83=E7=99=BB=E5=BD=95=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E4=B9=8B=E5=90=8E,=E5=90=8E=E9=9D=A2=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E8=BF=9B=E8=A1=8C=E4=B8=AA=E4=BA=BA=E8=B5=84?= =?UTF-8?q?=E6=96=99=E7=BC=96=E8=BE=91=E7=9A=84=E6=97=B6=E5=80=99=EF=BC=8C?= =?UTF-8?q?=E5=8E=9F=E6=9D=A5=E7=9A=84=E5=8E=86=E5=8F=B2=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E8=B5=84=E6=96=99=E9=9C=80=E8=A6=81=E5=B1=95=E7=A4=BA=E5=9C=A8?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=B8=8A=EF=BC=9A=E5=A4=B4=E5=83=8F=EF=BC=8C?= =?UTF-8?q?=E6=98=B5=E7=A7=B0=EF=BC=8C=E6=89=8B=E6=9C=BA=E5=8F=B7=E7=A0=81?= =?UTF-8?q?=20=EF=BC=88=E5=B7=B2=E5=A4=84=E7=90=86=EF=BC=89=20=20=20=20=20?= =?UTF-8?q?=E2=85=B1.=20=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E6=89=8B?= =?UTF-8?q?=E6=9C=BA=E5=8F=B7=E7=A0=81=E4=B8=8B=E6=96=B9=EF=BC=8C=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E5=81=9A=E4=BA=86=E4=BC=81=E4=B8=9A=E8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7=8A=B6=E6=80=81=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=EF=BC=8C=E4=B8=8D=E8=83=BD=E5=86=8D=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BF=AE=E6=94=B9=20=EF=BC=88=E5=B7=B2=E5=A4=84?= =?UTF-8?q?=E7=90=86=EF=BC=89=20longitude:"",latitude:"",=20=20=20=20=20?= =?UTF-8?q?=E2=85=B5.=20=E4=B8=AA=E4=BA=BA=E5=85=A5=E4=BD=8F=EF=BC=9A?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E9=80=9A=E8=BF=87=E7=8A=B6=E6=80=81=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=EF=BC=8C=E4=B8=8D=E8=83=BD=E5=86=8D=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BF=AE=E6=94=B9=EF=BC=88=E5=B7=B2=E5=A4=84=E7=90=86?= =?UTF-8?q?=EF=BC=89=20=E2=85=B6.=20=E6=88=91=E7=9A=84=E7=AE=80=E5=8E=86?= =?UTF-8?q?=EF=BC=9A=E5=AE=A1=E6=A0=B8=E9=80=9A=E8=BF=87=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=EF=BC=8C=E4=B8=8D=E8=83=BD=E5=86=8D?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=BF=AE=E6=94=B9=EF=BC=88=E6=B2=A1=E6=9C=89?= =?UTF-8?q?status=20=E5=AD=97=E6=AE=B5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ⅷ. 发布订单:出行方式字段对接一下select_go字段,结算方式说明前端要跟后台数据说明同步 (已处理)selectGo ⅸ. 分类管理:点击分类管理可以只查询当前一级分类数据,另外名称搜索功能需要增加一下 (已处理) X. 工作详情里面的公司地址要能点击到地图中去,另外右边增加一个拨打电话的按钮 (这个是微信组件 不能添加) Xⅰ. 列表数据处理一下下拉刷新数据,每次数据没有更新,没有下啦刷新处理 (已处理) --- common/api.js | 5 ++ pages/home/component/enterprise.vue | 4 +- pages/home/index.vue | 78 +++++++++++++++----------- pages/login/index.vue | 6 +- pages/user/index.vue | 38 ++++++++++--- pages_subpack/category/index.vue | 9 ++- pages_subpack/enterprise/index.vue | 57 ++++++++++++++++++- pages_subpack/person/index.vue | 7 ++- pages_subpack/record/index.vue | 37 ++++++++++-- pages_subpack/release/component/master.vue | 3 + pages_subpack/wallet/component/withdrawal.vue | 9 ++- static/image/user1.png | Bin 0 -> 1719 bytes static/image/user2.png | Bin 0 -> 1134 bytes static/image/user3.png | Bin 0 -> 1079 bytes static/image/user4.png | Bin 0 -> 971 bytes static/image/user5.png | Bin 0 -> 1179 bytes static/image/user6.png | Bin 0 -> 912 bytes static/image/user7.png | Bin 0 -> 894 bytes 18 files changed, 194 insertions(+), 59 deletions(-) create mode 100644 static/image/user1.png create mode 100644 static/image/user2.png create mode 100644 static/image/user3.png create mode 100644 static/image/user4.png create mode 100644 static/image/user5.png create mode 100644 static/image/user6.png create mode 100644 static/image/user7.png diff --git a/common/api.js b/common/api.js index 9985a44..9ee5591 100644 --- a/common/api.js +++ b/common/api.js @@ -115,3 +115,8 @@ export const getAuthenticationPerson = (params) => http.get('/employ-api/employ/ // 首页-分类信息列表 export const queryCategoryList = (params) => http.get('/employ-api/employ/category/queryCategoryList', params) + +// 我的钱包-累计提现 +export const CountCashOut = (params) => http.get('/employ-api/employ/amount/CountCashOut', params) +// 我的钱包-我的余额 +export const queryBalance = (params) => http.get('/employ-api/employ/amount/queryBalance', params) diff --git a/pages/home/component/enterprise.vue b/pages/home/component/enterprise.vue index de667fd..0a34b55 100644 --- a/pages/home/component/enterprise.vue +++ b/pages/home/component/enterprise.vue @@ -60,10 +60,10 @@ {{items.createTime}} - + {{items.categoryTwo_dictText}} - + {{items.address}} diff --git a/pages/home/index.vue b/pages/home/index.vue index d0e1dd8..9e5981d 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -23,13 +23,15 @@ + - - + + {{item.name}} - + + 招聘 @@ -40,6 +42,7 @@ + @@ -86,12 +90,11 @@ }, data(){ return { + latitude:'', + longitude:'', + notList:[], notice:[], - status:1, - list: [ - "https://cdn.uviewui.com/uview/swiper/swiper1.png" - ], tabList:[],//导航栏 swiperList:[],//轮播 current:0, @@ -107,8 +110,6 @@ rpageSize:20, rlist:[], - latitude:'34.00', - longitude:'134.65', tpageNo:1, tpageSize:20, tList:[] @@ -128,17 +129,29 @@ }, onPullDownRefresh() { let that = this - that.rpageNo = 1 - that.rlist = [] - that.onRolelist() + if(that.current==0){ + that.rpageNo = 1 + that.rlist = [] + that.onRolelist() + }else if(that.current==1){ + that.tpageNo = 1 + that.tList = [] + that.onTaskList() + } + }, onReachBottom() { let that = this - that.rpageNo = that.rpageNo + 1 - that.onRolelist() + if(that.current==0){ + that.rpageNo = that.rpageNo + 1 + that.onRolelist() + }else if(that.current==1){ + that.tpageNo = that.tpageNo + 1 + that.onTaskList() + } + }, methods:{ - onNoticeDetail(index){ console.info(index) uni.navigateTo({ @@ -172,13 +185,11 @@ }, getLocation(){ const that = this; - console.log('当前位置的经度:'); wx.getLocation({ type: 'wgs84', success: function (res) { - console.log('位置',res); - console.log('当前位置的经度:' + res.longitude); - console.log('当前位置的纬度:' + res.latitude); + that.latitude=res.latitude + that.longitude=res.longitude uni.setStorageSync("longitude",res.longitude) uni.setStorageSync("latitude",res.latitude) const qqmapsdk = new QQMapWX({ @@ -216,17 +227,18 @@ }) }, onTaskList(){ + let that = this taskList({ - latitude:this.latitude, - longitude:this.longitude, - pageNo:this.tpageNo, - pageSize:this.tpageSize + latitude:that.latitude, + longitude:that.longitude, + pageNo:that.tpageNo, + pageSize:that.tpageSize }).then(response=>{ console.info("response",response.result.records) - if(this.tpageNo==1){ - this.tList = response.result.records + if(that.tpageNo==1){ + that.tList = response.result.records }else{ - this.tList = this.tList.concat(response.result.records) + that.tList = that.tList.concat(response.result.records) } console.info("taskList",response) }).catch(error=>{ @@ -234,15 +246,16 @@ }) }, onRolelist(){ + let that = this querySeekList({ - pageNo:this.rpageNo, - pageSize:this.rpageSize + pageNo:that.rpageNo, + pageSize:that.rpageSize }).then(response=>{ - console.info("response",response) - if(this.rpageNo==1){ - this.rlist = response.result.records + console.info("querySeekList",response) + if(that.rpageNo==1){ + that.rlist = response.result.records }else{ - this.rlist = this.rlist.concat(response.result.records) + that.rlist = that.rlist.concat(response.result.records) } }).catch(error=>{ @@ -258,6 +271,7 @@ console.info(event) }, toNavigator(event){ + console.info(event) uni.navigateTo({ url:"/pages_subpack/release/index?status="+event }) diff --git a/pages/login/index.vue b/pages/login/index.vue index fca55b3..50f5de3 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -40,7 +40,7 @@ diff --git a/pages_subpack/person/index.vue b/pages_subpack/person/index.vue index 121c253..999b54c 100644 --- a/pages_subpack/person/index.vue +++ b/pages_subpack/person/index.vue @@ -1,6 +1,9 @@