feat(Coupon): add @coupon-corner-checkbox-icon-color var (#8323)

This commit is contained in:
neverland
2021-03-12 09:43:31 +08:00
committed by GitHub
parent 27a52949fa
commit e1bfb7b27d
9 changed files with 14 additions and 20 deletions
+2 -4
View File
@@ -12,12 +12,12 @@
<van-dropdown-item :title="t('itemTitle')" ref="item">
<van-cell center :title="t('switchTitle1')">
<template #right-icon>
<van-switch v-model="switch1" size="24" :active-color="RED" />
<van-switch v-model="switch1" size="24" active-color="#ee0a24" />
</template>
</van-cell>
<van-cell center :title="t('switchTitle2')">
<template #right-icon>
<van-switch v-model="switch2" size="24" :active-color="RED" />
<van-switch v-model="switch2" size="24" active-color="#ee0a24" />
</template>
</van-cell>
<div style="padding: 5px 16px">
@@ -61,7 +61,6 @@
import { computed, reactive, ref, toRefs } from 'vue';
import { useTranslate } from '@demo/use-translate';
import { ComponentInstance } from '../../utils';
import { RED } from '../../utils/constant';
const i18n = {
'zh-CN': {
@@ -126,7 +125,6 @@ export default {
return {
...toRefs(state),
t,
RED,
item,
option1,
option2,