diff --git a/examples/routers/dropdown.vue b/examples/routers/dropdown.vue index 977051a..e82c54c 100644 --- a/examples/routers/dropdown.vue +++ b/examples/routers/dropdown.vue @@ -7,7 +7,7 @@ 驴打滚 - 炸酱面 + 炸酱面 豆汁儿 冰糖葫芦 北京烤鸭 @@ -20,7 +20,7 @@ 驴打滚 - 炸酱面 + 炸酱面 豆汁儿 冰糖葫芦 北京烤鸭 diff --git a/src/styles/components/cell.less b/src/styles/components/cell.less index 6f8021f..1a04c1e 100644 --- a/src/styles/components/cell.less +++ b/src/styles/components/cell.less @@ -34,6 +34,11 @@ &-selected &-label{ color: inherit; } + + &-selected, &&-selected:hover{ + background: ~`colorPalette("@{primary-color}", 1)`; + } + &-footer{ display: inline-block; position: absolute; diff --git a/src/styles/components/dropdown.less b/src/styles/components/dropdown.less index a610d5d..c157a65 100644 --- a/src/styles/components/dropdown.less +++ b/src/styles/components/dropdown.less @@ -30,6 +30,9 @@ &-transfer{ width: auto; } + &-item-selected, &-item&-item-selected:hover{ + background: ~`colorPalette("@{primary-color}", 1)`; + } } .select-item(@dropdown-prefix-cls, @dropdown-item-prefix-cls); \ No newline at end of file -- libgit2 0.21.4