IndexList.wxss 1.32 KB
/* components/CarBrands/CarBrands.wxss */
.car-brands-box {
  width: 100%;
  height: 100%;
}

.car-brands {
  height: calc(100% - 104rpx);
  position: relative;
}

.y-center {
  display: flex;
  align-items: center;
}

.car-brands .title {
  background: #F7F8FA;
  font-size: 24rpx;
  color: #969799;
  padding-left: 32rpx;
  height: 64rpx;
  /* position: sticky;
  left: 0;
  top: 0;
  z-index: 998; */
}

.list {
  height: 88rpx;
  padding-left: 32rpx;
  font-weight: 500;
}
.list .icon{
  width: 40rpx;
  height: 40rpx;
  margin-right: 20rpx;
}

.active{
  color: var(--btnColor);
}


.side-bar {
  z-index: 999;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24rpx;
  color: #4c4c4c;
  width: 10%;
  opacity: 0;
  animation: show-side-bar .5s forwards ;
}
@keyframes show-side-bar{
  0%{
    opacity: 0;
    right: -100%;
  }
  100%{
    opacity: 1;
    right: 0;
  }
}
.side-bar .view {
  width: 100%;
  text-align: center;
}

.tips {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140rpx;
  height: 140rpx;
  border-radius: 50%;
  color: #fff;
  background: rgba(153, 153, 153, 0.7);
  z-index: 9999;
  font-size: 60rpx;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nothing{
  padding: 100rpx;
  text-align: center;
  color: #999;
}