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,8 +5,9 @@
|
||||
&--image {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
image {
|
||||
&__image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
@ -16,7 +17,6 @@
|
||||
max-height: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&__info {
|
||||
z-index: 1;
|
||||
|
@ -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