Commit 0fdb1b72 authored by 华国豪's avatar 华国豪 🙄

1

parent 241cf99b
......@@ -659,7 +659,7 @@
reserve-keyword
placeholder="输入目的地/景点/关键字,搜索您需要的信息.."
:remote-method="searchKey"
@focus="inputActive = true, changeId = '', queryStr = '', searchList = ''"
@focus="inputActive = true, changeId = '', queryStr = '', searchList = []"
@change='getSelect'
:loading="loading2">
<el-option
......@@ -684,7 +684,7 @@
搜索
</div>
</div>
<div v-show="inputActive && queryStr == ''" class="inputActive" @click.stop>
<div v-show="inputActive && queryStr == '' && searchList.length < 1" class="inputActive" @click.stop>
<el-row v-if="CCList.length>0 ">
<el-col :span="6">
<div class="city-tag __cp" v-for="(item, index) in CCList" @click="CCListActive = index" :class="{'active': CCListActive == index}" :key="index" >
......@@ -872,7 +872,7 @@
<div class="jingxuanbg">
<img :onerror="defaultImg" src="../../assets/img/freeHome/jingxuanbg.png" alt="">
</div>
<div class="jinxuan-time">
<div class="jinxuan-time" v-if="item.sale_dates.saleDt">
<span class="number">{{getMonth(item.sale_dates.saleDt[0].sale_day)}}</span><span class="text"></span><span class="number number2"> {{getDay(item.sale_dates.saleDt[0].sale_day)}}</span><span class="text"></span>
</div>
</div>
......@@ -1137,7 +1137,7 @@ export default {
},
goDetails(obj, type){
let dom = document.querySelector("#blankLink")
let fullPath = `/FreeDetail?id=${type ? obj.pkg_no : obj.prod_url_no}`;
let fullPath = `/FreeDetail?id=${type ? obj.pkg_no : obj.prod_no}`;
dom.href=`http://${window.location.host}/#${fullPath}`
//console.log(that.$refs.blankLink.click())
dom.click()
......@@ -1146,7 +1146,7 @@ export default {
this.$router.push({
name: "FreeDetail",
query: {
id: type ? obj.pkg_no : obj.prod_url_no,
id: type ? obj.prod_no : obj.prod_no,
}
});
},
......@@ -1294,12 +1294,12 @@ export default {
},
res => {
if (res.data.resultCode === 1) {
// let data = res.data.data
// console.log(data)
// for(let i = 0; i < data.length ; i ++){
// data[i].url = TaoCanIds[i].url
// }
// this.TaoCanList = data
let data = res.data.data
console.log(data)
for(let i = 0; i < data.length ; i ++){
data[i].url = TaoCanIds[i].url
}
this.TaoCanList = data
} else {
this.Error(res.data.message);
}
......
......@@ -942,7 +942,7 @@ export default {
goDetails(obj){
console.log(obj)
let dom = document.querySelector("#blankLink")
let fullPath = `/FreeDetail?id=${obj.prod_url_no}`;
let fullPath = `/FreeDetail?id=${obj.prod_no}`;
dom.href=`http://${window.location.host}/#${fullPath}`
//console.log(that.$refs.blankLink.click())
dom.click()
......@@ -950,7 +950,7 @@ export default {
this.$router.push({
name: "FreeDetail",
query: {
id: obj.prod_url_no,
id: obj.prod_no,
}
});
},
......
......@@ -1012,7 +1012,7 @@ export default {
},
goDetails(obj){
let dom = document.querySelector("#blankLink")
let fullPath = `/FreeDetail?id=${obj.prod_url_no}`;
let fullPath = `/FreeDetail?id=${obj.prod_no}`;
dom.href=`http://${window.location.host}/#${fullPath}`
//console.log(that.$refs.blankLink.click())
dom.click()
......@@ -1020,7 +1020,7 @@ export default {
this.$router.push({
name: "FreeDetail",
query: {
id: obj.prod_url_no,
id: obj.prod_no,
}
});
},
......
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