浏览代码

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

tags/2.2.7
meo 6 年前
父节点
当前提交
0b1e9c9b76
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. +1
    -1
      pages/index/index.js
  2. +3
    -3
      pages/index/index.wxss

+ 1
- 1
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,
})
})


+ 3
- 3
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;


正在加载...
取消
保存