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"
value={this.value}
style={this.location}
class={bem([this.theme, `placement-${this.placement}`])}
class={bem([this.theme])}
overlay={this.overlay}
position={null}
transition="van-popover-zoom"

View File

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