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}} + - - + + + 拥有游戏: {{my_game_list.length}} + 免费获取游戏 + + + 金币: {{score}} + 免费获取金币 +