From 29cd4ffd9ada66681618e493ab409d51a3df81a9 Mon Sep 17 00:00:00 2001 From: shuaiguo <coldplayguo@gmail.com> Date: Thu, 31 Oct 2019 00:24:50 +0800 Subject: [PATCH] Revert "fix scroll" This reverts commit e8fe9c6c6d587ca58ab9930d08c9c5ca12ec9e74. --- apps/pages/home/channel/channel.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/apps/pages/home/channel/channel.vue b/apps/pages/home/channel/channel.vue index 60fbbff..42904f1 100644 --- a/apps/pages/home/channel/channel.vue +++ b/apps/pages/home/channel/channel.vue @@ -169,7 +169,7 @@ export default { const {url = ''} = firstNav; this.selectedCategory = queryString.parse(url); } - + this.refreshProductList(this.active); }, methods: { @@ -442,12 +442,21 @@ export default { } .scroll-nav-wrap { position: relative; - background-color: #fefefe; + + &:after { + content: ""; + position: absolute; + width: 100%; + height: 100px; + box-shadow: 0 0 120px 100px #f2f2f2 !important; + z-index: -1; + } &.fixed-nav { width: 100%; position: absolute; z-index: 10; + background-color: #fefefe; overflow: hidden; } } -- libgit2 0.24.0