/* custom-tab-bar/index.js.wxss */ .tab-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 96rpx; background: white; display: flex; width: 750rpx; z-index: 10000; border-top: 1px solid #E5E5E5; padding-bottom: env(safe-area-inset-bottom); } .tab-bar-item { width: 375rpx; text-align: center; display: flex; justify-content: center; align-items: center; flex-direction: column; } .tab-bar-item image { width: 27px; height: 27px; } .tab-bar-item view { font-size: 10px; }