Closed hezhongfeng closed 7 years ago
<tabbar-item selected link="/main/home"> <img slot="icon" src="../assets/logo.png"> <span slot="label">Home</span> </tabbar-item> <tabbar-item link="/main/message"> <i slot="icon" class="iconfont icon-home" style="font-size:27px;"></i> <span slot="label">Message</span> </tabbar-item>
使用的时候图标的位置不对,如图,跟大小没有关系
使用 iconfont 的情况需要自行调整位置。比如使用 position: relative, top: -*px
get 谢谢
使用的时候图标的位置不对,如图,跟大小没有关系