index.scss 1.63 KB
page {
  background-color: #F5F5F7;
}

.main-box {
  box-sizing: border-box;
  height: 100%;
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;

  .main-bottom {
    background: #FFFFFF;
    padding-top: 24rpx;
    flex: 1;
  }
}
.main-content {
  // padding-bottom: 110rpx;
}

/** 菜单tab样式开始 */
.tab-list {
  display: flex;
  margin: 0 32rpx;

  .tab-item {
    width: 220rpx;
    height: 144rpx;
    background: #F5F6FA;
    border-radius: 8rpx;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    font-size: 24rpx;
    color: #6E6D8F;
    text-align: center;
    margin-top: 24rpx;
    position: relative;
    margin-right: 16rpx;

    &:last-child {
      margin-right: 0;
    }

    &-active {
      color: #FFFFFF;
      background-image: url("https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/icon-bg.png");
      background-size: 220rpx 144rpx;
    }

    .tab-img {
      width: 72rpx;
      height: 72rpx;
      position: absolute;
      top: 16rpx;
      left: 50%;
      transform: translateX(-50%);
    }

    .tab-text {
      position: absolute;
      top: 88rpx;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
    }
  }
}

/** 菜单tab样式结束 */

/* 右下角图标 */
.floating-box {
  position: fixed;
  display: flex;
  flex-direction: column;
  right: 6rpx;
  bottom: 180rpx;
}

.floating-icon {
  width: 128rpx;
  height: 128rpx;
}
/** end */

.loadding {
  height: 100vh;
  font-weight: 500;
  font-size: 48rpx;
  color: #2D2D33;
  text-align: center;
  margin-top: 340rpx;
  &-img {
    width: 432rpx;
    height: 300rpx;
    margin-bottom: 50rpx;
  }
}