From 1f9ec41195d17915fae8b67ca6bb8e392af06125 Mon Sep 17 00:00:00 2001 From: gong <1157756119@qq.com> Date: Fri, 19 Dec 2025 14:50:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E6=98=B5=E7=A7=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 11 +- common/api/api.js | 8 + pages/user/user.vue | 1305 +++++++++++++++++++++---------------------- 3 files changed, 653 insertions(+), 671 deletions(-) diff --git a/.gitignore b/.gitignore index 39127f2..d7067c8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,13 @@ /unpackage node_modules/ .vscode/ -.hbuilderx/ \ No newline at end of file +.hbuilderx/ +/.idea/inspectionProfiles/Project_Default.xml +/.idea/.gitignore +/.idea/cashier_wx.iml +/.idea/jsLibraryMappings.xml +/.idea/misc.xml +/.idea/modules.xml +/.idea/uniappSupport.xml +/.idea/UniappTool.xml +/.idea/vcs.xml diff --git a/common/api/api.js b/common/api/api.js index 25abaa5..661392c 100644 --- a/common/api/api.js +++ b/common/api/api.js @@ -31,6 +31,14 @@ export const APIuser = (data) => { }) } +export const updateUserInfoReq = (data) => { + return request({ + url: url + '/user', + method: 'put', + data: data + }) +} + //获取手机号 export const APIuserphone = (data) => { return request({ diff --git a/pages/user/user.vue b/pages/user/user.vue index 620d1d0..76d8c85 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -1,770 +1,735 @@ + .msg-icon-wrapper { + position: relative; + margin-left: 30rpx; + } + + .my-msg-icon { + width: 50rpx; + height: 50rpx; + } + + // 角标样式 + .badge { + position: absolute; + top: -8rpx; + right: -8rpx; + min-width: 32rpx; + height: 32rpx; + background-color: #ff3b30; + border-radius: 16rpx; + display: flex; + align-items: center; + justify-content: center; + padding: 0 6rpx; + z-index: 10; + + .badge-text { + color: white; + font-size: 20rpx; + font-weight: bold; + line-height: 1; + text-align: center; + } + } + } + \ No newline at end of file