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 @@