bump vant-icon@1.0.2 (#2358)

This commit is contained in:
neverland
2018-12-22 11:23:45 +08:00
committed by GitHub
parent dec920e36e
commit 92ebce4462
6 changed files with 80 additions and 38 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
:key="express.name + express.address"
:title="express.name"
:label="express.address"
icon="location"
icon="location-o"
clickable
@click="onSelect(express)"
/>
+1 -1
View File
@@ -195,7 +195,7 @@ test('show search result', async () => {
const input = field.element;
field.trigger('focus');
const items = wrapper.findAll('.van-icon-location');
const items = wrapper.findAll('.van-icon-location-o');
items.at(0).element.parentNode.click();
expect(input.value).toEqual('address1 name1');
items.at(1).element.parentNode.click();
+1 -1
View File
@@ -12,7 +12,7 @@
<template v-else>
<icon name="photograph" />
<span class="label">{{ value ? '重拍' : '拍照' }}</span>
<icon name="picture" />
<icon name="photo" />
<span class="label">{{ value ? '重新选择照片' : '选择照片' }}</span>
</template>
</div>
+3 -2
View File
@@ -179,11 +179,12 @@
display: inline-block;
&__header {
color: @text-color;
padding: 0 10px;
border: 1px solid @border-color;
font-size: 12px;
line-height: 24px;
border-radius: 3px;
font-size: 12px;
border: 1px solid @border-color;
.van-icon {
top: 3px;