diff --git a/api/index.js b/api/index.js index 02863d0..e789c9d 100644 --- a/api/index.js +++ b/api/index.js @@ -78,3 +78,12 @@ export const getRegion = data => { data }) } + +/** 用户积分排行榜 */ +export const getUserIntegralRank = data => { + return http({ + url: '/api/system/userPoints/list', + method: 'get', + data + }) +} diff --git a/components/nav-bar/nav-bar.vue b/components/nav-bar/nav-bar.vue index a5e8b4e..b163375 100644 --- a/components/nav-bar/nav-bar.vue +++ b/components/nav-bar/nav-bar.vue @@ -1,23 +1,90 @@ @@ -70,10 +153,6 @@ z-index: 99; } - .nav-bar_bg { - background: #ffffff; - } - .top_left-icon { height: 36rpx; } diff --git a/pages.json b/pages.json index 1308fd7..0a82779 100644 --- a/pages.json +++ b/pages.json @@ -59,6 +59,41 @@ "backgroundColor": "#f7f7f7" } }, + { + "path": "pages/my-index/personal-center/index", + "style": { + "navigationBarTitleText": "个人中心", + "navigationBarBackgroundColor": "#ffffff" + } + }, + { + "path": "pages/my-index/wallet/index", + "style": { + "navigationBarTitleText": "钱包", + "navigationBarBackgroundColor": "#ffffff" + } + }, + { + "path": "pages/my-index/wallet/edit-password", + "style": { + "navigationBarTitleText": "修改钱包密码", + "navigationStyle": "custom" + } + }, + { + "path": "pages/my-index/wallet/bank-card/index", + "style": { + "navigationBarTitleText": "提现卡", + "navigationBarBackgroundColor": "#ffffff" + } + }, + { + "path": "pages/my-index/wallet/bank-card/card-details", + "style": { + "navigationBarTitleText": "卡信息增删改查", + "navigationStyle": "custom" + } + }, { "path": "pages/mall/list", "style": { @@ -128,6 +163,19 @@ "navigationBarTitleText": "签到", "navigationStyle": "custom" } + }, + { + "path": "pages/discover/dynamic/dynamic", + "style": { + "navigationBarTitleText": "朋友圈", + "navigationStyle": "custom" + } + }, + { + "path": "pages/discover/company", + "style": { + "navigationBarTitleText": "公司介绍" + } } ], "globalStyle": { diff --git a/pages/discover/company.vue b/pages/discover/company.vue new file mode 100644 index 0000000..b5c4957 --- /dev/null +++ b/pages/discover/company.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index 688bec7..8dccea2 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -20,6 +20,14 @@ navigateTo('/pages/discover/punch') return } + if (item === 'company') { + navigateTo('/pages/discover/company') + return + } + if (item === 'circle') { + navigateTo('/pages/discover/dynamic/dynamic') + return + } if (item === 'mall') { navigateTo('/pages/mall/list') return diff --git a/pages/discover/dynamic/dynamic.vue b/pages/discover/dynamic/dynamic.vue new file mode 100644 index 0000000..5f74b8d --- /dev/null +++ b/pages/discover/dynamic/dynamic.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/pages/discover/punch.vue b/pages/discover/punch.vue index 0c0521b..f0a3c99 100644 --- a/pages/discover/punch.vue +++ b/pages/discover/punch.vue @@ -1,4 +1,15 @@ - + - + > + + + + + 每日签到领积分 + + 已连续签到 + 05 + + + + + + + + + +10 + + 今天 + + diff --git a/pages/discover/ranking-list.vue b/pages/discover/ranking-list.vue index f7c30e0..34e3e95 100644 --- a/pages/discover/ranking-list.vue +++ b/pages/discover/ranking-list.vue @@ -1,8 +1,36 @@ - +