From 32924f8e366663f2a3edacfcce846e3b5bf7c71c Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Fri, 24 Jul 2026 17:20:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BA=97=E5=8A=A1=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JY-Salon-WeChat/api/dashboard.js | 9 + .../pages/profile-settings/index.wxml | 81 ++- .../pages/profile-settings/index.wxss | 365 ++++++------- JY-Salon-WeChat/pages/profile/index.js | 92 +++- JY-Salon-WeChat/pages/profile/index.wxml | 77 ++- JY-Salon-WeChat/pages/profile/index.wxss | 408 +++++++++----- ...26-07-24-salon-wechat-profile-ui-design.md | 40 ++ docs/项目变更记录.md | 513 +++++++++++++++++- 8 files changed, 1152 insertions(+), 433 deletions(-) create mode 100644 JY-Salon-WeChat/api/dashboard.js create mode 100644 docs/superpowers/specs/2026-07-24-salon-wechat-profile-ui-design.md diff --git a/JY-Salon-WeChat/api/dashboard.js b/JY-Salon-WeChat/api/dashboard.js new file mode 100644 index 00000000..90af8868 --- /dev/null +++ b/JY-Salon-WeChat/api/dashboard.js @@ -0,0 +1,9 @@ +const request = require('../utils/request') + +module.exports = { + stats() { + return request({ + url: '/dashboard/stats' + }) + } +} diff --git a/JY-Salon-WeChat/pages/profile-settings/index.wxml b/JY-Salon-WeChat/pages/profile-settings/index.wxml index 5dc6208f..60d303fc 100644 --- a/JY-Salon-WeChat/pages/profile-settings/index.wxml +++ b/JY-Salon-WeChat/pages/profile-settings/index.wxml @@ -1,53 +1,26 @@ 个人资料加载中 - - 个人资料 - 把你的姓名、联系方式和头像整理成店内可识别的名片。 - - - - - - + + + - 头像 - - {{profileForm.nickname || userInfo.nickname || '个人头像'}} - {{roleText}} · {{shopName}} + 头像 + + + {{profileForm.nickname || userInfo.nickname || '个人资料'}} + {{roleText}} + + {{shopName}} + - - - - + - - - 登录账号 - {{userInfo.account || '未设置'}} - - - 身份 - {{roleText}} - - - 登录手机号 - {{userInfo.phone || '未绑定'}} - - - 当前店铺 - {{shopName}} - - - - - - 资料档案 - 用于店内识别与客户沟通 - + + 基础资料 昵称 @@ -61,13 +34,33 @@ - 签名 -