bump vant-icon@1.0.2 (#2358)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
:key="express.name + express.address"
|
||||
:title="express.name"
|
||||
:label="express.address"
|
||||
icon="location"
|
||||
icon="location-o"
|
||||
clickable
|
||||
@click="onSelect(express)"
|
||||
/>
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user