PageLoading.scss 807 Bytes
/* components/PageLoading/PageLoading.wxss */
.nothing {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  flex-direction: column;
  font-size: 28rpx;
  color: rgb(40, 40, 41);
}
.nothing.true{
  position: fixed;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}
.loading {
  height: 48rpx;
  margin-bottom: 16rpx;
}

.loading view {
  width: 16rpx;
  height: 100%;
  display: inline-block;
  animation: stretchdelay 1.2s infinite ease-in-out;
  margin: 0 4rpx;
}

.loading view:nth-child(2) {
  animation-delay: -1.1s;
}

.loading view:nth-child(3) {
  animation-delay: -1s;
}

.loading view:nth-child(4) {
  animation-delay: -.9s;
}

@keyframes stretchdelay {

  0%,
  100%,
  40% {
    transform: scaley(.33);
  }

  20% {
    transform: scaley(1);
  }
}