summary.scss 3.62 KB
/* packageOutput/pages/summary/summary.wxss */
// page {
// background-color: #FFFFFF;
// background-color: #F2F3F7;
// }

.summary {
  .flex {
    display: flex;
  }

  .p-rl-20 {
    padding: 0 20rpx;
  }

  .m-rl-20 {
    margin: 0 20rpx;
  }

  .bg-white {
    background-color: #FFFFFF;
  }

  .bg-grey {
    background-color: #F2F3F7;
  }

  .layout {
    color: #323436;
    height: 100vh;
    // padding-top: 12rpx;
    margin-bottom: 90rpx;

    .title {
      font-size: 32rpx;
      font-weight: 600;
      padding: 12rpx 20rpx 12rpx 20rpx;
      border-bottom: 1rpx dashed #CCCED1;
    }

    .title-open {
      float: right;
      font-size: 28rpx;
      color: #3666FE;
      font-weight: 400;
    }

    .icon-open {
      width: 38rpx;
      height: 38rpx;
    }

    .scene-box {
      padding: 27rpx 0 24rpx;
    }

    scroll-view ::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
      color: transparent;
    }

    .activity-box {
      width: 100%;
      height: 64rpx;
      padding: 32rpx 0 28rpx;

      .activity-item {
        box-sizing: border-box;
        flex-shrink: 0;
        height: 64rpx;
        line-height: 64rpx;
        font-size: 24rpx;
        padding: 0 16rpx;
        margin-right: 16rpx;
        border-radius: 4rpx;
      }

      .activity-item:last-child {
        margin-right: 0;
      }

      .activity-item.open {
        color: #323436;
        border: 2rpx solid #DDE3F0;
      }

      .activity-item.no-open {
        color: #CCCED1;
        border: 2rpx solid #DDE3F0;
      }

      .activity-item.active {
        // background: #3666FE;
        box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.40), 0 4rpx 8rpx 0 rgba(180, 186, 204, 0.32);
        // color: #FFFFFF;
        border-width: 0;
      }

      .activity-item.open.active {
        background: #3666FE;
        color: #FFFFFF;
      }

      .activity-item.no-open.active {
        background: #CCCED1;
        color: #323436;
      }
    }

    .activity-content {
      .activity-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 400;

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

          font-size: 24rpx;
          color: #323436;

          .select-txt {
            line-height: 40rpx;
          }

          .icon-arrow {
            width: 24rpx;
            height: 24rpx;
            margin: 6rpx 0 0 6rpx;
          }
        }
      }

      .activity-title.no-border {
        border-width: 0;
      }

      .content-empty {
        text-align: center;
        margin-top: 48rpx;

        .img-empty {
          width: 512rpx;
          height: 512rpx;
        }
      }
    }
  }

  .btn-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 116rpx;
    background-color: #FFFFFF;
  }

  .btn-box.shadow {
    box-shadow: 0 -2rpx 2rpx 0 rgba(0, 0, 0, 0.08);
  }

  .btn {
    width: calc(100% - 64rpx);
    height: 88rpx;
    line-height: 88rpx;
    text-align: center;
    font-size: 28rpx;
    color: #FFFFFF;
    margin: 14rpx 32rpx;

    .btn-blue {
      background: #3666FE;
      border-radius: 8rpx;
    }

    .btn-disabled {
      background: #CCCED1;
      border-radius: 8rpx;
    }

    .btn-share {
      background: #3666FE;
      border-radius: 12rpx;
      // animation: xing ease-in-out 2s infinite;
    }
  }
}

@keyframes xing {
  0% {
    transform: scale(0.85);
  }

  25% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.85);
  }

  75% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.85);
  }
}

.summary .layout .p-l-20 {
  padding: 12rpx 40rpx;
}