diff --git a/pages/index/detail/index.wxml b/pages/index/detail/index.wxml index b7f5cc0..e157f6d 100644 --- a/pages/index/detail/index.wxml +++ b/pages/index/detail/index.wxml @@ -1,28 +1,28 @@ - + - - - - - - - - {{data.merchantName}} - {{data.title}} - - - - + + + + + + {{data.merchantName}} + {{data.title}} + + + + - - - - - 商户位置 - - - {{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}} - {{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}.. - 详情 > - - - - - - - 联系商户 - - - + + + + + 商户位置 + + + {{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}} + {{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}.. + 详情 > + + + + + + + 联系商户 + + + {{data.merchantLinkPhone}} - - - - - - - - 商户简介 - - - - {{data.summary}} - {{"信息完善中,敬请期待。"}} - - + + + + + + + 商户简介 + + + + {{data.summary}} + {{"信息完善中,敬请期待。"}} + + + \ No newline at end of file diff --git a/pages/index/index.js b/pages/index/index.js index 18347ef..d24966e 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -385,8 +385,21 @@ Page({ url: '/pages/game/index?url=' + res.data.url + "&id=" + res.data.id + "&gameId=" + res.data.gameId, }) }) - .catch(err => { - this.alphaClick(); + .catch(err => { + wx.showModal({ + title: '提示', + content: err.message, + showCancel: false, + success:function(res){ + // 如果游戏下架或者找不到,重启首页 + if (res.confirm){ + wx.reLaunch({ + url: '/pages/index/index', + }) + } + } }) + this.alphaClick(); + }) }, }) \ No newline at end of file diff --git a/pages/main/bargain/index.wxml b/pages/main/bargain/index.wxml index 8c1959d..97312b5 100644 --- a/pages/main/bargain/index.wxml +++ b/pages/main/bargain/index.wxml @@ -1,4 +1,4 @@ - + 砍价专场更多砍价> diff --git a/pages/main/index.wxss b/pages/main/index.wxss index d49e804..992b121 100644 --- a/pages/main/index.wxss +++ b/pages/main/index.wxss @@ -256,8 +256,7 @@ height:100%; } .duihuanimg{ display: block; - width: 85rpx; - height: 61rpx; + width: 48rpx; margin-top: 6rpx; } .product{ diff --git a/pages/main/spellGroup/index.wxml b/pages/main/spellGroup/index.wxml index 9ed8149..929ced8 100644 --- a/pages/main/spellGroup/index.wxml +++ b/pages/main/spellGroup/index.wxml @@ -1,4 +1,4 @@ - + 拼团专场更多拼团> diff --git a/utils/imgurl.js b/utils/imgurl.js index caeab86..d90a037 100644 --- a/utils/imgurl.js +++ b/utils/imgurl.js @@ -542,7 +542,7 @@ module.exports = { 'name': '拼团小图标' }, 'duihuan': { - 'url': baseUrl + 'lqcduihuan.png', + 'url': baseUrl + 'lqcduihuan1.png', 'name': '兑换小图标' }, 'wangmeimeibargin':{