|
@@ -7,12 +7,27 @@ var page = {
|
|
|
entBuyerInfoList.init()
|
|
|
textTagListShowMore.init()
|
|
|
loading.init()
|
|
|
- this.changeTopNavTheme(!!templateData.areaTopTitle)
|
|
|
this.initEvents()
|
|
|
+ this.changeTopNavTheme(!!templateData.areaTopTitle)
|
|
|
this.clearSessionStorages()
|
|
|
},
|
|
|
initEvents: function () {
|
|
|
this.initFooterPhoneCall()
|
|
|
+ // this.showAppFooterNavs()
|
|
|
+ },
|
|
|
+ showAppFooterNavs: function () {
|
|
|
+ var isInHomePage = location.pathname === '/jyapp/jylab/mainSearch'
|
|
|
+ if (utils.$envs.inApp) {
|
|
|
+ setTimeout(function () {
|
|
|
+ try {
|
|
|
+ if (isInHomePage) {
|
|
|
+ JyObj.hiddenBottom('1')
|
|
|
+ }
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error)
|
|
|
+ }
|
|
|
+ }, 10)
|
|
|
+ }
|
|
|
},
|
|
|
clearSessionStorages: function () {
|
|
|
localStorage.removeItem('JY-MOBILE-home-top-search')
|