|
@@ -667,9 +667,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
getContentAdID() {
|
|
|
- // const { inWX } = this.$envs
|
|
|
- const { platform } = this.$env
|
|
|
- return `${platform}-sunlightlist-search-middle`
|
|
|
+ const { inWX } = this.$envs
|
|
|
+ const prefix = inWX ? 'wx' : 'app'
|
|
|
+ return `${prefix}-sunlightlist-search-middle`
|
|
|
},
|
|
|
savedFilterListCount() {
|
|
|
return this.pageState.savedFilterList.length
|
|
@@ -824,8 +824,8 @@ export default {
|
|
|
// 历史筛选恢复会覆盖url参数
|
|
|
this.restoreStateFromRouteParams()
|
|
|
this.calcInitFilters()
|
|
|
- this.calcDropdownMenuMaxHeight()
|
|
|
this.$nextTick(() => {
|
|
|
+ this.calcDropdownMenuMaxHeight()
|
|
|
const scrollWrap = this.$refs.listContainer
|
|
|
scrollWrap.addEventListener('scroll', throttle(this.scrollWrapFn, 300))
|
|
|
})
|