...
|
...
|
@@ -207,6 +207,8 @@ export default { |
|
|
|
|
|
// 点击tab flag, 0: 推荐, 1: 价格, 2: 人气, 3: 新品
|
|
|
async pressType(flag) {
|
|
|
let yasEventFlag = this.$refs.scroll.getScrollTop();
|
|
|
|
|
|
if (flag === this.selectedType && flag !== 1) {
|
|
|
return;
|
|
|
}
|
...
|
...
|
@@ -243,6 +245,9 @@ export default { |
|
|
this.changeArrow();
|
|
|
this.yasShowPage();
|
|
|
this.yasTab();
|
|
|
if (yasEventFlag === 0) {
|
|
|
this.$refs.product.yasShowEvent(0);
|
|
|
}
|
|
|
},
|
|
|
goSearch() {
|
|
|
this.yasGoSearch();
|
...
|
...
|
@@ -348,7 +353,6 @@ export default { |
|
|
z-index: 999;
|
|
|
background: #fff;
|
|
|
position: absolute;
|
|
|
z-index: 1;
|
|
|
}
|
|
|
|
|
|
.filter-tab {
|
...
|
...
|
|