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;