src/components/normal-head/index.vue
@@ -1,10 +1,6 @@ <template> <div id="normalHead"> <van-nav-bar :border="false" :title="title" left-arrow @click-left="onClickLeft"> <van-nav-bar :border="false" :title="title" left-arrow @click-left="onClickLeft"> <template #right> <slot></slot> </template> @@ -36,6 +32,8 @@ <style lang="scss" scoped> ::v-deep .van-nav-bar__title{ color: #333; @include themify() { color: themed("textColor"); } } </style>