From 62c8d25fcc6d7a485d4f1b5bcf86fc3b5ee283e5 Mon Sep 17 00:00:00 2001 From: yangyao Date: Wed, 21 Jan 2026 15:32:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 12 +++++ pages/control/api.js | 7 +++ pages/control/index.vue | 117 ++++++++++++++++++++++++++++++++++++++++ pages/mbti/index.vue | 38 ++----------- pages/memory/index.vue | 38 ++----------- pages/mine/index.vue | 19 +++++-- pages/order/index.vue | 38 ++----------- 7 files changed, 163 insertions(+), 106 deletions(-) create mode 100644 pages/control/api.js create mode 100644 pages/control/index.vue diff --git a/pages.json b/pages.json index c47a958..2983a3d 100644 --- a/pages.json +++ b/pages.json @@ -59,6 +59,18 @@ "style": { "navigationBarTitleText": "" } + }, + { + "path": "pages/login/changePassword", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/control/index", + "style": { + "navigationStyle": "custom" + } } ], diff --git a/pages/control/api.js b/pages/control/api.js new file mode 100644 index 0000000..1114055 --- /dev/null +++ b/pages/control/api.js @@ -0,0 +1,7 @@ +import { get, post, put, dele } from '@/utils/request'; +/** + * @desc 获取产品列表 + */ +export const getProducts = (params) => { + return get('/api/products/', params) +} \ No newline at end of file diff --git a/pages/control/index.vue b/pages/control/index.vue new file mode 100644 index 0000000..a015f6c --- /dev/null +++ b/pages/control/index.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/pages/mbti/index.vue b/pages/mbti/index.vue index 8b798af..9479e42 100644 --- a/pages/mbti/index.vue +++ b/pages/mbti/index.vue @@ -1,45 +1,16 @@