mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Icon: avoid using tag selector (#1482)
This commit is contained in:
parent
34f34ba56b
commit
8b0ee2066e
@ -5,17 +5,17 @@
|
||||
&--image {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
&__image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
&__info {
|
||||
|
@ -13,5 +13,6 @@
|
||||
<image
|
||||
wx:if="{{ utils.isSrc(name) }}"
|
||||
src="{{ name }}"
|
||||
class="van-icon__image"
|
||||
/>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user