Browse Source

[首页游戏][修改]:首页游戏跳转方式的修改

tags/2.2.7
meo 6 years ago
parent
commit
0b1e9c9b76
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      pages/index/index.js
  2. +3
    -3
      pages/index/index.wxss

+ 1
- 1
pages/index/index.js View File

@@ -40,7 +40,7 @@ Page({
couponId: "" + that.data.couponId 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, url: '/pages/game/index?url=' + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId,
}) })
}) })


+ 3
- 3
pages/index/index.wxss View File

@@ -27,7 +27,7 @@ page {
width: 690rpx; width: 690rpx;
height: 140rpx; height: 140rpx;
margin: 0 auto; margin: 0 auto;
border-radius: 20rpx;
border-radius: 14rpx;
box-shadow: 1px 4px 20px #C4C4C4; box-shadow: 1px 4px 20px #C4C4C4;
} }
.game { .game {
@@ -41,8 +41,8 @@ page {
.gameimg{ .gameimg{
position: absolute; position: absolute;
right: 25rpx; right: 25rpx;
top: 0rpx;
width: 220rpx;
top: -14rpx;
width: 250rpx;
} }
.game text { .game text {
display: block; display: block;


Loading…
Cancel
Save