This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
[首页游戏][修改]:首页游戏跳转方式的修改
tags/2.2.7
meo
6 years ago
parent
1038985c8e
commit
0b1e9c9b76
2 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
pages/index/index.js
+3
-3
pages/index/index.wxss
+ 1
- 1
pages/index/index.js
View File
@@ -40,7 +40,7 @@ Page({
couponId: "" + that.data.couponId
};
}
wx.
redirect
To({
wx.
navigate
To({
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;
height: 140rpx;
margin: 0 auto;
border-radius:
20
rpx;
border-radius:
14
rpx;
box-shadow: 1px 4px 20px #C4C4C4;
}
.game {
@@ -41,8 +41,8 @@ page {
.gameimg{
position: absolute;
right: 25rpx;
top:
0
rpx;
width: 2
2
0rpx;
top:
-14
rpx;
width: 2
5
0rpx;
}
.game text {
display: block;
Write
Preview
Loading…
Cancel
Save