mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
feat(DropdownMenu): add @dropdown-menu-title-active-text-color less var (#4208)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createNamespace } from '../utils';
|
||||
import { BLUE, BORDER_TOP_BOTTOM } from '../utils/constant';
|
||||
import { BORDER_TOP_BOTTOM } from '../utils/constant';
|
||||
import { ParentMixin } from '../mixins/relation';
|
||||
import { ClickOutsideMixin } from '../mixins/click-outside';
|
||||
|
||||
@@ -15,6 +15,7 @@ export default createComponent({
|
||||
],
|
||||
|
||||
props: {
|
||||
activeColor: String,
|
||||
overlay: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
@@ -31,10 +32,6 @@ export default createComponent({
|
||||
type: String,
|
||||
default: 'down'
|
||||
},
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: BLUE
|
||||
},
|
||||
closeOnClickOverlay: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
@@ -91,6 +88,7 @@ export default createComponent({
|
||||
<span
|
||||
class={[
|
||||
bem('title', {
|
||||
active: item.showPopup,
|
||||
down: item.showPopup === (this.direction === 'down')
|
||||
}),
|
||||
item.titleClass
|
||||
|
Reference in New Issue
Block a user