diff --git a/package.json b/package.json
index 90d5555..d413b5f 100644
--- a/package.json
+++ b/package.json
@@ -68,7 +68,7 @@
"thorui-uni": "^3.0.0",
"uqrcodejs": "^4.0.7",
"uuid": "^11.1.0",
- "vue": "^3.4.21",
+ "vue": "^3.5.13",
"vue-i18n": "^9.1.9"
},
"devDependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 72141af..3f21bd0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -99,7 +99,7 @@ importers:
specifier: ^11.1.0
version: 11.1.0
vue:
- specifier: ^3.4.21
+ specifier: ^3.5.13
version: 3.5.13
vue-i18n:
specifier: ^9.1.9
diff --git a/src/components/CreditScore.vue b/src/components/CreditScore.vue
index 05fd0ab..06a0851 100644
--- a/src/components/CreditScore.vue
+++ b/src/components/CreditScore.vue
@@ -1,11 +1,44 @@
-
+
+
+
+
+
+
+
+
+ 90
+
+
+ 信用分
+
+
+
diff --git a/src/components/SendMsg.vue b/src/components/SendMsg.vue
index eee4900..37bc31e 100644
--- a/src/components/SendMsg.vue
+++ b/src/components/SendMsg.vue
@@ -6,7 +6,7 @@ const modalValue = defineModel();
-
+
发送验证码
diff --git a/src/components/XForm.vue b/src/components/XForm.vue
new file mode 100644
index 0000000..47ab83d
--- /dev/null
+++ b/src/components/XForm.vue
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/components/XFormItem.vue b/src/components/XFormItem.vue
new file mode 100644
index 0000000..46d17f9
--- /dev/null
+++ b/src/components/XFormItem.vue
@@ -0,0 +1,21 @@
+
+
+
+
+ {{ label }}
+
+
+
+
+
diff --git a/src/components/XInfoModal.vue b/src/components/XInfoModal.vue
new file mode 100644
index 0000000..7c03cd2
--- /dev/null
+++ b/src/components/XInfoModal.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
diff --git a/src/pages.json b/src/pages.json
index 28f5dcd..569f927 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -85,6 +85,13 @@
"navigationBarTitleText": "敬请期待",
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/userInfo/index",
+ "style": {
+ "navigationBarTitleText": "编辑资料",
+ "navigationStyle": "custom"
+ }
}
],
"globalStyle": {
diff --git a/src/pages/user/components/AccompanyingMentor.vue b/src/pages/user/components/AccompanyingMentor.vue
new file mode 100644
index 0000000..762e8b7
--- /dev/null
+++ b/src/pages/user/components/AccompanyingMentor.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/src/pages/user/components/Inviter.vue b/src/pages/user/components/Inviter.vue
new file mode 100644
index 0000000..325fa1f
--- /dev/null
+++ b/src/pages/user/components/Inviter.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+ Adam
+
+
+ 联系TA
+
+
+ 投诉
+
+
+
+
+
diff --git a/src/pages/user/components/MyTeam.vue b/src/pages/user/components/MyTeam.vue
new file mode 100644
index 0000000..a6a86f4
--- /dev/null
+++ b/src/pages/user/components/MyTeam.vue
@@ -0,0 +1,55 @@
+
+
+
+
+
+ 我的邀请码:
+
+
+ 123445
+
+ 查看团队详情>
+
+
+
+
+ 人数
+ 323
+
+
+ 团队收益
+ 323
+
+
+ 团队奖励
+ 323
+
+
+
+
+
diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue
index 51a3aec..5cc6bd7 100644
--- a/src/pages/user/index.vue
+++ b/src/pages/user/index.vue
@@ -1,8 +1,40 @@
@@ -12,7 +44,7 @@ import CreditScore from "../../components/CreditScore.vue";
-
+
用户名称
@@ -20,19 +52,162 @@ import CreditScore from "../../components/CreditScore.vue";
uid:38578
-
+
- 编辑
+ 编辑
+
+
+
+
+
+
+
+
+ 总收益(元)
+
+ 24687.65
+
+
+
+ 可提现(元)
+
+ 358.32
+
+
+
+
+
+ 已提现(元)
+ 24239.33
+
+
+
+
+
+
+ 提现记录
+
+
+
+ 变动记录
+
+
+
+ 我的钱包
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+
+
+ 其他内容
+
+
+
+ 邀请好友
+
+
+
+ 邀请好友
+
+
+
+ 邀请好友
+
+
+
+ 邀请好友
diff --git a/src/pages/userInfo/components/EditPhone.vue b/src/pages/userInfo/components/EditPhone.vue
new file mode 100644
index 0000000..c20c2f2
--- /dev/null
+++ b/src/pages/userInfo/components/EditPhone.vue
@@ -0,0 +1,72 @@
+
+
+
+
+ 更换手机号
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/userInfo/components/EditWxCode.vue b/src/pages/userInfo/components/EditWxCode.vue
new file mode 100644
index 0000000..6c22b60
--- /dev/null
+++ b/src/pages/userInfo/components/EditWxCode.vue
@@ -0,0 +1,47 @@
+
+
+
+
+ 修改微信号
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/userInfo/index.vue b/src/pages/userInfo/index.vue
index f2157ff..0d24596 100644
--- a/src/pages/userInfo/index.vue
+++ b/src/pages/userInfo/index.vue
@@ -1,11 +1,101 @@
+
+
+
+
+ 头像
+
+
+
+
+
+
+ 昵称
+ 酷酷猛吃
+
+
+
+
+
+
+
+ 手机号
+ 178****0214
+
+
+
+
+
+ 微信号
+ za395739
+
+
+
+
+
+ 昵称
+ 酷酷猛吃
+
+
+
+
+
+ 登录密码
+ **********
+
+
+
+
+
+
-
diff --git a/src/scss/global.scss b/src/scss/global.scss
index 421ca7b..3c29154 100644
--- a/src/scss/global.scss
+++ b/src/scss/global.scss
@@ -59,3 +59,7 @@ $primary-color: #2D5CF6;
.test-28r {
font-size: 28rpx;
}
+
+.test-36r {
+ font-size: 36rpx;
+}
diff --git a/src/scss/index.scss b/src/scss/index.scss
index 542a812..bdcacb9 100644
--- a/src/scss/index.scss
+++ b/src/scss/index.scss
@@ -2,5 +2,24 @@ page {
background-color: #F2F3F5;
font-family: PingFang SC;
--primary-color: #165DFF;
+ --primary-color-info: #E8F3FF;
--warning-color: #FF7900;
}
+
+uni-toast {
+ z-index: 10000;
+}
+
+.uni-toast {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: 20rpx;
+ width: auto;
+ padding: 0 20rpx;
+
+ .uni-toast__content {
+ white-space: nowrap;
+ }
+}
diff --git a/src/static/icons/icon_变动记录.png b/src/static/icons/icon_变动记录.png
new file mode 100644
index 0000000..acf23b5
Binary files /dev/null and b/src/static/icons/icon_变动记录.png differ
diff --git a/src/static/icons/icon_我的钱包.png b/src/static/icons/icon_我的钱包.png
new file mode 100644
index 0000000..afe27c7
Binary files /dev/null and b/src/static/icons/icon_我的钱包.png differ
diff --git a/src/static/icons/icon_提现记录.png b/src/static/icons/icon_提现记录.png
new file mode 100644
index 0000000..5ca56f5
Binary files /dev/null and b/src/static/icons/icon_提现记录.png differ
diff --git a/src/static/icons/path1.png b/src/static/icons/path1.png
new file mode 100644
index 0000000..a8b933b
Binary files /dev/null and b/src/static/icons/path1.png differ
diff --git a/src/static/icons/path2.png b/src/static/icons/path2.png
new file mode 100644
index 0000000..c9f0031
Binary files /dev/null and b/src/static/icons/path2.png differ
diff --git a/src/static/icons/path3.png b/src/static/icons/path3.png
new file mode 100644
index 0000000..a41884e
Binary files /dev/null and b/src/static/icons/path3.png differ
diff --git a/src/static/icons/path4.png b/src/static/icons/path4.png
new file mode 100644
index 0000000..756ec7a
Binary files /dev/null and b/src/static/icons/path4.png differ
diff --git a/src/static/icons/right.png b/src/static/icons/right.png
new file mode 100644
index 0000000..5fffc06
Binary files /dev/null and b/src/static/icons/right.png differ
diff --git a/src/static/icons/消息推送.png b/src/static/icons/消息推送.png
new file mode 100644
index 0000000..e8d4121
Binary files /dev/null and b/src/static/icons/消息推送.png differ
diff --git a/src/static/icons/联系客服.png b/src/static/icons/联系客服.png
new file mode 100644
index 0000000..bdc0f46
Binary files /dev/null and b/src/static/icons/联系客服.png differ
diff --git a/src/static/icons/账号管理.png b/src/static/icons/账号管理.png
new file mode 100644
index 0000000..57d7407
Binary files /dev/null and b/src/static/icons/账号管理.png differ
diff --git a/src/static/icons/邀请好友.png b/src/static/icons/邀请好友.png
new file mode 100644
index 0000000..5fcf2f9
Binary files /dev/null and b/src/static/icons/邀请好友.png differ