[new feature] Notice bar support more props (#254)

* [bugfix] CouponList always show empty info

* [bugfix] add click feedback of buttons in components

* [Doc] add custom theme document

* [new feature] Notice bar support more props

* [bugfix] PullRefresh test cases

* [bugfix] unused NoticeBar style
This commit is contained in:
neverland
2017-10-26 02:37:14 -05:00
committed by Yao
parent e006f1402e
commit 3c12a426ca
6 changed files with 72 additions and 20 deletions

View File

@@ -102,7 +102,7 @@ describe('PullRefresh', () => {
}
});
window.scrollY = 100;
window.scrollTop = 100;
// ignore touch event when not at page top
triggerTouch(wrapper, 'touchstart', 0, 0);
@@ -110,7 +110,7 @@ describe('PullRefresh', () => {
triggerTouch(wrapper, 'touchend', 0, 100);
expect(wrapper.vm.ceiling).to.be.false;
window.scrollY = 0;
window.scrollTop = 0;
triggerTouch(wrapper, 'touchmove', 0, 100);
expect(wrapper.vm.ceiling).to.be.true;
});