Skip to content

Commit

Permalink
修复下拉菜单背景色
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Apr 14, 2024
1 parent 9a797e8 commit c7ef340
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<view class="u-dropdown-item" v-if="active" @touchmove.stop.prevent="() => {}" @tap.stop.prevent="() => {}">
<block v-if="!$slots.default && !$slots.$default">
<scroll-view scroll-y="true" :style="{
<scroll-view class="u-dropdown-item__scroll" scroll-y="true" :style="{
height: $u.addUnit(height)
}">
<view class="u-dropdown-item__options">
Expand Down Expand Up @@ -113,9 +113,7 @@

<style scoped lang="scss">
@import "../../libs/css/components.scss";
.u-dropdown-item__options {
::v-deep .u-cell-group {
background: #ffffff;
}
.u-dropdown-item__scroll {
background: #ffffff;
}
</style>

0 comments on commit c7ef340

Please sign in to comment.