Commit 02e79d83 authored by youjie's avatar youjie

检索道旅

parent 2c44dd98
<template>
<!--搜尋輪播淡出 - 中-->
<div class="banner-style9">
<div class="banner-style9" v-if="!hideSearch">
<div
class="search-content column items-center justify-center rounded-borders"
style="border-radius: 6px"
......@@ -346,6 +346,7 @@ export default {
ful: "",
},
RB_Group_Id: 0,
hideSearch: false,
};
},
created() {
......@@ -392,10 +393,12 @@ export default {
handler(to, from) {
if(to.path.indexOf('searchdida')!=-1||to.path.indexOf('searchDida')!=-1||to.path.indexOf('detailHotalDida')!=-1){
this.getHotalHotList()
this.hideSearch = true
}else{
var jObj = JSON.parse(window.localStorage.getItem('baseifo'));
const hotList = this.getHotList(jObj.AreaList)
this.hotList = hotList
this.hideSearch = false
}
},
deep: true,
......
......@@ -410,7 +410,8 @@ export default {
// x.CityList.forEach(y => {
// if(index) this.CitiesListAll.push(y)
// })
if(index) this.CitiesList.push(x)
// if(index)
this.CitiesList.push(x)
})
this.GNameActive = this.CitiesList[0].GName
this.CityList = this.CitiesList[0].CityList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment