Commit ccf14a5d authored by 黄奎's avatar 黄奎

页面修改

parent c33bfb8b
......@@ -57,7 +57,6 @@
}
}
this.$refs.WebSiteEdit.initData(this.postMsg.AboutDataList);
console.log("this.postMsg", this.postMsg);
} else {
this.Error(res.data.message);
}
......
......@@ -339,7 +339,6 @@
},
methods: {
dragendLeft(e, item) {
console.log("dragendLeft", e);
var obj = {
Id: item.TemplateKey,
plugData: item.TemplateData,
......@@ -350,26 +349,22 @@
},
//右边上下拖动开始
handleDragStart(e, item) {
console.log("handleDragStart")
if (this.isDraggable) {
this.dragging = item;
}
},
handleDragEnd(e, item) {
console.log("handleDragEnd")
if (this.isDraggable) {
this.dragging = null
}
},
//首先把div变成可以放置的元素,即重写dragenter/dragover
handleDragOver(e) {
console.log("handleDragOver")
if (this.isDraggable) {
e.dataTransfer.dropEffect = 'move' // e.dataTransfer.dropEffect="move";//在dragenter中针对放置目标来设置!
}
},
handleDragEnter(e, item) {
console.log("handleDragEnter")
if (this.isDraggable) {
e.dataTransfer.effectAllowed = "move" //为需要移动的元素设置dragstart事件
if (item === this.dragging) {
......@@ -413,7 +408,6 @@
},
//从左拖动到右边开始
dragLeftStart(ev, item) {
console.log("dragLeftStart")
this.isDraggable = false;
var obj = {
Id: item.TemplateKey,
......@@ -430,8 +424,6 @@
},
//从左拖动到右边结束
drop(ev, index) {
console.log("ev", ev);
console.log("index", index);
if (!this.isDraggable) {
this.dataList.splice(index, 0, JSON.parse(JSON.stringify(this.dragObj)));
}
......
......@@ -57,7 +57,6 @@
}
}
this.$refs.WebSiteEdit.initData(this.postMsg.HomeDataList);
console.log("this.postMsg", this.postMsg);
} else {
this.Error(res.data.message);
}
......
......@@ -401,9 +401,6 @@
}
});
}
console.log("this.TripBgImgItem", this.TripBgImgItem);
console.log("this.TripBottonItem", this.TripBottonItem);
console.log("this.OtherList", this.OtherList);
}
} else {
this.Error(res.data.message);
......
......@@ -54,7 +54,6 @@
res => {
if (res.data.resultCode == 1) {
var tempData = res.data.data;
console.log(tempData,'data');
this.postMsg.PageDataList = tempData.PageDataList;
this.postMsg.Id = tempData.Id;
this.postMsg.PageName = tempData.PageName;
......@@ -91,7 +90,6 @@
err => {}
);
},
//获取模板数据
getNewTemplateData(templateDataList) {
this.postMsg.PageDataList = templateDataList;
......
......@@ -199,7 +199,6 @@
DayNum: item.DayNum,
Price: item.B2BPrice,
};
console.log(obj);
this.plugData.Details[this.clickIndex].TripImageUrl = obj.imgUrl;
this.plugData.Details[this.clickIndex].Price = obj.Price;
this.plugData.Details[this.clickIndex].DayNum = obj.DayNum;
......@@ -210,7 +209,6 @@
},
},
mounted() {
console.log(this.plugData, 'plugData');
},
};
......
......@@ -105,7 +105,7 @@
}
},
mounted() {
console.log(this.plugData, 'plugin');
},
};
......
......@@ -139,10 +139,8 @@
this.plugData.Details[this.checkIndex].ImageUrl=imgUrl;
});
}
},
mounted() {
console.log(this.plugData, 'plugData');
},
};
......
......@@ -121,10 +121,8 @@
});
}
},
},
mounted() {
console.log(this.plugData, 'plugData');
},
};
......
......@@ -103,10 +103,8 @@
this.plugData.Details[this.checkIndex].ImageUrl = imgUrl;
});
}
},
mounted() {
console.log(this.plugData, 'plugData');
},
};
......
......@@ -103,10 +103,8 @@
this.plugData.Details[this.checkIndex].ImageUrl=imgUrl;
});
}
},
mounted() {
console.log(this.plugData, 'plugData');
},
};
......
......@@ -97,7 +97,7 @@
};
},
created() {
console.log("plugData", this.plugData);
},
methods: {
//上传图片
......
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