[breaking change] Cell: show active color when clicked (#497)

This commit is contained in:
neverland
2017-12-29 17:09:50 +08:00
committed by GitHub
parent b8ccd48648
commit 98ece3ab8f
15 changed files with 48 additions and 27 deletions

View File

@@ -58,7 +58,7 @@ describe('CouponCell', () => {
DOMChecker(wrapper, {
text: {
'.van-cell__value--link': '使用优惠'
'.van-cell__value': '使用优惠'
}
});
});
@@ -72,7 +72,7 @@ describe('CouponCell', () => {
DOMChecker(wrapper, {
text: {
'.van-cell__value--link': '您有 2 个可用优惠'
'.van-cell__value': '您有 2 个可用优惠'
}
});
});
@@ -87,7 +87,7 @@ describe('CouponCell', () => {
DOMChecker(wrapper, {
text: {
'.van-cell__value--link span': '省¥1.50'
'.van-cell__value span': '省¥1.50'
},
count: {
'.van-cell__right-icon': 1