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
@@ -31,8 +31,8 @@
<van-col span="6" @click="copy(demoIcon, { color: '#1989fa' })">
<van-icon name="cart-o" color="#1989fa" />
</van-col>
<van-col span="6" @click="copy(demoIcon, { color: RED })">
<van-icon name="fire-o" :color="RED" />
<van-col span="6" @click="copy(demoIcon, { color: '#ee0a24' })">
<van-icon name="fire-o" color="#ee0a24" />
</van-col>
</van-row>
</demo-block>
@@ -97,7 +97,6 @@
import icons from '@vant/icons';
import { ref } from 'vue';
import { useTranslate } from '@demo/use-translate';
import { RED } from '../../utils/constant';
import { Notify } from '../../notify';
// from https://30secondsofcode.org
@@ -185,7 +184,6 @@ export default {
return {
t,
tab,
RED,
copy,
icons,
demoIcon: 'chat-o',