Merchant-Seles.wxss 2.15 KB
/* components/Merchant-Seles/Merchant-Seles.wxss */
.text-hide {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.seles-list .center {
  width: 100%;
  text-align: center;
}

.seles-box {
  height: 100%;
  width: calc(100% + var(--fontSize64));
  transform: translateX(calc(-1 * var(--fontSize32)));
}

.box {
  padding: 0 var(--fontSize32);
}

.merchant-box {
  max-height: var(--fontSize300);
  overflow: hidden;
  transition: all .25s;
}

.merchantList {
  width: calc(100% - var(--fontSize50));
  height: var(--fontSize98);
  display: flex;
  align-items: center;
  border-bottom: var(--fontSize2) solid #EBEDF0;
  font-size: var(--fontSize28);
  color: #999999;
  padding: 0 var(--fontSize25);
  transition: all .5s;
}

.merchantList.active {
  color: #347BFF;
  font-weight: 700;
  position: relative;
}

.merchantList.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  background: #347BFF;
  border-radius: var(--fontSize3);
  width: var(--fontSize60);
  height: var(--fontSize6);
  left: var(--fontSize25);
}

.more {
  text-align: center;
  margin: var(--fontSize28) auto 0;
}

.more .icon {
  width: var(--fontSize24);
  height: var(--fontSize22);
  transition: all .25s;
}

.more .icon.hide {
  transform: rotate(-180deg);
}

.sub-title {
  height: var(--fontSize100);
  display: flex;
  align-items: center;
  font-size: var(--fontSize32);
  color: #333333;
  /* position: sticky;
  left: 0;
  top: 0; */
  background-color: #fff;
  z-index: 2;
}

.seles-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;

  padding-bottom: var(--fontSize40);
}

.seles {
  border: var(--fontSize2) solid #666666;
  border-radius: 16px;
  padding: 0 var(--fontSize56);
  font-size: var(--fontSize28);
  color: #666666;
  height: var(--fontSize60);
  margin: 0 var(--fontSize40) var(--fontSize20) 0;
}

.seles.active {
  background: rgba(53, 130, 238, 0.08);
  color: #347BFF;
  border-color: #347BFF;
}

.search-input search-input {
  border: none;
}