index.scss 2.39 KB
/* pages/tab/index/pages/index/index.wxss */
page {
  background-color: #F9F7F7;
}


.home-top {
  height: 88rpx;
  display: flex;
  align-items: center;
  padding-left: 30rpx;
}

.flex {
  display: flex;
  align-items: center;
}

.scroll-bg {
  position: absolute;
  top: 0;
}

.logo {
  z-index: 10;
}

.logo image {
  width: 176rpx;
  height: 34rpx;
}

.widget-box {
  margin-left: 16rpx;
  width: 112rpx;
  height: 40rpx;
}


.layout {
  position: relative;
  padding-top: 16rpx;
  background: transparent;

  .notice-bar {
    height: 56rpx;
    border-radius: 8rpx;
    margin: 6rpx 0 16rpx;
  }

}

.bg-box {
  width: 100%;
  height: 446rpx;
  overflow: hidden;
  position: absolute;
  left: 0;
}

.bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.menu-box {
  margin-top: 14rpx;
}

.sticky {
  background: #F9F7F7;
  padding: 10rpx 0;
}

.wx {
  position: fixed;
  right: 0;
  bottom: 245rpx;
  width: 96rpx;
  height: 96rpx;
  z-index: 100;
}

.hidden-top {
  animation: hideToTop .5s forwards;
}

.show-top {
  animation: showToTop .5s forwards;
}

@keyframes hideToTop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(80rpx);
  }
}

@keyframes showToTop {
  0% {
    transform: translateX(40rpx);
  }

  100% {
    transform: translateX(0);
  }
}

.nothing {
  flex-direction: column;
  font-size: 28rpx;
  color: #858A94;
}

.nothing .icon {
  width: 320rpx;
  height: 320rpx;
  margin-bottom: 8rpx;
}

.widget .icon {
  width: 100%;
  height: 200%;
  position: relative;
}

.online-text {
  font-size: 16rpx;
  color: #2A69FF;
}

.split-line {
  padding-bottom: 20rpx;
  text-align: center;
}

.split-line .split-title {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  color: #000;
}

.split-line .split-title .line {
  width: 60rpx;
  height: 4rpx;
  border-radius: 2px;
}

.split-line .split-title .left-line {
  background-image: linear-gradient(90deg, #fcedcd00 0%, #8A303A 100%);
  margin-right: 71rpx;
}

.split-line .split-title .right-line {
  background-image: linear-gradient(90deg, #8A303A 0%, #fcedcd00 100%);
  margin-left: 71rpx;
}

.split-line .split-text {
  margin-top: 10rpx;
  width: 100%;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #858A94;
}

.goods-bottom {
  padding: 20rpx 0;
  text-align: center;
  font-size: 24rpx;
  color: #999999;
}