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