From 069c96693abed5fc2e6b0b63751448864cb9b796 Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 26 Mar 2019 14:21:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=87=E9=A2=98=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E5=8F=AA=E6=9C=89=E4=B8=80=E4=B8=AA=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B,=20=E6=98=BE=E7=A4=BA=E6=B7=B1=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/common/global.js | 2 +- src/components/recent-game.wpy | 5 ++++- src/pages/index.wpy | 7 +++++-- 4 files changed, 11 insertions(+), 4 deletions(-) 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}} + + +