diff --git a/pages/index/index.js b/pages/index/index.js index 340bf5a..2a93585 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -40,7 +40,7 @@ Page({ couponId: "" + that.data.couponId }; } - wx.redirectTo({ + wx.navigateTo({ url: '/pages/game/index?url=' + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId, }) }) diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 1c061ce..921e98e 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -27,7 +27,7 @@ page { width: 690rpx; height: 140rpx; margin: 0 auto; - border-radius: 20rpx; + border-radius: 14rpx; box-shadow: 1px 4px 20px #C4C4C4; } .game { @@ -41,8 +41,8 @@ page { .gameimg{ position: absolute; right: 25rpx; - top: 0rpx; - width: 220rpx; + top: -14rpx; + width: 250rpx; } .game text { display: block;