style(Popover): adjust dark theme background color

This commit is contained in:
chenjiahan 2020-11-18 15:49:11 +08:00 committed by neverland
parent 1302f13e72
commit 6d67093589
2 changed files with 2 additions and 3 deletions

View File

@ -172,7 +172,7 @@ export default createComponent({
ref="popover" ref="popover"
value={this.value} value={this.value}
style={this.location} style={this.location}
class={bem([this.theme, `placement-${this.placement}`])} class={bem([this.theme])}
overlay={this.overlay} overlay={this.overlay}
position={null} position={null}
transition="van-popover-zoom" transition="van-popover-zoom"

View File

@ -184,8 +184,7 @@
&--dark { &--dark {
color: @white; color: @white;
background-color: @gray-8; background-color: #4a4a4a;
opacity: 0.9;
.van-popover__arrow { .van-popover__arrow {
color: @gray-8; color: @gray-8;