diff --git a/package.json b/package.json index 153ca0b..2eb6253 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "less": "^3.8.1", "wepy-compiler-babel": "^1.5.3", "wepy-compiler-less": "^1.3.14", + "wepy-plugin-imagemin": "^1.5.3", "wepy-plugin-uglifyjs": "^1.3.7" } } diff --git a/src/common/global.js b/src/common/global.js index 0616bf1..1a81912 100644 --- a/src/common/global.js +++ b/src/common/global.js @@ -1,4 +1,4 @@ -const env = 'test'; //product, test +const env = 'product'; //product, test export default { env: env, // apiBase: env === 'test'? 'http://192.168.100.226' : 'https://ghost.kingsome.cn', diff --git a/src/components/recent-game.wpy b/src/components/recent-game.wpy index bfe19ba..a4d9681 100644 --- a/src/components/recent-game.wpy +++ b/src/components/recent-game.wpy @@ -55,6 +55,9 @@ color: #777777; position: relative; } + .one-selected { + color: #777777; + } .selected::after{ position: absolute; left: 15px; @@ -70,7 +73,7 @@ - {{titleStr}} + {{titleStr}} diff --git a/src/pages/index.wpy b/src/pages/index.wpy index 5808c1f..0a6fd70 100644 --- a/src/pages/index.wpy +++ b/src/pages/index.wpy @@ -27,9 +27,12 @@ {{vip_btn_title}} - 获取游戏 + 免费获取游戏 金币: {{score}} + + +