From 5bef7e0e8d839ec913b69d60109b61815c8fa683 Mon Sep 17 00:00:00 2001
From: liutong <836164388@qq.com>
Date: Fri, 14 Mar 2025 10:29:19 +0800
Subject: [PATCH] =?UTF-8?q?feat(market):=20=E6=B7=BB=E5=8A=A0=E5=B8=82?=
=?UTF-8?q?=E5=9C=BA=E7=AB=AF=E6=88=91=E7=9A=84=E9=A1=B5=E9=9D=A2=E7=9B=B8?=
=?UTF-8?q?=E5=85=B3=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增市场端我的页面,包括用户信息、统计信息等功能模块
- 实现切换身份、到课率统计、即将到期等功能跳转
- 添加个人资料编辑功能,包括头像、姓名、性别等信息修改- 新增授课统计详情页面,展示详细授课信息
- 实现意见反馈和设置页面的跳转
---
components/AQ/AQTabber.vue | 18 +-
pages.json | 27 ++
pages/market/my/arrival_statistics.vue | 256 ++++++++++++++++
pages/market/my/due_soon.vue | 316 ++++++++++++++++++++
pages/market/my/index.vue | 317 ++++++++++++++++++++
pages/market/my/info.vue | 365 +++++++++++++++++++++++
pages/market/my/schooling_statistics.vue | 275 +++++++++++++++++
pages/market/my/set_up.vue | 53 ++++
pages/market/my/update_pass.vue | 107 +++++++
9 files changed, 1725 insertions(+), 9 deletions(-)
create mode 100644 pages/market/my/arrival_statistics.vue
create mode 100644 pages/market/my/due_soon.vue
create mode 100644 pages/market/my/index.vue
create mode 100644 pages/market/my/info.vue
create mode 100644 pages/market/my/schooling_statistics.vue
create mode 100644 pages/market/my/set_up.vue
create mode 100644 pages/market/my/update_pass.vue
diff --git a/components/AQ/AQTabber.vue b/components/AQ/AQTabber.vue
index b2aa29a..a086bcc 100644
--- a/components/AQ/AQTabber.vue
+++ b/components/AQ/AQTabber.vue
@@ -27,7 +27,7 @@
methods: {
async init(){
- uni.setStorageSync('userType','3')
+ uni.setStorageSync('userType','2')
let userType = uni.getStorageSync('userType')
this.userType = userType
@@ -73,34 +73,34 @@
this.tabBar = [
{
text: "首页",
- urlPath:'/pages/student/index/index',//自定义页面跳转路径
+ urlPath:'/pages/market/index/index',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
selectedIconPath: "/static/images/tabbar/my.png"
},
{
text: "线索",
- urlPath:'/pages/student/my/my',//自定义页面跳转路径
+ urlPath:'/pages/market/my/index',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
selectedIconPath: "/static/images/tabbar/my.png"
},
{
- text: "添加",
- urlPath:'/pages/student/my/my',//自定义页面跳转路径
+ text: "",
+ urlPath:'/pages/market/my/index',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
selectedIconPath: "/static/images/tabbar/my.png",
midButton: true,
- width: 96,
- height: 96
+ width: 70,
+ height: 70
},
{
text: "数据",
- urlPath:'/pages/student/my/my',//自定义页面跳转路径
+ urlPath:'/pages/market/my/index',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
selectedIconPath: "/static/images/tabbar/my.png"
},
{
text: "我的",
- urlPath:'/pages/student/my/my',//自定义页面跳转路径
+ urlPath:'/pages/market/my/index',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
selectedIconPath: "/static/images/tabbar/my.png"
}
diff --git a/pages.json b/pages.json
index be3b1f5..b2dd996 100644
--- a/pages.json
+++ b/pages.json
@@ -303,7 +303,34 @@
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black"
}
+ },
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+ "path": "pages/market/my/index",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "navigationStyle": "custom",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationBarTextStyle": "black"
+ }
}
+
+
+
+
+
+
],
"globalStyle": {
"navigationBarTextStyle": "white",
diff --git a/pages/market/my/arrival_statistics.vue b/pages/market/my/arrival_statistics.vue
new file mode 100644
index 0000000..bd71e54
--- /dev/null
+++ b/pages/market/my/arrival_statistics.vue
@@ -0,0 +1,256 @@
+
+
+
+
+
+
+
+
+
+
+ 12
+ /
+ 24
+
+
+ 到课率:80%
+
+
+
+ 班级:少年班
+ 时间:2020-05-25 15:30 - 17:30
+ 课室:302室
+
+ 课程:篮球少儿课
+
+
+
+ 上课中
+
+
+
+
+
+
+ 12
+ /
+ 24
+
+
+ 到课率:80%
+
+
+
+ 班级:少年班
+ 时间:2020-05-25 15:30 - 17:30
+ 课室:302室
+
+ 课程:篮球少儿课
+
+
+
+
+ 待上课
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/market/my/due_soon.vue b/pages/market/my/due_soon.vue
new file mode 100644
index 0000000..2257d18
--- /dev/null
+++ b/pages/market/my/due_soon.vue
@@ -0,0 +1,316 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 即将到期
+
+
+
+ 黄明明
+ 课程截止时间:2020.05:25
+
+
+
+
+ 24
+ 已上课时
+
+
+ 24
+ 剩余课时
+
+
+
+
+
+
+
+
+ 即将到期
+
+
+
+ 黄明明
+ 课程截止时间:2020.05:25
+
+
+
+
+ 24
+ 已上课时
+
+
+ 24
+ 剩余课时
+
+
+
+
+
+
+
+
+ 即将到期
+
+
+
+ 黄明明
+ 课程截止时间:2020.05:25
+
+
+
+
+ 24
+ 已上课时
+
+
+ 24
+ 剩余课时
+
+
+
+
+
+
+
+
+ 即将到期
+
+
+
+ 黄明明
+ 课程截止时间:2020.05:25
+
+
+
+
+ 24
+ 已上课时
+
+
+ 24
+ 剩余课时
+
+
+
+
+
+
+
+
+ 即将到期
+
+
+
+ 黄明明
+ 课程截止时间:2020.05:25
+
+
+
+
+ 24
+ 已上课时
+
+
+ 24
+ 剩余课时
+
+
+
+
+
+
+
+
+
+
+
+
+ 黄明明
+ 课程截止时间:2020.05:25
+
+
+
+
+ 24
+ 已上课时
+
+
+ 24
+ 剩余课时
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/market/my/index.vue b/pages/market/my/index.vue
new file mode 100644
index 0000000..cc7a79a
--- /dev/null
+++ b/pages/market/my/index.vue
@@ -0,0 +1,317 @@
+
+
+
+
+
+ 我的
+
+
+
+
+
+
+
+
+ 包子皮
+
+
+ 切换身份
+ 到课率统计
+
+
+
+
+
+
+
+
+
+
+
+ 1234
+ 总授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 总负责学员/名
+
+
+
+
+ 月授课数
+ 12
+ 节,月负责学员
+ 188
+ 名
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我的体育场
+ xxx场馆
+
+
+
+ 即将到期
+
+
+
+
+ 授课统计
+
+
+
+
+
+
+
+ 意见反馈
+
+
+
+
+ 设置
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/market/my/info.vue b/pages/market/my/info.vue
new file mode 100644
index 0000000..5145f01
--- /dev/null
+++ b/pages/market/my/info.vue
@@ -0,0 +1,365 @@
+
+
+
+
+
+
+
+
+ 修改头像
+
+
+
+
+
+
+ 姓名 *
+
+
+
+
+
+
+
+
+ 账号
+
+
+
+
+
+
+
+
+ 部门
+
+
+
+
+
+
+
+
+ 等级
+
+
+
+
+
+
+
+
+
+
+ 性别 *
+
+
+
+
+
+
+
+
+
+ 生日 *
+
+
+
+
+
+
+
+
+
+ 邮箱 *
+
+
+
+
+
+
+
+
+ 手机 *
+
+
+
+
+
+
+
+
+ 微信
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/market/my/schooling_statistics.vue b/pages/market/my/schooling_statistics.vue
new file mode 100644
index 0000000..9daaa6e
--- /dev/null
+++ b/pages/market/my/schooling_statistics.vue
@@ -0,0 +1,275 @@
+
+
+
+
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/market/my/set_up.vue b/pages/market/my/set_up.vue
new file mode 100644
index 0000000..31e3566
--- /dev/null
+++ b/pages/market/my/set_up.vue
@@ -0,0 +1,53 @@
+
+
+
+
+ 修改密码
+ 用户协议
+ 隐私策略
+ 清空缓存
+
+
+ 退出账号
+
+
+
+
+
+
+
diff --git a/pages/market/my/update_pass.vue b/pages/market/my/update_pass.vue
new file mode 100644
index 0000000..3544848
--- /dev/null
+++ b/pages/market/my/update_pass.vue
@@ -0,0 +1,107 @@
+
+
+
+
+ 1.验证手机号码
+ 2.设置新密码
+
+
+
+
+
+ 为保障您的账号安全,修改密码前请填写原密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 下一步
+ 提交
+
+ 忘记原密码
+
+
+
+
+
+
+
+
+
\ No newline at end of file