UNPKG

@nutui/nutui-react

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

56 lines (55 loc) 1.21 kB
/* #ifdef harmony */ /* #endif */ /* #ifndef harmony */ /* #endif */ .nut-tabbar { border: 0px; box-shadow: var(--nutui-tabbar-box-shadow, none); border-bottom: var(--nutui-tabbar-border-bottom, 0); border-top: var(--nutui-tabbar-border-top, 0); width: 100%; background: var(--nutui-color-background-overlay, #ffffff); } .nut-tabbar-wrap { height: var(--nutui-tabbar-height, 46px); display: flex; } .nut-tabbar-wrap-3 { padding: 0 16px; } .nut-tabbar-wrap-2 { padding: 0 32px; } .nut-tabbar-wrap-horizontal { align-items: center; } .nut-tabbar-wrap-horizontal .nut-tabbar-item { flex-direction: row; justify-content: center; } .nut-tabbar-wrap-horizontal .nut-tabbar-item .nut-icon { width: 20px; height: 20px; } .nut-tabbar-wrap-horizontal .nut-tabbar-item .nut-tabbar-item-text { margin: 0 4px 0 6px; font-size: 14px; } .nut-tabbar-wrap-horizontal .nut-tabbar-item .nut-badge-sup::after { border: 0; } .nut-tabbar-fixed { position: fixed; bottom: 0px; left: 0px; } [dir=rtl] .nut-tabbar:last-child, .nut-rtl .nut-tabbar:last-child { border-right: none; border-left: 0; } [dir=rtl] .nut-tabbar-fixed, .nut-rtl .nut-tabbar-fixed { left: auto; right: 0px; }