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

1

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