style(DropdownMenu): adjust default active color to @red (#6863)

This commit is contained in:
neverland
2020-07-24 17:45:20 +08:00
committed by GitHub
parent b43b8fc943
commit e12b468843
4 changed files with 25 additions and 9 deletions

View File

@@ -13,9 +13,17 @@
<van-dropdown-item :title="t('itemTitle')" ref="item">
<van-switch-cell v-model="switch1" :title="t('switchTitle1')" />
<van-switch-cell v-model="switch2" :title="t('switchTitle2')" />
<van-button type="info" block @click="onConfirm">
{{ t('confirm') }}
</van-button>
<div style="padding: 5px 16px;">
<van-button
type="danger"
block
round
style="height: 40px;"
@click="onConfirm"
>
{{ t('confirm') }}
</van-button>
</div>
</van-dropdown-item>
</van-dropdown-menu>
</demo-block>