From 5b3d9248dbbd22103b97f41c41c72752bcd314be Mon Sep 17 00:00:00 2001 From: luyisha Date: Thu, 28 Sep 2023 18:06:25 +0800 Subject: [PATCH] 1 --- common/js/api.js | 1 + common/js/updateTabBar.js | 18 +-- pages/goodslist/goodslist.vue | 8 +- pages/home/home.vue | 28 +++-- pages/list/agent.vue | 40 +++--- pages/list/team.vue | 24 ++-- pages/list/user.vue | 36 ++++++ pages/recordsList/recordsList.vue | 4 +- pages/scratchCard/scratchCard.vue | 199 ++++++++++++++++++------------ pages/ucenter/invite/invite.vue | 48 +++++-- pages/ucenter/ucenter.vue | 166 +++++++++++++++++++++---- static/user/haibao_1.png | Bin 0 -> 83280 bytes static/user/ze-exchange@2x.png | Bin 0 -> 391 bytes 13 files changed, 406 insertions(+), 166 deletions(-) create mode 100644 static/user/haibao_1.png create mode 100644 static/user/ze-exchange@2x.png diff --git a/common/js/api.js b/common/js/api.js index 260abe6..c76e379 100644 --- a/common/js/api.js +++ b/common/js/api.js @@ -1,5 +1,6 @@ // let baseUrl = 'http://192.168.66.221:8000' let baseUrl = 'http://192.168.66.16:8084' +// baseUrl = 'https://ggl.xingtongworld.com' // baseUrl = '' let API = { diff --git a/common/js/updateTabBar.js b/common/js/updateTabBar.js index 2cb17fe..9e9f3be 100644 --- a/common/js/updateTabBar.js +++ b/common/js/updateTabBar.js @@ -20,7 +20,11 @@ export default { changeAgent(){ uni.setTabBarItem({ index:0, - visible: false + visible: true + }) + uni.setTabBarItem({ + index:1, + visible: true }) uni.setTabBarItem({ index:2, @@ -30,16 +34,16 @@ export default { index:3, visible: false }) - uni.setTabBarItem({ - index:1, - visible: true - }) }, changebackground(){ uni.setTabBarItem({ index:0, visible: true }) + uni.setTabBarItem({ + index:1, + visible: false + }) uni.setTabBarItem({ index:2, visible: true @@ -48,9 +52,5 @@ export default { index:3, visible: true }) - uni.setTabBarItem({ - index:1, - visible: false - }) }, } \ No newline at end of file diff --git a/pages/goodslist/goodslist.vue b/pages/goodslist/goodslist.vue index 191ff3c..a45225f 100644 --- a/pages/goodslist/goodslist.vue +++ b/pages/goodslist/goodslist.vue @@ -22,10 +22,10 @@ id: '', type: '20元', goodsList: [ - {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", }, - {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", }, - {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", }, - {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", } + // {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", }, + // {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", }, + // {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", }, + // {cover_image:'../../static/home/tem11.png', title: '超级加倍', "id": 1, "important": "最高奖金100万元", "price": "20.00", } ], } }, diff --git a/pages/home/home.vue b/pages/home/home.vue index a7c00d2..7465520 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -1,15 +1,15 @@