diff --git a/packages/icon/index.less b/packages/icon/index.less
index 5c542aa8..0bd708ee 100644
--- a/packages/icon/index.less
+++ b/packages/icon/index.less
@@ -7,14 +7,18 @@
height: 1em;
image {
+ position: absolute;
top: 0;
- left: 0;
right: 0;
bottom: 0;
- margin: auto;
+ left: 0;
max-width: 100%;
max-height: 100%;
- position: absolute;
+ margin: auto;
}
}
+
+ &__info {
+ z-index: 1;
+ }
}
diff --git a/packages/icon/index.wxml b/packages/icon/index.wxml
index 0c37bcd3..28be855e 100644
--- a/packages/icon/index.wxml
+++ b/packages/icon/index.wxml
@@ -8,6 +8,7 @@