From f53c9c44452565b73eb0e003893e44a2a12d9ef3 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 21 Feb 2019 17:30:12 +0800 Subject: [PATCH] =?UTF-8?q?search=E5=88=97=E8=A1=A8=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=98=BE=E7=A4=BA=E9=9A=90=E8=97=8F=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=85=83=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/global.js | 4 ++-- src/pages/search.wpy | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/common/global.js b/src/common/global.js index 9b36249..0824e08 100644 --- a/src/common/global.js +++ b/src/common/global.js @@ -1,6 +1,6 @@ export default { - apiBase: 'http://192.168.100.232', - // apiBase: 'https://ghost-test.kingsome.cn', + // apiBase: 'http://192.168.100.232', + apiBase: 'https://ghost-test.kingsome.cn', hostBase: 'https://pay.kingsome.cn', //游戏页面根路径 gameBase: 'http://192.168.100.232', diff --git a/src/pages/search.wpy b/src/pages/search.wpy index f7f94a9..a7f1fb3 100644 --- a/src/pages/search.wpy +++ b/src/pages/search.wpy @@ -35,7 +35,7 @@ - + @@ -80,7 +80,8 @@ type: 0, languageArr: ['所有语言', '中文', '简体中文', '繁体中文', '英文', '日文', '多国语言', '德文', '法文', '欧洲', '其他'], typeArr: g.gameTypes, - typeName: '所有类型' + typeName: '所有类型', + showAll: false }; methods = { @@ -148,7 +149,8 @@ }); } onShow() { - + let cfg = wepy.getStorageSync('cfg'); + this.showAll = !cfg ? false : !cfg.hide_main; } initPageParam() { this.all_count = 999;