From d1af5dcea08737cf835fc79c420e3817f85491cd Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 6 Aug 2024 16:12:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E6=94=B9=E5=9B=9E=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service-uniapp-technician/pages.json | 83 ++++++----- service-uniapp-technician/pages/index/center.vue | 155 +++------------------ service-uniapp-technician/pages/index/index.vue | 68 ++++----- service-uniapp-technician/pages/index/order.vue | 55 ++++---- service-uniapp-technician/pages/login/mobile.vue | 6 +- .../pages/order/orderDetail.vue | 29 ++-- .../static/address/address-icon.png | Bin 0 -> 11831 bytes .../static/address/delete-icon.png | Bin 0 -> 809 bytes .../static/address/edit-icon.png | Bin 0 -> 1069 bytes .../static/address/lightning-icon.png | Bin 0 -> 905 bytes .../static/address/position-icon.png | Bin 0 -> 2168 bytes service-uniapp-technician/static/bar/hms.png | Bin 2581 -> 1806 bytes service-uniapp-technician/static/bar/ph.png | Bin 0 -> 1563 bytes service-uniapp-technician/static/bar/phs.png | Bin 0 -> 1655 bytes service-uniapp-technician/static/bar/tps.png | Bin 1682 -> 916 bytes service-uniapp-technician/static/bar/wd.png | Bin 1479 -> 1594 bytes service-uniapp-technician/static/bar/wds.png | Bin 1479 -> 1693 bytes .../static/collect/alert-collect-icon.png | Bin 0 -> 1946 bytes .../static/collect/review-icon.png | Bin 0 -> 1108 bytes service-uniapp-technician/static/coupon/c.png | Bin 0 -> 8404 bytes service-uniapp-technician/static/ms/tx.png | Bin 20785 -> 55515 bytes service-uniapp-technician/static/payOrder/1.png | Bin 0 -> 2179 bytes service-uniapp-technician/static/payOrder/2.png | Bin 0 -> 2077 bytes service-uniapp-technician/static/payOrder/3.png | Bin 0 -> 1628 bytes service-uniapp-technician/static/payOrder/4.png | Bin 0 -> 909 bytes service-uniapp-technician/static/payOrder/5.png | Bin 0 -> 1091 bytes service-uniapp-technician/static/payOrder/7.png | Bin 0 -> 1645 bytes service-uniapp-technician/static/payOrder/8.png | Bin 0 -> 1870 bytes service-uniapp-technician/static/payOrder/9.png | Bin 0 -> 2251 bytes service-uniapp-technician/uni.css | 2 +- 30 files changed, 142 insertions(+), 256 deletions(-) create mode 100644 service-uniapp-technician/static/address/address-icon.png create mode 100644 service-uniapp-technician/static/address/delete-icon.png create mode 100644 service-uniapp-technician/static/address/edit-icon.png create mode 100644 service-uniapp-technician/static/address/lightning-icon.png create mode 100644 service-uniapp-technician/static/address/position-icon.png create mode 100644 service-uniapp-technician/static/bar/ph.png create mode 100644 service-uniapp-technician/static/bar/phs.png create mode 100644 service-uniapp-technician/static/collect/alert-collect-icon.png create mode 100644 service-uniapp-technician/static/collect/review-icon.png create mode 100644 service-uniapp-technician/static/coupon/c.png create mode 100644 service-uniapp-technician/static/payOrder/1.png create mode 100644 service-uniapp-technician/static/payOrder/2.png create mode 100644 service-uniapp-technician/static/payOrder/3.png create mode 100644 service-uniapp-technician/static/payOrder/4.png create mode 100644 service-uniapp-technician/static/payOrder/5.png create mode 100644 service-uniapp-technician/static/payOrder/7.png create mode 100644 service-uniapp-technician/static/payOrder/8.png create mode 100644 service-uniapp-technician/static/payOrder/9.png diff --git a/service-uniapp-technician/pages.json b/service-uniapp-technician/pages.json index c1c6e02..05e6cfa 100644 --- a/service-uniapp-technician/pages.json +++ b/service-uniapp-technician/pages.json @@ -1,20 +1,15 @@ { - "pages": [ - { - "path": "pages/index/center", - "style": { - "navigationStyle": "custom" - } - }, - { + "pages": [{ "path": "pages/index/index", "style": { - "navigationStyle": "custom" + "navigationStyle": "custom", + "navigationBarTitleText": "首页" } }, { "path": "pages/login/mobile", "style": { + "navigationBarTitleText": "登陆" } }, { @@ -32,37 +27,57 @@ { "path": "pages/index/order", "style": { - "navigationStyle": "custom" + "navigationStyle": "custom", + "navigationBarTitleText": "订单", + "navigationBarTextStyle": "black", + "navigationBarBackgroundColor": "white" + } + }, + { + "path": "pages/index/center", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "我的" } }, { "path": "pages/mine/nodes", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#4899a6" } }, { "path": "pages/mine/recharge", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#4899a6" } }, { "path": "pages/mine/settled", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#4899a6" } }, { "path": "pages/mine/wallet", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#4299a9" } }, { "path": "pages/mine/upload", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "black", + "navigationBarBackgroundColor": "white" } }, { @@ -155,27 +170,23 @@ }, "tabBar": { "backgroundColor": "white", - "selectedColor": "#EF8C94", - "list": [ - { - "selectedIconPath": "/static/bar/hms.png", - "iconPath": "/static/bar/hm.png", - "pagePath": "pages/index/center", - "text": "首页" - }, - { - "selectedIconPath": "/static/bar/wds.png", - "iconPath": "/static/bar/wd.png", - "pagePath": "pages/index/index", - "text": "接单大厅" - }, - { - "selectedIconPath": "/static/bar/tps.png", - "iconPath": "/static/bar/tp.png", - "pagePath": "pages/index/order", - "text": "订单" - } - ] + "selectedColor": "#56CBA4", + "list": [{ + "selectedIconPath": "/static/bar/hms.png", + "iconPath": "/static/bar/hm.png", + "pagePath": "pages/index/index", + "text": "首页" + }, { + "selectedIconPath": "/static/bar/tps.png", + "iconPath": "/static/bar/tp.png", + "pagePath": "pages/index/order", + "text": "订单" + }, { + "selectedIconPath": "/static/bar/wds.png", + "iconPath": "/static/bar/wd.png", + "pagePath": "pages/index/center", + "text": "我的" + }] }, "uniIdRouter": {} } \ No newline at end of file diff --git a/service-uniapp-technician/pages/index/center.vue b/service-uniapp-technician/pages/index/center.vue index 1722f41..17a9be9 100644 --- a/service-uniapp-technician/pages/index/center.vue +++ b/service-uniapp-technician/pages/index/center.vue @@ -9,107 +9,27 @@ {{ userInfo.title }} {{ userInfo.notes }} - 已完成实名认证 - - - - 总佣金 - - - - 总佣金 - - ¥{{ belece.money }} - - - 立即提现 - - - - - 一键求救 - - - - - - - - - 实时获取你当前的位置 - - - - - 如果你遇到了让你感到不安全情况下,可点击下方 - - - 一键求救 - - - 我们会立即发送您的求救位置 + + + + 账号余额 + + ¥{{ belece.money }} + + 立即提现 - - - 请假日历 - - - - - + { - if(day.date.getMonth() == n.getMonth() - && day.date.getDate() == n.getDate()){ - day.bottomInfo = '请假'; - } - }) - - return day - }, - onConfirm(dates){ - this.defaultDate = dates - }, getUserInfo() { this.$api('giveTenInfo', {}, res => { if (res.code == 200) { @@ -247,31 +152,14 @@ background-color: #f5f5f5; } - .font-n { - height: 42rpx; - line-height: 42rpx; - font-size: 20rpx; - font-family: PingFang SC, PingFang SC-Medium; - font-weight: 500; - text-align: center; - color: #fdfaf8; - - width: 168rpx; - background: #4eed78; - border-radius: 8px; - - margin-top: 5rpx; - margin-left: 0rpx; - } - .banner { width: 100%; - /* height: calc(392rpx - 60rpx); */ - /* background: #fff; */ + height: calc(392rpx - 60rpx); + background: #fff; } .head-div{ width: calc(100vw - 72rpx); - height: 168rpx; + height: 268rpx; padding: 72rpx 36rpx 0; margin: 0 auto; } @@ -295,8 +183,9 @@ .one-card{ width: 678rpx; + height: 116rpx; border-radius: 16rpx; - margin: 0 auto 0; + margin: -30rpx auto 0; } .two-card{ @@ -365,15 +254,15 @@ width: 200rpx; height: 58rpx; line-height: 58rpx; - background: linear-gradient(182deg,#ffffff 2%, #FFD8DC 88%); + background: linear-gradient(182deg,#ffffff 2%, #a6fce3 88%); border-radius: 30rpx; - box-shadow: 0 6rpx 12rpx 0 #ababab55; + box-shadow: 0 6rpx 12rpx 0 rgba(129,209,186,0.66); font-size: 28rpx; font-family: PingFang SC, PingFang SC-Bold; font-weight: 700; - text-align: center; - color: #EF8C94; + text-align: center; + color: #3fc791; position: absolute; top: 72rpx; @@ -387,10 +276,4 @@ flex-direction: column; align-items: center; } - - .Ask-for-help{ - background-color: #ffffff; - margin: 0 40rpx; - display: flex; - } diff --git a/service-uniapp-technician/pages/index/index.vue b/service-uniapp-technician/pages/index/index.vue index af41608..d8415fa 100644 --- a/service-uniapp-technician/pages/index/index.vue +++ b/service-uniapp-technician/pages/index/index.vue @@ -17,34 +17,25 @@ + - - - - - - - - - - - - - - - - + 本月订单统计 @@ -55,23 +46,38 @@ {{ item.size }} {{ item.name }} + - + + + + + + + - + - + @@ -136,8 +142,7 @@ statistics: [], cardColor: ['item-a', 'item-b', 'item-c', 'item-d'], config: [], - notice: '', - active : 0, + notice: '' } }, onShow() { @@ -149,9 +154,6 @@ this.initData() }, methods: { - onClickTab(){ - - }, getUserInfo() { this.$api('giveTenInfo', {}, res => { if (res.code == 200) { diff --git a/service-uniapp-technician/pages/index/order.vue b/service-uniapp-technician/pages/index/order.vue index 30ccfe5..4c26e74 100644 --- a/service-uniapp-technician/pages/index/order.vue +++ b/service-uniapp-technician/pages/index/order.vue @@ -1,28 +1,16 @@