Commit 02c183b7 authored by lixy's avatar lixy

关于欣新定位

parent 588e5b7f
......@@ -187,10 +187,14 @@
* 切换历史
*/
changeArea(id){
this.barFixed = true;
let top = document.querySelector('#'+id).offsetTop;
if(id == "history01"){
if(this.barFixed){
document.documentElement.scrollTop = top - 220;
} else {
document.documentElement.scrollTop = top - 301;
}
this.tabIndex = 0;
} else if(id == "history02"){
this.tabIndex = 1;
......@@ -202,6 +206,7 @@
this.tabIndex = 3;
document.documentElement.scrollTop = top - 260;
}
this.barFixed = true;
},
// 点击下一页回调
prev () {
......
......@@ -112,13 +112,9 @@
this.bannerList = banner;
},
chooseSelect(e) {
console.log(e.target.value);
this.listQuery.type = e.target.value;
this.getAll();
},
goDetails() {
console.log(2222222);
},
async getAll() {
let {
data: { data }
......
......@@ -62,20 +62,14 @@
},
data() {
return {
typeId: "营地类型",
dataType: [],
totalCount: "",
dataDetail: [],
bannerList: [],//车型banner列表
bannerList: [],//banner列表
listQuery: {
type: "",
pageNo: 1,
pageSize: 6
},
store: "",
curId: 0,
items1: {},
curId1: 0,
looptime: 4000, // 循环时间
width: 400,
height:200,
......@@ -117,9 +111,6 @@
this.listQuery.type = e.target.value;
this.getAll();
},
goDetails() {
console.log(2222222);
},
async getAll() {
let {
data: { data }
......
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