diff --git a/components/uiq-tabbar/uiq-tabbar.vue b/components/uiq-tabbar/uiq-tabbar.vue index 3d03983..6ea6404 100644 --- a/components/uiq-tabbar/uiq-tabbar.vue +++ b/components/uiq-tabbar/uiq-tabbar.vue @@ -1,11 +1,11 @@ <template> <view class="tabbar"> <u-tabbar :border="false" class="tabbar-ios-fix" activeColor='#22bf8e' :value="current?current:0" :fixed="true" - :placeholder="true" :safeAreaInsetBottom="true" @change="handleTabClick"> + @change="handleTabClick"> <u-tabbar-item v-for='(item,index) in tabList' :key="index" :text="item.text"> - <image style="width: 52rpx;height: 52rpx" slot="inactive-icon" class="u-page__item__slot-icon" :src="item.iconPath"> + <image style="width: 52rpx;height: 52rpx;margin-top: 34rpx" slot="inactive-icon" class="u-page__item__slot-icon" :src="item.iconPath"> </image> - <image style="width: 52rpx;height: 52rpx" slot="active-icon" class="u-page__item__slot-icon" :src="item.selectedIconPath"> + <image style="width: 52rpx;height: 52rpx;margin-top: 34rpx" slot="active-icon" class="u-page__item__slot-icon" :src="item.selectedIconPath"> </image> </u-tabbar-item> </u-tabbar>