index.scss 2.18 KB
/* InfoBoard styles */
.info-board {
  padding: 28rpx 0 0;
  .cells {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 16rpx;
    .cell {
      background: #FFFFFF;
      border-radius: 16rpx;
      border: 1rpx solid #DEE0E3;
      padding: 16rpx;
      box-sizing: border-box;
      min-width: 0;
      text-align: center;
      .cell-label {
        font-size: 24rpx;
        color: #757B85;
      }
      .cell-value {
        margin-top: 12rpx;
        font-size: 24rpx;
        display: flex;
        align-items: center;
        .more-icon {
          width: 32rpx;
          height: 32rpx;
          margin-left: 4rpx;
        }
        .value-text {
          color: #292D33;
          height: 36rpx;
          flex: 1;
          min-width: 0;
          font-weight: 600;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }
      .highlight {
        .value-text {
          font-weight: 700;
          font-size: 36rpx;
          line-height: 36rpx;
        }
      }
    }
    .cell-full {
      grid-column: 1 / -1;
    }
    .cell-span2 {
      grid-column: span 2;
    }
  }
}

.board-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  .board-backdrop {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.6);
  }
  .board-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 622rpx;
    max-width: 88%;
    background: #fff;
    border-radius: 20rpx;
    box-shadow: 0 8rpx 24rpx rgba(0,0,0,.08);
    overflow: hidden;
    .board-title {
      padding-top: 48rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 34rpx;
      color: #292D33;
      font-weight: 600;
    }
    .board-content {
      padding: 32rpx 48rpx 48rpx;
      font-size: 28rpx;
      color: #5A5E66;
      word-break: break-all;
    }
    .board-footer {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24rpx;
      border-top: 1rpx solid #EBEDF0;
      color: #292D33;
      font-size: 32rpx;
    }
  }
}