From 0b1e9c9b76130485e659d66cec0819ee21579123 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 25 Oct 2018 17:17:52 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5=E6=B8=B8=E6=88=8F][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]:=E9=A6=96=E9=A1=B5=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=96=B9=E5=BC=8F=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 2 +- pages/index/index.wxss | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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;