diff --git a/pages/goods-category/goods-category.css b/pages/goods-category/goods-category.css index f6daf3e1..4015e78c 100644 --- a/pages/goods-category/goods-category.css +++ b/pages/goods-category/goods-category.css @@ -40,14 +40,10 @@ /** * 左侧导航 */ -.left-content-actual-list { - padding-bottom: 120rpx; - background-color: #f5f5f5; -} - - .left-nav { - width: 200rpx; + width: 200rpx; + background-color: #f5f5f5; + height: 100%; } .left-nav .item { height: 80rpx; @@ -58,6 +54,9 @@ .left-nav .nav-active { background: #fff; font-weight: 500; +} +.left-content-actual-list { + height: calc(100% - 100rpx); } /** diff --git a/pages/goods-category/goods-category.vue b/pages/goods-category/goods-category.vue index 5c67d51b..6c617552 100644 --- a/pages/goods-category/goods-category.vue +++ b/pages/goods-category/goods-category.vue @@ -74,20 +74,18 @@ - + - - - {{ $t('common.all') }} - - - - - {{ item.name }} - - - + + {{ $t('common.all') }} + + + + {{ item.name }} + + +