From db42252b6c2fde181c7512f013b8d9810da6c552 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Thu, 29 Jan 2026 17:39:43 +0800 Subject: [PATCH] sc --- src/pages.json | 96 +++- src/pages/exception/ai-recharge.vue | 609 ++++++++++++++++++++++ src/pages/exception/member-order.vue | 644 +++++++++++++++++++++++ src/pages/exception/profit.vue | 606 ++++++++++++++++++++++ src/pages/index.vue | 579 ++++++++++++++++++++- src/pages/mine/about-us.vue | 483 +++++++++++++++++ src/pages/mine/custom-fields.vue | 620 ++++++++++++++++++++++ src/pages/mine/data-logs.vue | 646 +++++++++++++++++++++++ src/pages/mine/help-center.vue | 560 ++++++++++++++++++++ src/pages/mine/index.vue | 684 ++++++++++++++++++------ src/pages/mine/password-change.vue | 501 ++++++++++++++++++ src/pages/mine/personal-info.vue | 499 ++++++++++++++++++ src/pages/mine/school-info.vue | 383 ++++++++++++++ src/pages/work/index.vue | 748 +++++++++++++++++++++------ 14 files changed, 7320 insertions(+), 338 deletions(-) create mode 100644 src/pages/exception/ai-recharge.vue create mode 100644 src/pages/exception/member-order.vue create mode 100644 src/pages/exception/profit.vue create mode 100644 src/pages/mine/about-us.vue create mode 100644 src/pages/mine/custom-fields.vue create mode 100644 src/pages/mine/data-logs.vue create mode 100644 src/pages/mine/help-center.vue create mode 100644 src/pages/mine/password-change.vue create mode 100644 src/pages/mine/personal-info.vue create mode 100644 src/pages/mine/school-info.vue diff --git a/src/pages.json b/src/pages.json index cc12882..e4c280b 100644 --- a/src/pages.json +++ b/src/pages.json @@ -3,109 +3,169 @@ { "path": "pages/login", "style": { - "navigationBarTitleText": "登录" + "navigationStyle": "custom" } }, { "path": "pages/register", "style": { - "navigationBarTitleText": "注册" + "navigationStyle": "custom" } }, { "path": "pages/index", "style": { - "navigationBarTitleText": "小程序管理后台" + "navigationStyle": "custom" } }, { "path": "pages/work/index", "style": { - "navigationBarTitleText": "工作台" + "navigationStyle": "custom" } }, { "path": "pages/mine/index", "style": { - "navigationBarTitleText": "我的" + "navigationStyle": "custom" } }, { "path": "pages/mine/avatar/index", "style": { - "navigationBarTitleText": "修改头像" + "navigationStyle": "custom" } }, { "path": "pages/mine/info/index", "style": { - "navigationBarTitleText": "个人信息" + "navigationStyle": "custom" } }, { "path": "pages/mine/info/edit", "style": { - "navigationBarTitleText": "编辑资料" + "navigationStyle": "custom" } }, { "path": "pages/mine/pwd/index", "style": { - "navigationBarTitleText": "修改密码" + "navigationStyle": "custom" } }, { "path": "pages/mine/setting/index", "style": { - "navigationBarTitleText": "应用设置" + "navigationStyle": "custom" } }, { "path": "pages/mine/help/index", "style": { - "navigationBarTitleText": "常见问题" + "navigationStyle": "custom" } }, { "path": "pages/mine/about/index", "style": { - "navigationBarTitleText": "关于我们" + "navigationStyle": "custom" } }, { "path": "pages/common/webview/index", "style": { - "navigationBarTitleText": "浏览网页" + "navigationStyle": "custom" } }, { "path": "pages/common/textview/index", "style": { - "navigationBarTitleText": "浏览文本" + "navigationStyle": "custom" } }, { "path": "pages/distributor/index", "style": { - "navigationBarTitleText": "分销员管理" + "navigationStyle": "custom" } }, { "path": "pages/distributor/add", "style": { - "navigationBarTitleText": "新增分销员" + "navigationStyle": "custom" } }, { "path": "pages/distributor/edit", "style": { - "navigationBarTitleText": "修改分销员" + "navigationStyle": "custom" } }, { "path": "pages/distributor/rule", "style": { - "navigationBarTitleText": "分润规则配置" + "navigationStyle": "custom" + } + }, + { + "path": "pages/mine/school-info", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/mine/custom-fields", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/mine/data-logs", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/mine/personal-info", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/mine/password-change", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/mine/help-center", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/mine/about-us", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/exception/profit", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/exception/ai-recharge", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/exception/member-order", + "style": { + "navigationStyle": "custom" } } ], diff --git a/src/pages/exception/ai-recharge.vue b/src/pages/exception/ai-recharge.vue new file mode 100644 index 0000000..5a6f80a --- /dev/null +++ b/src/pages/exception/ai-recharge.vue @@ -0,0 +1,609 @@ + + + + + \ No newline at end of file diff --git a/src/pages/exception/member-order.vue b/src/pages/exception/member-order.vue new file mode 100644 index 0000000..3b7db2c --- /dev/null +++ b/src/pages/exception/member-order.vue @@ -0,0 +1,644 @@ + + + + + \ No newline at end of file diff --git a/src/pages/exception/profit.vue b/src/pages/exception/profit.vue new file mode 100644 index 0000000..9dcab19 --- /dev/null +++ b/src/pages/exception/profit.vue @@ -0,0 +1,606 @@ + + + + + \ No newline at end of file diff --git a/src/pages/index.vue b/src/pages/index.vue index 4489eb5..c8a39b8 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -1,36 +1,575 @@ - + + .notice-icon { + background-color: #fef0f0; + } + + .log-icon { + background-color: #f4f4f5; + } + + /* 图标文本样式 */ + .icon-text { + font-size: 40rpx; + line-height: 1; + text-align: center; + } + + /* 功能信息 */ + .feature-info { + flex: 1; + min-width: 0; + } + + .feature-title { + font-size: 28rpx; + font-weight: 600; + color: #303133; + margin-bottom: 8rpx; + line-height: 1.3; + } + + .feature-desc { + font-size: 22rpx; + color: #909399; + line-height: 1.4; + } + + /* 响应式设计 */ + @media screen and (min-width: 500px) { + .index-container { + max-width: 900px; + margin: 0 auto; + padding: 30rpx; + } + + .welcome-section { + padding: 50rpx; + } + + .welcome-title { + font-size: 44rpx; + } + + .welcome-desc { + font-size: 28rpx; + } + + .section { + padding: 30rpx; + } + + .section-title { + font-size: 36rpx; + margin-bottom: 30rpx; + } + + .stats-grid { + grid-template-columns: repeat(4, 1fr); + gap: 20rpx; + } + + .stat-card { + padding: 30rpx; + } + + .stat-icon { + font-size: 56rpx; + margin-right: 20rpx; + } + + .stat-value { + font-size: 32rpx; + } + + .stat-label { + font-size: 24rpx; + } + + .feature-card { + padding: 30rpx; + } + + .feature-icon { + width: 100rpx; + height: 100rpx; + margin-right: 24rpx; + } + + .icon-text { + font-size: 48rpx; + } + + .feature-title { + font-size: 32rpx; + } + + .feature-desc { + font-size: 24rpx; + } + } + + /* 平板和大屏响应式 */ + @media screen and (min-width: 768px) { + .index-container { + max-width: 1000px; + } + + .welcome-section { + padding: 60rpx; + } + + .welcome-title { + font-size: 52rpx; + } + + .section { + padding: 36rpx; + } + + .stats-grid { + gap: 24rpx; + } + + .stat-card { + padding: 36rpx; + } + + .stat-icon { + font-size: 64rpx; + } + + .stat-value { + font-size: 36rpx; + } + + .feature-card { + padding: 36rpx; + } + + .feature-icon { + width: 120rpx; + height: 120rpx; + } + + .icon-text { + font-size: 56rpx; + } + + .feature-title { + font-size: 36rpx; + } + + .feature-desc { + font-size: 26rpx; + } + } + \ No newline at end of file diff --git a/src/pages/mine/about-us.vue b/src/pages/mine/about-us.vue new file mode 100644 index 0000000..ba6e5e2 --- /dev/null +++ b/src/pages/mine/about-us.vue @@ -0,0 +1,483 @@ + + + + + \ No newline at end of file diff --git a/src/pages/mine/custom-fields.vue b/src/pages/mine/custom-fields.vue new file mode 100644 index 0000000..a730b14 --- /dev/null +++ b/src/pages/mine/custom-fields.vue @@ -0,0 +1,620 @@ + + + + + \ No newline at end of file diff --git a/src/pages/mine/data-logs.vue b/src/pages/mine/data-logs.vue new file mode 100644 index 0000000..5519a55 --- /dev/null +++ b/src/pages/mine/data-logs.vue @@ -0,0 +1,646 @@ + + + + + \ No newline at end of file diff --git a/src/pages/mine/help-center.vue b/src/pages/mine/help-center.vue new file mode 100644 index 0000000..ea6e492 --- /dev/null +++ b/src/pages/mine/help-center.vue @@ -0,0 +1,560 @@ + + + + + \ No newline at end of file diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index be9435f..8f0ea22 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -1,187 +1,577 @@ + + /* 平板和大屏响应式 */ + @media screen and (min-width: 768px) { + .mine-container { + max-width: 1000px; + } + + .welcome-section { + padding: 60rpx; + } + + .feature-card { + padding: 36rpx; + } + + .feature-icon { + width: 120rpx; + height: 120rpx; + } + + .icon-text { + font-size: 52rpx; + } + + .feature-title { + font-size: 36rpx; + } + + .feature-desc { + font-size: 26rpx; + } + } + \ No newline at end of file diff --git a/src/pages/mine/password-change.vue b/src/pages/mine/password-change.vue new file mode 100644 index 0000000..77624ee --- /dev/null +++ b/src/pages/mine/password-change.vue @@ -0,0 +1,501 @@ + + + + + \ No newline at end of file diff --git a/src/pages/mine/personal-info.vue b/src/pages/mine/personal-info.vue new file mode 100644 index 0000000..d86b6e0 --- /dev/null +++ b/src/pages/mine/personal-info.vue @@ -0,0 +1,499 @@ + + + + + \ No newline at end of file diff --git a/src/pages/mine/school-info.vue b/src/pages/mine/school-info.vue new file mode 100644 index 0000000..4cfe6ba --- /dev/null +++ b/src/pages/mine/school-info.vue @@ -0,0 +1,383 @@ + + + + + \ No newline at end of file diff --git a/src/pages/work/index.vue b/src/pages/work/index.vue index 2992d18..3d56b73 100644 --- a/src/pages/work/index.vue +++ b/src/pages/work/index.vue @@ -1,110 +1,485 @@ @@ -130,123 +505,190 @@ min-height: 100vh; } - /* 轮播图样式 */ - .uni-swiper-dot-box { + .section { margin-bottom: 30rpx; - border-radius: 12rpx; - overflow: hidden; - box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08); } - .swiper-box { - height: 200px; - border-radius: 12rpx; - overflow: hidden; - } - - .swiper-item { - height: 200px; - display: flex; - align-items: center; - justify-content: center; - } - - .banner-image { - width: 100%; - height: 100%; - border-radius: 12rpx; - } - - /* 宫格样式 */ - .grid-body { - background-color: #fff; - border-radius: 12rpx; - padding: 20rpx; - box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08); - } - - .grid-title { - font-size: 30rpx; + /* 标题样式 */ + .section-title { + font-size: 32rpx; font-weight: bold; color: #303133; - margin-bottom: 20rpx; - padding-left: 10rpx; - border-left: 6rpx solid #409eff; + margin-bottom: 24rpx; + padding-left: 12rpx; + border-left: 8rpx solid #409eff; + line-height: 1.2; } - .grid-item-box { - flex: 1; + /* 横行排列容器 */ + .feature-row { display: flex; flex-direction: column; - align-items: center; - justify-content: center; - padding: 20rpx 0; - transition: all 0.3s ease; - border-radius: 8rpx; - position: relative; + gap: 16rpx; } - .grid-item-box:active { + /* 功能卡片样式 */ + .feature-card { + display: flex; + align-items: center; + background-color: #fff; + border-radius: 16rpx; + padding: 24rpx; + box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08); + transition: all 0.3s ease; + cursor: pointer; + } + + .feature-card:active { transform: translateY(2rpx); box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1); } - .icon-container { + /* 图标容器 */ + .feature-icon { width: 80rpx; height: 80rpx; border-radius: 16rpx; display: flex; align-items: center; justify-content: center; - margin-bottom: 15rpx; - background-color: #f0f9eb; + margin-right: 20rpx; + flex-shrink: 0; + } + + /* 图标文本样式 */ + .icon-text { + font-size: 36rpx; + line-height: 1; + text-align: center; + } + + /* 异常徽章样式 */ + .exception-badge { + position: absolute; + top: -8rpx; + right: -8rpx; + min-width: 36rpx; + height: 36rpx; + padding: 0 12rpx; + background-color: #f56c6c; + color: #fff; + border-radius: 18rpx; + font-size: 20rpx; + font-weight: bold; + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 2rpx 8rpx rgba(245, 108, 108, 0.5); + } + + /* 图标容器相对定位,用于异常徽章 */ + .feature-icon { + position: relative; } /* 各模块颜色 */ - .distributor .icon-container { + .distributor-icon { background-color: #ecf5ff; } - .user .icon-container { + .user-icon { background-color: #f0f9eb; } - .dept .icon-container { + .dept-icon { background-color: #fdf6ec; } - .notice .icon-container { + .notice-icon { background-color: #fef0f0; } - .log .icon-container { + .log-icon { background-color: #f4f4f5; } - .text { - text-align: center; - font-size: 26rpx; - color: #606266; - font-weight: 500; + /* 功能信息 */ + .feature-info { + flex: 1; + min-width: 0; + } + + .feature-title { + font-size: 28rpx; + font-weight: 600; + color: #303133; + margin-bottom: 8rpx; + line-height: 1.3; + } + + .feature-desc { + font-size: 22rpx; + color: #909399; + line-height: 1.4; } /* 响应式设计 */ @media screen and (min-width: 500px) { .work-container { - max-width: 800px; + max-width: 900px; margin: 0 auto; + padding: 30rpx; } - .swiper-box { - height: 240px; + .section-title { + font-size: 36rpx; + margin-bottom: 30rpx; } - .swiper-item { - height: 240px; + .feature-card { + padding: 30rpx; } - .grid-item-box { - padding: 25rpx 0; + .feature-icon { + width: 100rpx; + height: 100rpx; + margin-right: 24rpx; + } + + .icon-text { + font-size: 44rpx; + } + + .feature-title { + font-size: 32rpx; + } + + .feature-desc { + font-size: 24rpx; } } - + + /* 平板和大屏响应式 */ + @media screen and (min-width: 768px) { + .work-container { + max-width: 1000px; + } + + .feature-card { + padding: 36rpx; + } + + .feature-icon { + width: 120rpx; + height: 120rpx; + } + + .icon-text { + font-size: 52rpx; + } + + .feature-title { + font-size: 36rpx; + } + + .feature-desc { + font-size: 26rpx; + } + } + \ No newline at end of file