From e9a3cc700c4ea732e9ff2a27caa945e7b3e29042 Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 26 Mar 2019 15:44:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.config.json | 2 +- src/common/global.js | 2 +- src/pages/index.wpy | 63 ++++++++++++++++++++++++++++++-------------- src/style/index.wxss | 44 +++++++++++++++++++++++++++++-- 4 files changed, 87 insertions(+), 24 deletions(-) diff --git a/project.config.json b/project.config.json index c834c52..9896e7e 100644 --- a/project.config.json +++ b/project.config.json @@ -1,7 +1,7 @@ { "description": "A WePY project", "setting": { - "urlCheck": true, + "urlCheck": false, "es6": false, "postcss": false, "minified": false, diff --git a/src/common/global.js b/src/common/global.js index 1a81912..0616bf1 100644 --- a/src/common/global.js +++ b/src/common/global.js @@ -1,4 +1,4 @@ -const env = 'product'; //product, test +const env = 'test'; //product, test export default { env: env, // apiBase: env === 'test'? 'http://192.168.100.226' : 'https://ghost.kingsome.cn', diff --git a/src/pages/index.wpy b/src/pages/index.wpy index 1a14b8b..28e0027 100644 --- a/src/pages/index.wpy +++ b/src/pages/index.wpy @@ -12,26 +12,31 @@ {{ nickname }} - - - {{expire_str}} - - {{vip_btn_title}} - - 免费获取游戏 - 金币: {{score}} + + + {{vip_btn_title}} + + {{expire_str}} + - - +