@import './var.less';

.tabBarWrap {
  display: flex;
  box-sizing: content-box;
  background-color: @white;
  height: auto;
  z-index: @tabbar-z-index;
  width: 100%;
  padding-bottom: constant(safe-area-inset-bottom);
  /*兼容 IOS<11.2*/
  padding-bottom: env(safe-area-inset-bottom);
  /*兼容 IOS>11.2*/
}

.tabBarWrapFixed {
  position: fixed;
  bottom: 0;
  left: 0;
}

.tabBarItem {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tabBarImg {
  width: 22 * @hd;
  height: 22 * @hd;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: @tabbar-item-icon-margin-bottom;
}

.tabBarText {
  font-size: 26px;
  margin-bottom: 6px;
}
