Commit 286c6047 authored by 黄奎's avatar 黄奎

页面修改

parent 2487a64d
......@@ -277,6 +277,14 @@
};
},
mounted() {
var newStartDate = new Date();
var newStartDateStr = this.formatDate(newStartDate.getFullYear(), (newStartDate.getMonth() + 1), newStartDate
.getDate());
var newEndDate = this.AddMonth(newStartDateStr, 2)
var newEndDateStr = this.formatDate(newEndDate.getFullYear(), (newEndDate.getMonth() + 1), newEndDate.getDate());
this.searchDate = newStartDateStr;
this.searchEndDate = newEndDateStr;
this.$root.$emit("change-head-style", 2);
document.addEventListener("click", this.clickHandler);
var jObj = JSON.parse(localStorage.getItem('groupinfo'));
......@@ -313,10 +321,14 @@
this.showPopup = true;
},
clickHandler(e) {
if (!document.querySelector("#sb").contains(e.target)) {
this.showSplitPannel = false;
} else if (!document.querySelector("#sp").contains(e.target)) {
this.showCompPannel = false;
try {
if (!document.querySelector("#sb").contains(e.target)) {
this.showSplitPannel = false;
} else if (!document.querySelector("#sp").contains(e.target)) {
this.showCompPannel = false;
}
} catch (error) {
console.log("search_sf1_clickHandler_error", error)
}
},
clickSlideHandler(url) {
......@@ -332,7 +344,7 @@
}
},
searchBlurHandler() {
//this.showSplitPannel = false;
},
clkAreaHandler(i) {
this.crtAreaIndex = i;
......@@ -351,18 +363,8 @@
this.showSplitPannel = false;
this.showCompPannel = false;
},
//跳转到搜索页面
goSearchHandler() {
// if (this.searchKey == "") {
// this.$q.notify({
// color: "negative",
// textColor: "#FFF",
// icon: "report_problem",
// message: "尊敬的客人,請選擇一個目的地吧",
// position: "top",
// timeout: 3000
// });
// }
this.CommonJump('/search', {
qsearchKey: this.searchKey,
qsearchDate: this.searchDate,
......
......@@ -273,10 +273,18 @@
tl: "",
ful: ""
},
RB_Group_Id:0,
RB_Group_Id: 0,
};
},
mounted() {
var newStartDate = new Date();
var newStartDateStr = this.formatDate(newStartDate.getFullYear(), (newStartDate.getMonth() + 1), newStartDate
.getDate());
var newEndDate = this.AddMonth(newStartDateStr, 2)
var newEndDateStr = this.formatDate(newEndDate.getFullYear(), (newEndDate.getMonth() + 1), newEndDate.getDate());
this.searchDate = newStartDateStr;
this.searchEndDate = newEndDateStr;
this.$root.$emit("change-head-style", 2);
document.addEventListener("click", this.clickHandler);
var jObj = JSON.parse(localStorage.getItem('groupinfo'));
......@@ -315,10 +323,14 @@
this.showPopup = true;
},
clickHandler(e) {
if (!document.querySelector("#sb").contains(e.target)) {
this.showSplitPannel = false;
} else if (!document.querySelector("#sp").contains(e.target)) {
this.showCompPannel = false;
try {
if (!document.querySelector("#sb").contains(e.target)) {
this.showSplitPannel = false;
} else if (!document.querySelector("#sp").contains(e.target)) {
this.showCompPannel = false;
}
} catch (error) {
console.log("search_sf2_clickHandler_error", error)
}
},
clickSlideHandler(url) {
......@@ -353,18 +365,9 @@
this.showSplitPannel = false;
this.showCompPannel = false;
},
//跳转到搜索页面
goSearchHandler() {
// if (this.searchKey == "") {
// this.$q.notify({
// color: "negative",
// textColor: "#FFF",
// icon: "report_problem",
// message: "尊敬的客人,請選擇一個目的地吧",
// position: "top",
// timeout: 3000
// });
// }
this.CommonJump('/search', {
this.CommonJump('/search', {
qsearchKey: this.searchKey,
qsearchDate: this.searchDate,
qsearchEndDate: this.searchEndDate,
......
......@@ -277,6 +277,14 @@
};
},
mounted() {
var newStartDate = new Date();
var newStartDateStr = this.formatDate(newStartDate.getFullYear(), (newStartDate.getMonth() + 1), newStartDate
.getDate());
var newEndDate = this.AddMonth(newStartDateStr, 2)
var newEndDateStr = this.formatDate(newEndDate.getFullYear(), (newEndDate.getMonth() + 1), newEndDate.getDate());
this.searchDate = newStartDateStr;
this.searchEndDate = newEndDateStr;
this.$root.$emit("change-head-style", 2);
document.addEventListener("click", this.clickHandler);
......@@ -318,10 +326,14 @@
this.showPopup = true;
},
clickHandler(e) {
if (!document.querySelector("#sb").contains(e.target)) {
this.showSplitPannel = false;
} else if (!document.querySelector("#sp").contains(e.target)) {
this.showCompPannel = false;
try {
if (!document.querySelector("#sb").contains(e.target)) {
this.showSplitPannel = false;
} else if (!document.querySelector("#sp").contains(e.target)) {
this.showCompPannel = false;
}
} catch (error) {
console.log("search_sf3_clickHandler_error", error)
}
},
clickSlideHandler(url) {
......@@ -337,7 +349,7 @@
}
},
searchBlurHandler() {
//this.showSplitPannel = false;
},
clkAreaHandler(i) {
this.crtAreaIndex = i;
......@@ -356,17 +368,9 @@
this.showSplitPannel = false;
this.showCompPannel = false;
},
////跳转到搜索页面
goSearchHandler() {
// if (this.searchKey == "") {
// this.$q.notify({
// color: "negative",
// textColor: "#FFF",
// icon: "report_problem",
// message: "尊敬的客人,請選擇一個目的地吧",
// position: "top",
// timeout: 3000
// });
// }
this.CommonJump('/search', {
qsearchKey: this.searchKey,
qsearchDate: this.searchDate,
......
......@@ -848,10 +848,10 @@
endDate: "", //结束日期
lineId: 0, //线路编号
lineTeamId: 0, //系列编号
minPrice: -1, //最低价格
maxPrice: -1, //最高价格
minTripDay: -1, //最低行程条数
maxTripDay: -1, //最高行程天数
minPrice: "", //最低价格
maxPrice: "", //最高价格
minTripDay: "", //最低行程条数
maxTripDay: "", //最高行程天数
orderByDate: 0,
orderByPrice: 0,
orderBySales: 0,
......
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