diff --git a/src/common/global.js b/src/common/global.js
index 186523b..0616bf1 100644
--- a/src/common/global.js
+++ b/src/common/global.js
@@ -1,6 +1,7 @@
const env = 'test'; //product, test
export default {
env: env,
+ // apiBase: env === 'test'? 'http://192.168.100.226' : 'https://ghost.kingsome.cn',
apiBase: env === 'test'? 'https://ghost-test.kingsome.cn' : 'https://ghost.kingsome.cn',
cdnBase: 'https://h5games-al.kingsome.cn/emulator-static/',
version: '1.0.0',
diff --git a/src/components/recent-game.wpy b/src/components/recent-game.wpy
index 93191ea..5594e66 100644
--- a/src/components/recent-game.wpy
+++ b/src/components/recent-game.wpy
@@ -1,5 +1,9 @@
-
+
{{titleStr}}
- |
+
@@ -67,7 +89,7 @@
props = {
gameList: [],
titleList: [],
- idx: {type: Number, default: -1}
+ idx: {type: Number, default: 0}
}
data = {
diff --git a/src/pages/index.wpy b/src/pages/index.wpy
index c7d4fb3..5808c1f 100644
--- a/src/pages/index.wpy
+++ b/src/pages/index.wpy
@@ -40,10 +40,12 @@
热门游戏
搜索
-
-
-
-
+
+
+
+
+
+
diff --git a/src/style/game-cell.wxss b/src/style/game-cell.wxss
index 6d458ed..bae5d77 100644
--- a/src/style/game-cell.wxss
+++ b/src/style/game-cell.wxss
@@ -2,8 +2,8 @@
display: flex;
flex-flow: row nowrap;
padding: 5px;
- border-bottom: 1px solid #eee;
width: 750rpx;
+ position: relative;
}
.game-cell .game-icon {
margin-right:10px;
@@ -53,11 +53,11 @@
}
.game-cell::after {
position: absolute;
- left: 15rpx;
+ left: 10px;
right: 0;
bottom: 0;
- border-top: 1rpx solid #e5e5e5;
- background: #e5e5e5;
+ border-top: 1rpx solid #eee;
+ background: #eee;
content: ' ';
}
.left-btn {
diff --git a/src/style/index.wxss b/src/style/index.wxss
index e44beb2..4e268e0 100644
--- a/src/style/index.wxss
+++ b/src/style/index.wxss
@@ -1,6 +1,9 @@
page {
overflow-x: hidden;
}
+.container {
+ background-color: #EFEFF4;
+}
.userinfo {
display: flex;
align-items: center;
@@ -32,7 +35,7 @@ page {
background-color: #fff;
z-index: 2;
width: 750rpx;
- margin-bottom:15px;
+ margin-bottom:8px;
}
.zan-loadmore--nodata {
@@ -43,7 +46,27 @@ page {
justify-content: space-between;
font-size:30rpx;
width: 750rpx;
- background-color:#EFEFF4;
+ background-color:#ffffff;
+ margin-bottom:1px;
+ margin-top: 1px;
+}
+.list-title::after{
+ position: absolute;
+ left: 15rpx;
+ right: 0;
+ bottom: 0;
+ border-top: 1rpx solid #e5e5e5;
+ background: #e5e5e5;
+ content: ' ';
+}
+.list-title::before{
+ position: absolute;
+ left: 15rpx;
+ right: 0;
+ bottom: 0;
+ border-top: 1rpx solid #e5e5e5;
+ background: #e5e5e5;
+ content: ' ';
}
.list-title .left{
margin-left:10rpx;
@@ -86,4 +109,7 @@ page {
margin-left: 8px;
margin-right: 8px;
}
+.record-list {
+ background-color: white;
+}