From def31db441348021f7a291c2c24ded68751ad899 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Sat, 21 Dec 2024 17:24:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 32 ++++++- src/pages/index/index.vue | 12 ++- src/pages/my-account/index.vue | 44 ++++++++++ src/pages/my-info/index.vue | 60 +++++++++++++ src/pages/my-setting/index.vue | 56 ++++++++++++ src/pages/my/index.vue | 136 ++++++++++++++++++++++++------ src/pages/order-details/index.vue | 43 ++++++++++ 7 files changed, 353 insertions(+), 30 deletions(-) create mode 100644 src/pages/my-account/index.vue create mode 100644 src/pages/my-info/index.vue create mode 100644 src/pages/my-setting/index.vue create mode 100644 src/pages/order-details/index.vue diff --git a/src/pages.json b/src/pages.json index 5f37833..499e8f7 100644 --- a/src/pages.json +++ b/src/pages.json @@ -42,16 +42,39 @@ "navigationStyle": "custom" } }, + { "path": "pages/message/index", "style": { "navigationBarTitleText": "消息" } }, + // 个人中心 { "path": "pages/my/index", "style": { - "navigationBarTitleText": "我的" + "navigationStyle": "custom" + } + }, + // 个人中心 -- 设置 + { + "path": "pages/my-setting/index", + "style": { + "navigationStyle": "custom" + } + }, + // 个人中心 -- 账户与安全 + { + "path": "pages/my-account/index", + "style": { + "navigationStyle": "custom" + } + }, + // 个人中心 -- 账户与安全 + { + "path": "pages/my-info/index", + "style": { + "navigationStyle": "custom" } }, // 装备详情 @@ -68,6 +91,13 @@ "navigationStyle": "custom" } }, + // 订单列表详情 + { + "path": "pages/order-details/index", + "style": { + "navigationStyle": "custom" + } + }, // 装备列表大厅 { "path": "pages/goods-list/index", diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 9080747..30bcef1 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -129,10 +129,14 @@ onLoad(() => { onShow(() => { activeUser.value = memberStore.userType - uni.setTabBarItem({ - index: 2, - visible: true, - }) + + if (activeUser.value === 2) { + uni.setTabBarItem({ + index: 2, + visible: true, + }) + } + getOrderStatusCountData() }) diff --git a/src/pages/my-account/index.vue b/src/pages/my-account/index.vue new file mode 100644 index 0000000..2378850 --- /dev/null +++ b/src/pages/my-account/index.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/src/pages/my-info/index.vue b/src/pages/my-info/index.vue new file mode 100644 index 0000000..62ed742 --- /dev/null +++ b/src/pages/my-info/index.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/src/pages/my-setting/index.vue b/src/pages/my-setting/index.vue new file mode 100644 index 0000000..0cce4ad --- /dev/null +++ b/src/pages/my-setting/index.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue index c0b524f..624bb49 100644 --- a/src/pages/my/index.vue +++ b/src/pages/my/index.vue @@ -1,27 +1,50 @@