submit
This commit is contained in:
parent
b754cbf566
commit
4957abd51c
10
App.vue
10
App.vue
@ -33,12 +33,6 @@ export default {
|
||||
width: 404rpx!important;
|
||||
height: 306rpx!important;
|
||||
}
|
||||
.u-tabbar__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 166rpx;
|
||||
}
|
||||
.u-border-top {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="tabbar">
|
||||
<u-tabbar class="tabbar-ios-fix" :border-top="false" activeColor='#22bf8e' :value="current?current:0" :fixed="true"
|
||||
<u-tabbar :border="false" class="tabbar-ios-fix" activeColor='#22bf8e' :value="current?current:0" :fixed="true"
|
||||
:placeholder="true" :safeAreaInsetBottom="true" @change="handleTabClick">
|
||||
<u-tabbar-item v-for='(item,index) in tabList' :key="index" :text="item.text">
|
||||
<image slot="inactive-icon" class="u-page__item__slot-icon" :src="item.iconPath">
|
||||
<image style="width: 52rpx;height: 52rpx" slot="inactive-icon" class="u-page__item__slot-icon" :src="item.iconPath">
|
||||
</image>
|
||||
<image slot="active-icon" class="u-page__item__slot-icon" :src="item.selectedIconPath">
|
||||
<image style="width: 52rpx;height: 52rpx" slot="active-icon" class="u-page__item__slot-icon" :src="item.selectedIconPath">
|
||||
</image>
|
||||
</u-tabbar-item>
|
||||
</u-tabbar>
|
||||
@ -42,7 +42,7 @@ export default {
|
||||
}
|
||||
|
||||
|
||||
/*.tabbar-ios-fix {
|
||||
.tabbar-ios-fix {
|
||||
bottom: calc(120rpx + env(safe-area-inset-bottom));
|
||||
}*/
|
||||
}
|
||||
</style>
|
||||
|
@ -112,7 +112,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "../../libs/css/components.scss";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user