From a83485b4bc209e366f9c42ea95435ebe60816212 Mon Sep 17 00:00:00 2001 From: yaoqin <497681109@qq.com> Date: Wed, 31 Dec 2025 13:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E5=91=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- power_leasing/src/api/user.js | 33 ++ power_leasing/src/components/header.vue | 54 +- power_leasing/src/views/account/fundsFlow.vue | 32 +- power_leasing/src/views/account/index.vue | 21 +- power_leasing/src/views/account/myShops.vue | 61 +- power_leasing/src/views/account/products.vue | 158 ++++- .../src/views/account/securitySettings.vue | 552 +++++++++++++++++- power_leasing/src/views/account/wallet.vue | 28 +- power_leasing/src/views/auth/login.vue | 2 +- power_leasing/test.zip | Bin 2050266 -> 2060929 bytes power_leasing/test/css/app.c0e6f336.css | 1 + power_leasing/test/index.html | 2 +- power_leasing/test/js/app.7bd6edb2.js | 2 + power_leasing/test/js/app.7bd6edb2.js.map | 1 + 14 files changed, 897 insertions(+), 50 deletions(-) create mode 100644 power_leasing/test/css/app.c0e6f336.css create mode 100644 power_leasing/test/js/app.7bd6edb2.js create mode 100644 power_leasing/test/js/app.7bd6edb2.js.map diff --git a/power_leasing/src/api/user.js b/power_leasing/src/api/user.js index 0b832bc..4a96e82 100644 --- a/power_leasing/src/api/user.js +++ b/power_leasing/src/api/user.js @@ -71,6 +71,39 @@ export function updatePassword(data) { } + //注销账户 +export function closeAccount(data) { + return request({ + url: `/lease/auth/closeAccount`, + method: 'post', + data + }) +} + + + //注销邮箱验证码 + export function sendCloseAccount(data) { + return request({ + url: `/lease/auth/sendCloseAccount`, + method: 'post', + data + }) + } + + + //个人中心修改密码 + export function updatePasswordInCenter(data) { + return request({ + url: `/lease/auth/updatePasswordInCenter`, + method: 'post', + data + }) + } + + + + + diff --git a/power_leasing/src/components/header.vue b/power_leasing/src/components/header.vue index 46c460c..2d1e58c 100644 --- a/power_leasing/src/components/header.vue +++ b/power_leasing/src/components/header.vue @@ -9,7 +9,7 @@ :key="nav.path" :to="nav.path" class="nav-btn" - active-class="active" + :class="{ active: isNavActive(nav.path) }" :title="nav.description" > @@ -30,9 +30,16 @@ - +
diff --git a/power_leasing/src/views/account/index.vue b/power_leasing/src/views/account/index.vue index a4d716b..204a98a 100644 --- a/power_leasing/src/views/account/index.vue +++ b/power_leasing/src/views/account/index.vue @@ -16,20 +16,20 @@定期修改密码可以提高账户安全性,建议使用强密码并定期更换。
+注销账号将永久删除您的账户和所有相关数据,此操作不可恢复,请谨慎操作。
+