diff --git a/src/api/user.ts b/src/api/user.ts
index acbca22..2bfaa87 100644
--- a/src/api/user.ts
+++ b/src/api/user.ts
@@ -143,6 +143,20 @@ const UserAPI = {
method: "DELETE",
});
},
+
+ /**
+ * 重置用户密码
+ *
+ * @param userId 用户ID
+ * @param password 新密码
+ */
+ resetPassword(userId: number | string, password: string) {
+ return request({
+ url: `${USER_BASE_URL}/${userId}/password/reset`,
+ method: "PUT",
+ data: { password },
+ });
+ },
};
export default UserAPI;
diff --git a/src/layouts/default.vue b/src/layouts/default.vue
index a5deb4a..e759cce 100644
--- a/src/layouts/default.vue
+++ b/src/layouts/default.vue
@@ -4,13 +4,6 @@ import { storeToRefs } from "pinia";
const themeStore = useThemeStore();
const { theme, themeVars } = storeToRefs(themeStore);
-
-// 获取系统状态栏高度
-const statusBarHeight = ref(0);
-onMounted(() => {
- const systemInfo = uni.getSystemInfoSync();
- statusBarHeight.value = systemInfo.statusBarHeight || 0;
-});
-
+
-
-
diff --git a/src/layouts/tabbar.vue b/src/layouts/tabbar.vue
index 5cd071d..fc73a18 100644
--- a/src/layouts/tabbar.vue
+++ b/src/layouts/tabbar.vue
@@ -1,16 +1,8 @@
-
+
{
- const systemInfo = uni.getSystemInfoSync();
- statusBarHeight.value = systemInfo.statusBarHeight || 0;
-
// #ifdef APP-PLUS
uni.hideTabBar();
// #endif
@@ -81,15 +67,3 @@ export default {
},
};
-
-
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 6708813..8f6b117 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -1,7 +1,7 @@
-
+
-
+
+
-
+
-
+
@@ -42,11 +43,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -54,9 +55,9 @@
{{ visitStatsData.todayUvCount }}
-
-
-
+
+
+
@@ -64,22 +65,15 @@
{{ visitStatsData.todayPvCount }}
-
-
- 应用版本
-
-
- {{ appVersion }}
-
-
+
-
-
+
@@ -363,11 +357,7 @@ onReady(() => {
diff --git a/src/pages/mine/about/index.vue b/src/pages/mine/about/index.vue
index 6e60611..d7d4eac 100644
--- a/src/pages/mine/about/index.vue
+++ b/src/pages/mine/about/index.vue
@@ -1,98 +1,343 @@
-
+
-
-
-
-
-
-
- 有来开源组织
-
- 专注于快速构建和高效开发的应用解决方案
+
+ 项目介绍
+
+ 一个基于 uni-app + Vue 3 + TypeScript 的移动端模板,内置主题系统与 wot-design-uni
+ 组件库。同时提供管理端与多后端版本(Java / Gin / Nest / Django / ThinkPHP /
+ ASP.NET),并包含多租户实现。
+
-
-
-
-
-
- 基于 Vue3 + Vite7 + TypeScript5 + Element-Plus + Pinia 构建的中后台管理模板
-
-
+
+
+
+
+
+
+
+
+
-
-
- 基于 uni-app + Vue 3 + TypeScript,集成多种工具的移动端应用模板
-
-
+
+
+
+
+
-
-
- 基于 Spring Boot 3 + Vue 3 构建的前后端分离单体权限管理系统
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
-
-
diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
index f49d736..53f3f92 100644
--- a/src/pages/mine/index.vue
+++ b/src/pages/mine/index.vue
@@ -1,5 +1,5 @@
-
+
@@ -100,19 +100,23 @@
-
-
-
-
+
+
+
+
- {{ item.title }}
- {{ item.desc }}
+ 我的资料
+ 修改个人信息
+
+
+
+
+
+
+
+ 账号安全
+ 修改密码 / 账号绑定
@@ -123,20 +127,25 @@
系统工具