index.wxss 728 Bytes
.sidebar-item {
  height: 88rpx;
  line-height: 88rpx;
  /* background: rgba(204, 206, 209, 0.20); */
}
.inner-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: PingFangSC-Medium;
  font-size: 24rpx;
  color: #2D2D33;
  text-align: center;
  padding-left: 10rpx;
  line-height: 30rpx;
  height: 100%;
}
.sidebar-item-active {
  font-family: PingFangSC-Medium;
  font-weight: 500;
  font-size: 24rpx;
  color: #5850FF;
  background: #fff;
}
.sidebar-item-active:after {
  display: block;
  content: "";
  width: 6rpx;
  height: 40rpx;
  background: #5850FF;
  border-radius: 0 4rpx 4rpx 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}