diff --git a/package.json b/package.json
index 7632fca..1201d68 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "unibest",
"type": "commonjs",
- "version": "2.12.2",
+ "version": "2.13.0",
"description": "unibest - 最好的 uniapp 开发模板",
"update-time": "2025-06-17",
"author": {
@@ -11,14 +11,15 @@
"github": "https://github.com/feige996",
"gitee": "https://gitee.com/feige996"
},
+ "homepage": "https://unibest.tech",
"license": "MIT",
"repository": "https://github.com/feige996/unibest",
"repository-gitee": "https://gitee.com/feige996/unibest",
- "repository-deprecated": "https://github.com/codercup/unibest",
+ "repository-old": "https://github.com/codercup/unibest",
"bugs": {
- "url": "https://github.com/feige996/unibest/issues"
+ "url": "https://github.com/feige996/unibest/issues",
+ "url-old": "https://github.com/codercup/unibest/issues"
},
- "homepage": "https://feige996.github.io/unibest/",
"engines": {
"node": ">=18",
"pnpm": ">=7.30"
diff --git a/pages.config.ts b/pages.config.ts
index 2bef29d..028c8aa 100644
--- a/pages.config.ts
+++ b/pages.config.ts
@@ -40,12 +40,6 @@ export default defineUniPages({
pagePath: 'pages/about/about',
text: '%tabbar.about%',
},
- {
- iconPath: 'static/tabbar/personal.png',
- selectedIconPath: 'static/tabbar/personalHL.png',
- pagePath: 'pages/mine/index',
- text: '我的',
- },
],
},
})
diff --git a/src/components/privacy-popup/index.scss b/src/components/privacy-popup/index.scss
deleted file mode 100644
index 8cba003..0000000
--- a/src/components/privacy-popup/index.scss
+++ /dev/null
@@ -1,47 +0,0 @@
-@import 'wot-design-uni/components/wd-button/index.scss';
-:deep(.wd-privacy-popup) {
- width: 600rpx;
- padding: 0 24rpx;
- box-sizing: border-box;
- border-radius: 32rpx;
- overflow: hidden;
-}
-
-.wd-privacy-popup {
- &__header {
- width: 100%;
- height: 128rpx;
- line-height: 128rpx;
- color: rgba(0, 0, 0, 0.85);
- font-size: 30rpx;
- padding: 0 12rpx;
- box-sizing: border-box;
- }
-
- &__container {
- width: 100%;
- box-sizing: border-box;
- padding: 0 12rpx;
- margin-bottom: 32rpx;
-
- font-size: 28rpx;
- line-height: 1.8;
- color: #3e3e3e;
- text-align: left;
- font-weight: 550;
- &-protocol {
- color: #4d80f0;
- }
- }
-
- &__footer {
- display: flex;
- justify-content: space-between;
- padding-bottom: 36rpx;
-
- button {
- border: none;
- outline: none;
- }
- }
-}
\ No newline at end of file
diff --git a/src/components/privacy-popup/privacy-popup.vue b/src/components/privacy-popup/privacy-popup.vue
deleted file mode 100644
index 9bf9ec9..0000000
--- a/src/components/privacy-popup/privacy-popup.vue
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/pages.json b/src/pages.json
index 89859a2..471f347 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -28,19 +28,13 @@
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/homeHL.png",
"pagePath": "pages/index/index",
- "text": "%tabbar.home%"
+ "text": "首页"
},
{
"iconPath": "static/tabbar/example.png",
"selectedIconPath": "static/tabbar/exampleHL.png",
"pagePath": "pages/about/about",
- "text": "%tabbar.about%"
- },
- {
- "iconPath": "static/tabbar/personal.png",
- "selectedIconPath": "static/tabbar/personalHL.png",
- "pagePath": "pages/mine/index",
- "text": "我的"
+ "text": "关于"
}
]
},
@@ -67,42 +61,6 @@
"style": {
"navigationBarTitleText": "%app.name%"
}
- },
- {
- "path": "pages/login/index",
- "type": "page",
- "style": {
- "navigationBarTitleText": "登录",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine/index",
- "type": "page",
- "style": {
- "navigationBarTitleText": "我的"
- }
- },
- {
- "path": "pages/mine/about/index",
- "type": "page",
- "style": {
- "navigationBarTitleText": "关于我们"
- }
- },
- {
- "path": "pages/mine/info/index",
- "type": "page",
- "style": {
- "navigationBarTitleText": "个人资料"
- }
- },
- {
- "path": "pages/mine/password/index",
- "type": "page",
- "style": {
- "navigationBarTitleText": "修改密码"
- }
}
],
"subPackages": []
diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue
deleted file mode 100644
index 5195f14..0000000
--- a/src/pages/login/index.vue
+++ /dev/null
@@ -1,584 +0,0 @@
-
-{
- style: {
- navigationBarTitleText: '登录',
- navigationStyle: 'custom',
- },
-}
-
-
-
-
-
-
-
-
-
-
- 欢迎登录
- 请输入您的账号和密码
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 登录
-
-
-
-
-
- 或
-
-
-
- 微信一键登录
-
-
-
-
-
-
-
-
- 我已阅读并同意
- 《用户协议》
- 和
- 《隐私政策》
-
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/mine/about/index.vue b/src/pages/mine/about/index.vue
deleted file mode 100644
index d7e152a..0000000
--- a/src/pages/mine/about/index.vue
+++ /dev/null
@@ -1,173 +0,0 @@
-
-{
- style: {
- navigationBarTitleText: '关于我们',
- },
-}
-
-
-
-
-
-
-
-
-
-
- {{ appTitle }}
- 版本 {{ packageJson.version }}
-
-
-
-
- 联系我们
-
-
-
- 客服电话:400-XXX-XXXX
-
-
-
- 邮箱:support@unibest.tech
-
-
-
- 地址:中国·深圳
-
-
-
-
-
-
- Copyright © 2025-{{ currentYear }} {{ appTitle }}
- All Rights Reserved
-
-
-
-
-
-
-
-
diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
deleted file mode 100644
index 11cbc1e..0000000
--- a/src/pages/mine/index.vue
+++ /dev/null
@@ -1,374 +0,0 @@
-
-{
- style: {
- navigationBarTitleText: '我的',
- },
-}
-
-
-
-
- {{ JSON.stringify(userInfo) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ userInfo.username }}
-
- ID: {{ userInfo.id }}
-
-
-
-
-
-
- 账号管理
-
-
-
-
-
-
-
-
-
-
-
-
-
- 通用设置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 退出登录
- 登录
-
-
-
-
-
-
-
-
diff --git a/src/pages/mine/info/index.vue b/src/pages/mine/info/index.vue
deleted file mode 100644
index 2feb64d..0000000
--- a/src/pages/mine/info/index.vue
+++ /dev/null
@@ -1,190 +0,0 @@
-
-{
- style: {
- navigationBarTitleText: '个人资料',
- },
-}
-
-
-
-
-
-
-
-
-
-
- 昵称
-
-
-
-
-
- 性别
-
- 男
- 女
-
-
-
-
-
-
-
- 保存修改
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/mine/password/index.vue b/src/pages/mine/password/index.vue
deleted file mode 100644
index a92d2d5..0000000
--- a/src/pages/mine/password/index.vue
+++ /dev/null
@@ -1,203 +0,0 @@
-
-{
- style: {
- navigationBarTitleText: '修改密码',
- },
-}
-
-
-
-
-
-
-
-
-
-
- 旧密码
-
-
-
- 新密码
-
-
-
- 确认密码
-
-
-
-
-
-
-
- 保存修改
-
-
-
-
-
-
-
-
-