subShopMerchant.wxss 1.54 KB
/* components/subShopMerchant/subShopMerchant.wxss */
.sub-shop-merchant-box{
  height: 100%;
  width: calc(100% + var(--fontSize64));
  transform: translateX(calc(-1 * var(--fontSize32)));
}
.sub-title {
  height: var(--fontSize100);
  font-size: var(--fontSize32);
  color: #333333;
  position: sticky;
  left: 0;
  top: 0;
  background-color: #fff;
  z-index: 2;
}
.text-hide {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.text-center{
  display: flex;
  align-items: center;
  justify-content: center;
}
.box{
  padding: 0 var(--fontSize32);
}
.merchant-box{
  /* max-height: var(--fontSize300); */
  overflow: auto;
  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);
}
.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);
}