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