index.wxss 2.49 KB
/* components/book/tabBar/tabBar.wxss */
@import "../colorui/main.wxss";
.flex-lr{
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  align-items:center;
  flex-direction: row;
  -webkit-flex-direction: row;
}
/*垂直方向居中分布*/
.flex-vc{
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  -webkit-flex-direction: column;
}
.tabBar{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  /* height: calc(100rpx + env(safe-area-inset-bottom)); */
  height: 100rpx;
  background: #FFFFFF;
  box-shadow: 0rpx 0rpx 10rpx 0rpx #E5E5E5;
  padding: 0 60rpx;
  box-sizing: border-box;
  /* border-radius: 50rpx; */
  /* border: 2rpx solid #E5E5E5; */
}
/* .view{
	padding: 0 10rpx;
} */
.home,.order,.me,.search{
  /* width:176rpx; */
  font-size: 28rpx;
  font-family: PingFangSC-Semibold, PingFang SC;
  font-weight: 600;
  color: #999999;
  padding: 0 10rpx;
}
/* .tabBar .text{
  margin-left: 14rpx;
} */
.tabBar .checked .text{
    color: #5EB2FF;
}
/* .tabBar .search.checked .icon{
    width: 56rpx;
    height: 56rpx;
} */
/* .tabBar .search.checked .text{
    color: #FFFFFF;
    display: none;
} */
.home .icon{
  width: 48rpx;
  height: 48rpx;
  margin-bottom: 2rpx;
  background-image: url("http://nosqn.colorcun.com/near.png");
}
.home.checked .icon{
    background-image: url("http://nosqn.colorcun.com/near-checked.png");
}
/* .search{
  width: 112rpx;
  height: 112rpx;
  background: linear-gradient(90deg, #3BBFF5 0%, #57A0FF 100%);
  box-shadow: 0rpx 0rpx 8rpx 0rpx #E5E5E5;
  background: #FFFFFF;
  border-radius: 50%;
} */
.search .icon{
  width: 48rpx;
  height: 48rpx;
  margin-bottom: 2rpx;
  background-image: url("http://nosqn.colorcun.com/search.png");
}
.search.checked .icon{
    background-image: url("http://nosqn.colorcun.com/search-checked.png");
}
.search .text{
    font-size: 28rpx;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #999999;
    line-height: 28rpx;
    height: 28rpx;
    margin-left: 0;
}
.order .icon{
  width: 48rpx;
  height: 48rpx;
  margin-bottom: 2rpx;
  background-image: url("http://nosqn.colorcun.com/order-gray.png");
}
.order.checked .icon{
    background-image: url("http://nosqn.colorcun.com/order-checked.png");
}
.me .icon{
  width: 48rpx;
  height: 48rpx;
  background-image: url("http://nosqn.colorcun.com/me-gray.png");
  margin-bottom: 2rpx;
}
.me.checked .icon{
    background-image: url("http://nosqn.colorcun.com/me-checked.png");
}