retaList.sass 6.49 KB
/* packageWorkspace/pages/performanceRating/rateList/retaList.wxss */
page {
  background: #F2F3F7;
}
.ratelist {
  .flex {
    display: flex;
    align-items: center;
  }
  .top-box {
    background: #FFF;
    width: 100%;
    height: var(--fontSize88);
    padding: 0 var(--fontSize32);
    justify-content: space-between;
    box-sizing: border-box;
    .date-box {
      width: var(--fontSize286);
      height: var(--fontSize64);
      border-radius: var(--fontSize40);
      background: #f2f3f5;
      font-size: var(--fontSize32);
      color: #222222;
      justify-content: center;
      image {
        width: var(--fontSize32);
        height: var(--fontSize32);
      }
    }
    .btn-box {
      font-size: 28rpx;
      image {
        width: 32rpx;
        height: 32rpx;
        margin-right: 8rpx;
      }
      .note {
        margin-right: 16rpx;
      }
    }
  }

  .container {
    box-sizing: border-box;
    height: calc(100vh - var(--fontSize88));
    .rule-card {
      background: #FFFFFF;
      padding: 24rpx;
      border-radius: 0 0 32rpx 32rpx;
      .title {
        font-size: 28rpx;
        color: #222222;
        font-weight: 500;
        margin-bottom: 32rpx;
        image {
          width: 32rpx;
          height: 32rpx;
          flex-shrink: 0;
          margin-right: 8rpx;
        }
      }
      .box {
        font-size: 24rpx;
        color: #777777;
        margin-bottom: 32rpx;
        .box-title {
          font-size: 26rpx;
          color: #222222;
          margin-bottom: 16rpx;
        }
      }
      .arrow-btn {
        justify-content: center;
        font-size: 24rpx;
        color: #999999;
        image {
          width: 32rpx;
          height: 32rpx;
          transform: rotate(-90deg);
          margin-left: 8rpx;
        }
      }
    }
    .empty-box {
      width: 100%;
      height: 16rpx;
    }
    .top {
      margin: 0 24rpx 16rpx;
      .title {
        font-size: 26rpx;
        color: #222222;
        margin-bottom: 16rpx;
        .tips {
          color: #666666;
          font-size: 24rpx;
          margin-left: 8rpx;
        }
      }
      .card-row {
        display: flex;
        flex-wrap: wrap;
        gap: 16rpx;
        margin-bottom: 16rpx;
        &.card-row2 {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          margin-bottom: 0;
        }
        .card {
          flex: 1;
          display: flex;
          flex-flow: column;
          justify-content: center;
          align-items: center;
          height: 128rpx;
          border-radius: 24rpx;
          background: #ffffff;
          .label {
            font-size: 24rpx;
            color: #666666;
          }
          .value {
            font-size: 36rpx;
            color: #0066ff;
            font-weight: bold;
            margin-top: 10rpx;
          }
        }
      }
    }
    .list-box {
      margin: 24rpx;
      min-height: 100%;
      .sticky-box {
        position: sticky;
        top: 0;
        margin: -16rpx -24rpx 0;
        padding: 16rpx 24rpx;
        z-index: 99;
        background: #F2F3F7;
      }
      .is-sticky {
        background: #FFFFFF;
        .search-input {
          background: #f7f8fa;
        }
        .filter-item {
          background: #f7f8fa !important;
        }
      }
      .search-input {
        background: #ffffff;
        border-radius: var(--fontSize38);
        width: 100%;
        height: var(--fontSize72);
        display: flex;
        align-items: center;
        margin-bottom: 16rpx;
        .search-icon {
          width: var(--fontSize28);
          height: var(--fontSize28);
          margin: 0 var(--fontSize10) 0 var(--fontSize26);
        }
        .search-clear {
          width: var(--fontSize36);
          height: var(--fontSize36);
          margin: 0 var(--fontSize26) 0 var(--fontSize10);
        }
        .input {
          font-size: var(--fontSize28);
          height: var(--fontSize38);
          line-height: var(--fontSize38);
          width: calc(100% - var(--fontSize136));
        }
        .input-placeholder {
          color: #BBBBBB;
        }
      }
      .filter-box {
        justify-content: space-between;
        .filter-item {
          height: 56rpx;
          border-radius: 56rpx;
          background: #ffffff;
          padding: 0 16rpx 0 24rpx;
          font-size: 26rpx;
          color: #666666;
          margin-right: 16rpx;
          &.active {
            color: #2C66F7;
          }
          text {
            line-height: 40rpx;
          }
          image {
            width: 32rpx;
            height: 32rpx;
            flex-shrink: 0;
            margin-left: 8rpx;
          }
        }
        .reset-btn {
          color: #222222;
          font-size: 26rpx;
        }
      }
      .list {
        .item {
          border-radius: 32rpx;
          background: #ffffff;
          margin-bottom: 24rpx;
          padding: 32rpx;
          .item-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 32rpx;
            color: #222222;
            margin-bottom: 24rpx;
            .name {
              max-width: calc(100% - 110rpx);
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              font-weight: 500;
            }
            .status {
              font-size: 24rpx;
              padding: 0 12rpx;
              height: 44rpx;
              line-height: 44rpx;
              border-radius: 8rpx;
            }
          }
          .list-item {
            display: flex;           
            margin-bottom: 12rpx;
            font-size: 28rpx;
            .label {
              width: 144rpx;
              flex-shrink: 0;
              margin-right: 32rpx;
              color: #999999;
            }
            .split {
              margin: 0 8rpx;
            }
            .score {
              margin-left: 12rpx;
						}
						.value {
							word-break: break-all;
						}
          }
          .btn-box {
            justify-content: flex-end;
            margin-top: 24rpx;
            .btn {
              width: 168rpx;
              height: 64rpx;
              line-height: 64rpx;
              border-radius: 16rpx;
              background: #2c66f71a;
              text-align: center;
              color: #2C66F7;
              font-size: 26rpx;
            }
            .primary {
              color: #FFFFFF;
              margin-left: 24rpx;
              background: #2C66F7;
            }
          }
        }
      }
    }
  }
}