From 4445e18b0208261b62af2127b32b49dfc784154f Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 22:35:29 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=B8=AD=E5=BF=83=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=92=8C=E9=9A=90=E7=A7=81=E5=BC=B9=E7=AA=97=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除与用户中心相关的所有页面,包括个人资料、修改密码、关于我们等 移除不再使用的隐私协议弹窗组件及相关样式文件 清理路由配置中不再需要的页面路径 --- pages.config.ts | 6 - src/components/privacy-popup/index.scss | 47 -- .../privacy-popup/privacy-popup.vue | 144 ----- src/pages.json | 42 -- src/pages/login/index.vue | 584 ------------------ src/pages/mine/about/index.vue | 173 ------ src/pages/mine/index.vue | 374 ----------- src/pages/mine/info/index.vue | 190 ------ src/pages/mine/password/index.vue | 203 ------ 9 files changed, 1763 deletions(-) delete mode 100644 src/components/privacy-popup/index.scss delete mode 100644 src/components/privacy-popup/privacy-popup.vue delete mode 100644 src/pages/login/index.vue delete mode 100644 src/pages/mine/about/index.vue delete mode 100644 src/pages/mine/index.vue delete mode 100644 src/pages/mine/info/index.vue delete mode 100644 src/pages/mine/password/index.vue diff --git a/pages.config.ts b/pages.config.ts index 547d0da..c801b46 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -40,12 +40,6 @@ export default defineUniPages({ pagePath: 'pages/about/about', text: '关于', }, - { - 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 f5d9e48..0ba59a0 100644 --- a/src/pages.json +++ b/src/pages.json @@ -35,12 +35,6 @@ "selectedIconPath": "static/tabbar/exampleHL.png", "pagePath": "pages/about/about", "text": "关于" - }, - { - "iconPath": "static/tabbar/personal.png", - "selectedIconPath": "static/tabbar/personalHL.png", - "pagePath": "pages/mine/index", - "text": "我的" } ] }, @@ -61,42 +55,6 @@ "navigationBarTitleText": "关于", "navigationStyle": "custom" } - }, - { - "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: '关于我们', - }, -} - - - - - - - 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: '我的', - }, -} - - - - - - - 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: '修改密码', - }, -} - - - - - - -