|
@@ -83,6 +83,7 @@
|
|
|
this.loadStatus = 'loading';
|
|
|
// 模拟数据加载
|
|
|
setTimeout(() => {
|
|
|
+ this.currentPage += 1;
|
|
|
this.handleGetData();
|
|
|
this.loadStatus = 'loadmore';
|
|
|
}, 1000)
|
|
@@ -93,6 +94,7 @@
|
|
|
this.currenBrand = "";
|
|
|
this.currentPattern = "";
|
|
|
this.currentSpec = "";
|
|
|
+ this.currentPage = 1;
|
|
|
this.handleGetData();
|
|
|
} else if (this.currentTab == 1) {
|
|
|
this.showBrand = true
|
|
@@ -161,6 +163,7 @@
|
|
|
icon: "none",
|
|
|
duration: _this.$store.state.showToastDuration
|
|
|
});
|
|
|
+ this.currentPage -= 1;
|
|
|
}).finally(() => {
|
|
|
setTimeout(() => {
|
|
|
uni.hideLoading();
|
|
@@ -171,15 +174,18 @@
|
|
|
// 筛选品牌
|
|
|
confirmBrand: function(v) {
|
|
|
this.currenBrand = v[0].label;
|
|
|
+ this.currentPage = 1;
|
|
|
this.handleGetData();
|
|
|
},
|
|
|
// 筛选花纹
|
|
|
confirmPattern: function(v) {
|
|
|
this.currentPattern = v[0].label;
|
|
|
+ this.currentPage = 1;
|
|
|
this.handleGetData();
|
|
|
},
|
|
|
searchSpec: function() {
|
|
|
if(this.currentSpec){
|
|
|
+ this.currentPage = 1;
|
|
|
this.handleGetData();
|
|
|
}
|
|
|
console.log(this.currentSpec)
|