From 706b8cf662240f6ee671f255c1164b9e0919b413 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Mon, 28 Sep 2020 11:52:24 +0800 Subject: [PATCH] feat(cli): update nav style --- packages/vant-cli/site/desktop/components/Nav.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/vant-cli/site/desktop/components/Nav.vue b/packages/vant-cli/site/desktop/components/Nav.vue index 7c39a81cc..f4e47e73f 100644 --- a/packages/vant-cli/site/desktop/components/Nav.vue +++ b/packages/vant-cli/site/desktop/components/Nav.vue @@ -120,11 +120,11 @@ export default { &__item { a { display: block; - margin: 0; + margin: 8px 0; padding: 8px 0 8px @van-doc-padding; color: #455a64; font-size: 14px; - line-height: 28px; + line-height: 20px; transition: color 0.2s; &:hover, @@ -133,8 +133,9 @@ export default { } &.active { - background-color: fade(@van-doc-green, 8); - border-radius: 8px; + font-weight: 600; + background-color: #ebfff0; + border-radius: 999px; } span {