From 09ae6aa88fb4547884e827ab8f85b7449ecea794 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Thu, 27 Jun 2024 10:04:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=A7=AF=E5=88=86=E5=8A=9F=E8=83=BD=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +- pages/index/currentPoints.vue | 207 ++--- pages/index/previousEarnings.vue | 5 +- pages/index/previousPoints.vue | 826 +++++++++++++++--- .../u-action-sheet/u-action-sheet.vue | 5 +- 5 files changed, 804 insertions(+), 243 deletions(-) diff --git a/App.vue b/App.vue index 1bed1c0..d8fcdba 100644 --- a/App.vue +++ b/App.vue @@ -754,7 +754,9 @@ export default { @import 'components/colorui/icon.css'; @import './static/css/common.css'; @import './static/css/simplepro.css'; - +/deep/.uni-scroll-view-content{ + height: 350px !important; + } page { background-color: #FFFFFF; color: #343546; diff --git a/pages/index/currentPoints.vue b/pages/index/currentPoints.vue index 15d51c8..9f7ed6e 100644 --- a/pages/index/currentPoints.vue +++ b/pages/index/currentPoints.vue @@ -16,9 +16,15 @@ 当前积分 + + + {{item.name}} + + + - + @@ -26,7 +32,7 @@ - + 已完成 @@ -62,45 +68,12 @@ - + + 暂无数据 + - + @@ -111,32 +84,44 @@ 序号 - 01 - 02 - 03 + {{index+1}} - 上线时间 - 2024.01.01 10:00 - 2024.01.01 10:00 - 2024.01.01 10:00 - - - 下线时间 - 2024.01.01 10:00 - 2024.01.01 10:00 - 2024.01.01 10:00 + 获取时间 + {{item.jftime}} 获取积分 - 12 - 12 - 12 + {{item.jifen}} + + + + + + + + + 储值积分: {{czjf}}(为您充值累计积分,兑换比例为1:1) + + + + + + 序号 + {{index+1}} + + + 获取时间 + {{item.jftime}} + + + 获取积分 + {{item.jifen}} - + @@ -144,12 +129,12 @@ - + 已完成 预约时间: - 2024-01-02 14:00 + {{item.serveTime}} @@ -158,63 +143,30 @@ - 中医推拿(测试) + {{item.entryName}} - 0.8km + {{item.km}}km - 订单编号 : 202310311231559420 + 订单编号 : {{item.ordersNo}} - 服务地址 : 吉林省长春市二道区欧亚万豪购物中心16-301 + 服务地址 : {{item.accomplishAddress}} - 项目金额 : ¥298 + 项目金额 : ¥{{item.price}} 本单收益: - ¥326.70 + ¥{{item.sumArtificerMoney}} - - - 已完成 - - 预约时间: - 2024-01-02 14:00 - - - - - - - - - 中医推拿(测试) - - - 0.8km - - - - 订单编号 : 202310311231559420 - - - 服务地址 : 吉林省长春市二道区欧亚万豪购物中心16-301 - - - 项目金额 : ¥298 - - 本单收益: - ¥326.70 - - - - + + 暂无数据 @@ -274,6 +226,13 @@ zxscjf:'0', zxscList:[], sumJf:'0', + tapNav:[ + {name:'业绩积分',id:'0'}, + {name:'时长积分',id:'1'}, + {name:'储值积分',id:'2'}, + {name:'充值积分',id:'3'} + ], + tapNum:0, } }, onLoad(e) { @@ -282,6 +241,20 @@ this.getData(); }, methods:{ + goOder(item){ + uni.navigateTo({ + url:'/my/order/revenueDetails?ordersId='+item.ordersId + }) + }, + tabClick(index){ + this.tapNum=index; + this.page=0; + this.listData = []; + // uni.showLoading({ + // title: '加载中' + // }); + this.getData(); + }, getTime(){ let now = new Date(); let year = now.getFullYear(); @@ -357,6 +330,39 @@ \ No newline at end of file diff --git a/uview-ui/components/u-action-sheet/u-action-sheet.vue b/uview-ui/components/u-action-sheet/u-action-sheet.vue index 1f23a4b..adaa849 100644 --- a/uview-ui/components/u-action-sheet/u-action-sheet.vue +++ b/uview-ui/components/u-action-sheet/u-action-sheet.vue @@ -17,7 +17,6 @@ {{item.subText}} - @@ -77,6 +76,7 @@ } } }, + // 底部的取消按钮 cancelBtn: { type: Boolean, @@ -133,6 +133,9 @@ return this.zIndex ? this.zIndex : this.$u.zIndex.popup; } }, + mounted() { + console.log("listShow",this.listShow) + }, methods: { chuzuInp(e){ this.chuzuValue=e.detail.value