car-brand-picker.wxss 2.14 KB
/* 对齐 packageEquity carBrands / carSeries */
.car-y-center {
  display: flex;
  align-items: center;
  transform: translateY(0);
}

.cartips {
  border-radius: var(--fontSize16);
  background: #fef4e8;
  color: #ff9d0a;
  font-size: var(--fontSize26);
  font-weight: 400;
  padding: var(--fontSize8) var(--fontSize16);
  margin: var(--fontSize16) var(--fontSize32) 0 var(--fontSize32);
}

.car-brands-box {
  width: 100%;
  height: 100vh;
}

.car-brands {
  height: 100%;
  position: relative;
}

.car-brands .title {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f7f8fa;
  font-size: var(--fontSize24);
  color: #323233;
  padding-left: var(--fontSize32);
  height: var(--fontSize64);
  line-height: var(--fontSize64);
}

.list {
  height: var(--fontSize110);
  padding: 0 var(--fontSize32);
  font-weight: 500;
  background-color: #fff;
  position: relative;
}

.list::after {
  position: absolute;
  box-sizing: border-box;
  content: " ";
  pointer-events: none;
  right: var(--fontSize32);
  bottom: 0;
  left: var(--fontSize32);
  border-bottom: var(--fontSize1) solid #ebedf0;
}

.list .icon {
  width: var(--fontSize68);
  height: var(--fontSize68);
  margin-right: var(--fontSize8);
}

.side-bar {
  z-index: 999;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #4c4c4c;
  width: 10%;
  opacity: 0;
  animation: show-side-bar 0.5s forwards;
}

@keyframes show-side-bar {
  0% {
    opacity: 0;
    right: -100%;
  }
  100% {
    opacity: 1;
    right: 0;
  }
}

.side-bar .view {
  width: 100%;
  text-align: center;
}

.car-series-side-bar {
  width: auto;
}

.car-series-side-bar .view {
  padding: 0 var(--fontSize16) 0 var(--fontSize32);
  font-size: var(--fontSize20);
  width: auto;
}

.tips {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--fontSize140);
  height: var(--fontSize140);
  border-radius: 50%;
  color: #fff;
  background: rgba(153, 153, 153, 0.7);
  z-index: 9999;
  font-size: var(--fontSize60);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nothing {
  padding: var(--fontSize100);
  text-align: center;
  color: #999;
}