search列表根据配置显示隐藏相关元素
This commit is contained in:
parent
b856cc8bb9
commit
f53c9c4445
@ -1,6 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
apiBase: 'http://192.168.100.232',
|
// apiBase: 'http://192.168.100.232',
|
||||||
// apiBase: 'https://ghost-test.kingsome.cn',
|
apiBase: 'https://ghost-test.kingsome.cn',
|
||||||
hostBase: 'https://pay.kingsome.cn',
|
hostBase: 'https://pay.kingsome.cn',
|
||||||
//游戏页面根路径
|
//游戏页面根路径
|
||||||
gameBase: 'http://192.168.100.232',
|
gameBase: 'http://192.168.100.232',
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<repeat for="{{records}}" item="item" >
|
<repeat for="{{records}}" item="item" >
|
||||||
<recordCell :item="item" @gameCellTap.user="gameTap"/>
|
<recordCell :item="item" @gameCellTap.user="gameTap" :showAll.sync = 'showAll'/>
|
||||||
</repeat>
|
</repeat>
|
||||||
<zanLoadmore :loading.sync="loading" :nodata.sync="noData" :nomore.sync="noMore" nodata_str="暂无数据"></zanLoadmore>
|
<zanLoadmore :loading.sync="loading" :nodata.sync="noData" :nomore.sync="noMore" nodata_str="暂无数据"></zanLoadmore>
|
||||||
<toast/>
|
<toast/>
|
||||||
@ -80,7 +80,8 @@
|
|||||||
type: 0,
|
type: 0,
|
||||||
languageArr: ['所有语言', '中文', '简体中文', '繁体中文', '英文', '日文', '多国语言', '德文', '法文', '欧洲', '其他'],
|
languageArr: ['所有语言', '中文', '简体中文', '繁体中文', '英文', '日文', '多国语言', '德文', '法文', '欧洲', '其他'],
|
||||||
typeArr: g.gameTypes,
|
typeArr: g.gameTypes,
|
||||||
typeName: '所有类型'
|
typeName: '所有类型',
|
||||||
|
showAll: false
|
||||||
};
|
};
|
||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
@ -148,7 +149,8 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
onShow() {
|
onShow() {
|
||||||
|
let cfg = wepy.getStorageSync('cfg');
|
||||||
|
this.showAll = !cfg ? false : !cfg.hide_main;
|
||||||
}
|
}
|
||||||
initPageParam() {
|
initPageParam() {
|
||||||
this.all_count = 999;
|
this.all_count = 999;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user