提交 9d60729c 编写于 作者: X xzs02

Merge branch 'master' into dev

此差异已折叠。
{
"name": "@dcloudio/uni-h5",
"version": "0.0.14",
"version": "0.0.15",
"description": "uni-app h5",
"main": "dist/index.umd.min.js",
"scripts": {
......
......@@ -14,6 +14,7 @@
<div class="uni-tabbar__bd">
<div
v-if="item.iconPath"
:class="{'uni-tabbar__icon__diff':!item.text}"
class="uni-tabbar__icon">
<img :src="_getRealPath($route.meta.pagePath===item.pagePath?item.selectedIconPath:item.iconPath)">
</div>
......@@ -92,6 +93,12 @@ uni-tabbar .uni-tabbar__icon {
height: 27px;
}
uni-tabbar .uni-tabbar__icon.uni-tabbar__icon__diff{
margin-top: 0px;
width: 34px;
height: 34px;
}
uni-tabbar .uni-tabbar__icon img {
width: 100%;
height: 100%;
......@@ -207,7 +214,7 @@ export default {
if (url === __uniRoutes[0].alias) {
url = '/'
}
if (this.$route.path !== url) {
if (this.$route.path !== url) {
this.__path__ = this.$route.path
uni.switchTab({
url
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册