Commit 4b4896f839f5c9901c3d5fcdc295b3a38acba4e0
1 parent
899131a1
购好物,工会列表页,tabs浮动Bug处理~
Showing
2 changed files
with
2 additions
and
2 deletions
src/pages/labourUnion/labourUnion.vue
| @@ -546,7 +546,7 @@ | @@ -546,7 +546,7 @@ | ||
| 546 | if (this.tabs.fixed) { | 546 | if (this.tabs.fixed) { |
| 547 | 547 | ||
| 548 | // 设置吸顶的top值 | 548 | // 设置吸顶的top值 |
| 549 | - this.$set(this.tabs, 'top', this.$refs.navBox.offsetHeight + 'px'); | 549 | + this.$set(this.tabs, 'top', (this.$refs.navBox.offsetHeight - 1) + 'px'); |
| 550 | } else { | 550 | } else { |
| 551 | 551 | ||
| 552 | // 设置吸顶的top值 | 552 | // 设置吸顶的top值 |
src/pages/shopList/shopList.vue
| @@ -675,7 +675,7 @@ | @@ -675,7 +675,7 @@ | ||
| 675 | if (this.tabs.fixed) { | 675 | if (this.tabs.fixed) { |
| 676 | 676 | ||
| 677 | // 设置吸顶的top值 | 677 | // 设置吸顶的top值 |
| 678 | - this.$set(this.tabs, 'top', this.$refs.navBox.offsetHeight + 'px'); | 678 | + this.$set(this.tabs, 'top', (this.$refs.navBox.offsetHeight - 1) + 'px'); |
| 679 | } else { | 679 | } else { |
| 680 | 680 | ||
| 681 | // 设置吸顶的top值 | 681 | // 设置吸顶的top值 |