合并冲突
This commit is contained in:
@ -135,11 +135,7 @@ export default {
|
|||||||
}
|
}
|
||||||
express(params)
|
express(params)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
<<<<<<< HEAD
|
|
||||||
this.logisticsList = res.data.traces.reverse()
|
|
||||||
=======
|
|
||||||
this.logisticsList = res.data.Traces.reverse();
|
this.logisticsList = res.data.Traces.reverse();
|
||||||
>>>>>>> 11d6bda8681ad955f5e73286c3478a238ee58593
|
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -69,7 +69,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted: function() {
|
mounted: function() {
|
||||||
// document.addEventListener("scroll", this.onScroll, false);
|
|
||||||
this.loadCategoryData();
|
this.loadCategoryData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -89,7 +88,6 @@ export default {
|
|||||||
this.category.forEach((cate, i) => {
|
this.category.forEach((cate, i) => {
|
||||||
if (cate.id === n) index = i;
|
if (cate.id === n) index = i;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (index !== this.navActive) {
|
if (index !== this.navActive) {
|
||||||
this.asideTap(index);
|
this.asideTap(index);
|
||||||
}
|
}
|
||||||
@ -117,11 +115,8 @@ export default {
|
|||||||
asideTap(index) {
|
asideTap(index) {
|
||||||
this.navActive = index;
|
this.navActive = index;
|
||||||
}
|
}
|
||||||
},
|
|
||||||
beforeDestroy: function() {
|
|
||||||
// document.removeEventListener("scroll", this.onScroll, false);
|
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style >
|
<style >
|
||||||
|
@ -83,7 +83,6 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {},
|
props: {},
|
||||||
data: function() {
|
data: function() {
|
||||||
// const { s = "", id = 0, title = "" } = this.$yroute.query;
|
|
||||||
const s = '',
|
const s = '',
|
||||||
id = 0,
|
id = 0,
|
||||||
title = ''
|
title = ''
|
||||||
@ -129,21 +128,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
$yroute(to) {
|
$yroute(to) {
|
||||||
// if (to.name !== "GoodsList") return;
|
|
||||||
// const { s = "", id = 0, title = "" } = to.query;
|
|
||||||
// if (s !== this.where.keyword || id !== this.where.sid) {
|
|
||||||
// this.where.keyword = s;
|
|
||||||
// this.loadend = false;
|
|
||||||
// this.loading = false;
|
|
||||||
// this.where.page = 1;
|
|
||||||
// this.where.sid = id;
|
|
||||||
// this.title = title && id ? title : "";
|
|
||||||
// this.nows = false;
|
|
||||||
// this.$set(this, "productList", []);
|
|
||||||
// this.price = 0;
|
|
||||||
// this.stock = 0;
|
|
||||||
// this.getProductList();
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted: function() {
|
mounted: function() {
|
||||||
@ -160,24 +144,6 @@ export default {
|
|||||||
!this.loading && this.getProductList()
|
!this.loading && this.getProductList()
|
||||||
},
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
// this.hostProduct = [];
|
|
||||||
// this.productList = [];
|
|
||||||
// this.Switch = true;
|
|
||||||
// this.where = {
|
|
||||||
// page: 1,
|
|
||||||
// limit: 8,
|
|
||||||
// keyword: s,
|
|
||||||
// sid: id, //二级分类id
|
|
||||||
// news: 0,
|
|
||||||
// priceOrder: "",
|
|
||||||
// salesOrder: ""
|
|
||||||
// };
|
|
||||||
// this.loadTitle = "";
|
|
||||||
// this.loading = false;
|
|
||||||
// this.loadend = false;
|
|
||||||
// this.price = 0;
|
|
||||||
// this.stock = 0;
|
|
||||||
// this.nows = fals;
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeRecommendLoading(recommendLoading) {
|
changeRecommendLoading(recommendLoading) {
|
||||||
@ -205,12 +171,10 @@ export default {
|
|||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: this.title,
|
title: this.title,
|
||||||
})
|
})
|
||||||
// document.title = this.title || this.$yroute.meta.title;
|
|
||||||
},
|
},
|
||||||
getProductList() {
|
getProductList() {
|
||||||
var that = this
|
var that = this
|
||||||
this.setWhere()
|
this.setWhere()
|
||||||
// if (to.name !== "GoodsList") return;
|
|
||||||
const { s = '', id = 0, title = '' } = this.$yroute.query
|
const { s = '', id = 0, title = '' } = this.$yroute.query
|
||||||
if (s !== this.where.keyword || id !== this.where.sid) {
|
if (s !== this.where.keyword || id !== this.where.sid) {
|
||||||
this.loadend = false
|
this.loadend = false
|
||||||
|
Reference in New Issue
Block a user