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 @@