From 8885c74fcb11ccd417ff82a1d9a0653f64453da3 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Tue, 22 Apr 2025 17:39:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=BF=AE=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/system/user.js | 2 +- pages/index.vue | 68 ++++++---------------------- pages/mine/evaluate/index.vue | 7 ++- pages/mine/index.vue | 11 +---- pages/mine/me/basicInfo.vue | 85 ++++++++++++++++++++--------------- pages/mine/me/index.vue | 16 +++---- pages/mine/me/myAddress.vue | 3 ++ pages/survey/details.vue | 73 +++++++++++++++--------------- pages/work/index.vue | 14 +++--- 9 files changed, 123 insertions(+), 156 deletions(-) diff --git a/api/system/user.js b/api/system/user.js index 37bb135..18983f0 100644 --- a/api/system/user.js +++ b/api/system/user.js @@ -43,7 +43,7 @@ export function saveUserHeaderPhoto(data) { // 修改用户个人信息 export function updateUserProfile(data) { return request({ - url: '/smart-canteen/custCasual/updateDetailInfoCasualForApp', + url: '/system/user/edit', method: 'post', data: data }) diff --git a/pages/index.vue b/pages/index.vue index 84c6984..7a0f593 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -35,13 +35,13 @@ --> - + @@ -50,7 +50,7 @@ 个人余额 ¥ - {{ (walletBal/100).toFixed(2) }} + {{ (walletBal/100).toFixed(2) }} @@ -69,51 +69,8 @@ 预定餐 智能、预定、鲜活 - - - - - - - - - - - - + + @@ -372,15 +329,16 @@ view { width: 100%; height: auto; display: flex; + justify-content: center; flex-wrap: wrap; margin-bottom: 30rpx; .handle-box-item { - width: 44%; - margin: 3%; + width: 28%; + margin: 2%; background-color: #ffffff; border-radius: 12rpx; - padding: 30rpx 20rpx; + padding: 20rpx 10rpx; display: flex; flex-direction: column; justify-content: center; @@ -388,9 +346,9 @@ view { box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); .image-box{ - width: 80px; - height: 70px; - margin-bottom: 20rpx; + width: 60px; + height: 40px; + margin-bottom: 10rpx; } .box-title{ font-size: 32rpx; @@ -398,7 +356,7 @@ view { margin-bottom: 20rpx; } .box-subtitle{ - font-size: 28rpx; + font-size: 24rpx; // font-weight: bold; } diff --git a/pages/mine/evaluate/index.vue b/pages/mine/evaluate/index.vue index 8794805..978d5ec 100644 --- a/pages/mine/evaluate/index.vue +++ b/pages/mine/evaluate/index.vue @@ -1,6 +1,9 @@