支持SSR、升级Vue版本和增加新的icon (#40)

* search component add new style

* update vue version and support ssr

* unit test

* add new icon

* new icon
This commit is contained in:
张敏
2017-06-15 19:46:56 +08:00
committed by Yao
parent 857da3a5ee
commit 0f5972e75e
59 changed files with 370 additions and 204 deletions

View File

@@ -13,7 +13,7 @@ describe('Layout', () => {
wrapper = mount(Row);
expect(wrapper.hasClass('van-row')).to.be.true;
expect(wrapper.computed().style()).to.be.empty;
expect(wrapper.vm.style).to.be.empty;
});
it('create a simple column', () => {
@@ -26,7 +26,7 @@ describe('Layout', () => {
expect(wrapper.hasClass('van-col')).to.be.true;
expect(wrapper.hasClass('van-col-8')).to.be.true;
expect(wrapper.hasClass('van-col-offset-8')).to.be.true;
expect(wrapper.computed().gutter()).to.equal(0);
expect(wrapper.vm.gutter).to.equal(0);
});
it('create a gutter row', () => {