|
@@ -1005,7 +1005,7 @@ export default {
|
|
|
let { filters } = this.$route.params
|
|
|
if (!filters) {
|
|
|
// 取标讯详情页-推荐项目模块-查看更多 跳转过来带的筛选条件
|
|
|
- filters = this.$storage.get('bidding-search-filters-restore', false, {
|
|
|
+ filters = this.$storage.get('sun-search-filters-restore', false, {
|
|
|
storage: sessionStorage,
|
|
|
login: true
|
|
|
})
|
|
@@ -1367,9 +1367,11 @@ export default {
|
|
|
this.toggleSearchBlurData.count = ''
|
|
|
|
|
|
if (searchMode === 0) {
|
|
|
- const canAutoToggleBlurMode = count < 1 && blurCount > count
|
|
|
- const canShowToggleBlurModeTip =
|
|
|
- count >= 1 && count < 50 && blurCount > count
|
|
|
+ // const canAutoToggleBlurMode = count < 1 && blurCount > count
|
|
|
+ // const canShowToggleBlurModeTip =
|
|
|
+ // count >= 1 && count < 50 && blurCount > count
|
|
|
+ const canAutoToggleBlurMode = count < 1
|
|
|
+ const canShowToggleBlurModeTip = count >= 1 && count < 50
|
|
|
|
|
|
if (canShowToggleBlurModeTip) {
|
|
|
this.toggleSearchBlurData.show = true
|
|
@@ -1456,7 +1458,7 @@ export default {
|
|
|
if (item.buyerPerson === markText || item.buyerTel === markText) {
|
|
|
buyerPersonTelText = markText
|
|
|
} else {
|
|
|
- buyerPersonTelText = `${item.buyerPerson || ''} ${item.buyerTel || ''}`
|
|
|
+ buyerPersonTelText = `${item.buyerPerson || ''} ${item.buyerTel || ''}`.trim()
|
|
|
}
|
|
|
|
|
|
// 详细列表数据
|
|
@@ -1964,7 +1966,7 @@ export default {
|
|
|
cachedArr = defaultScope
|
|
|
}
|
|
|
// 持久存储scope
|
|
|
- this.$storage.set('biddingSearchScopePrevSelected', cachedArr)
|
|
|
+ this.$storage.set('sunSearchScopePrevSelected', cachedArr)
|
|
|
},
|
|
|
// url取参判断当前是否强制不走缓存
|
|
|
checkIsDisabledCache() {
|
|
@@ -2011,7 +2013,7 @@ export default {
|
|
|
},
|
|
|
// 恢复以前选过的scope
|
|
|
restoreDefaultScope() {
|
|
|
- const scope = this.$storage.get('biddingSearchScopePrevSelected', false)
|
|
|
+ const scope = this.$storage.get('sunSearchScopePrevSelected', false)
|
|
|
if (Array.isArray(scope) && scope.length) {
|
|
|
this.conf.defaultFilterState.scope = scope
|
|
|
}
|
|
@@ -2172,17 +2174,21 @@ export default {
|
|
|
this.scrollStatus = scrollTop < 60
|
|
|
},
|
|
|
onListTabClick(name) {
|
|
|
- if (!this.isLogin) {
|
|
|
- if (name === 'detailedList') {
|
|
|
- return this.toLogin()
|
|
|
- }
|
|
|
- }
|
|
|
- const isPass = this.beforeTabActiveChange(name)
|
|
|
- if (isPass) {
|
|
|
- this.pageState.listTabActive = name
|
|
|
- this.onListTabChange(name)
|
|
|
- this.showPopover = false
|
|
|
- }
|
|
|
+ // if (!this.isLogin) {
|
|
|
+ // if (name === 'detailedList') {
|
|
|
+ // return this.toLogin()
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // const isPass = this.beforeTabActiveChange(name)
|
|
|
+ // if (isPass) {
|
|
|
+ // this.pageState.listTabActive = name
|
|
|
+ // this.onListTabChange(name)
|
|
|
+ // this.showPopover = false
|
|
|
+ // }
|
|
|
+
|
|
|
+ this.pageState.listTabActive = name
|
|
|
+ this.onListTabChange(name)
|
|
|
+ this.showPopover = false
|
|
|
},
|
|
|
// 清空已选筛选条件,恢复到默认值
|
|
|
onClearFilter() {
|