rank.scss 4.52 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

.page {
  padding-bottom: $pageBottom;

  .bgc {
    background-color: #f3dfe2;
  }

  .bg {}

  .decoration {
    position: relative;

    .d1 {
      position: absolute;
      width: 90px;
      height: 433px;
      top: 340px;
      left: 0;
      z-index: 11;
    }

    .d2 {
      position: fixed;
      width: 145px;
      height: 368px;
      right: 0;
      top: 220px;
      z-index: 11;
    }
  }

  .main {
    .top-space {
      height: 0px;
    }

    .content {
      position: relative;

      // banner图
      .banner {
        position: relative;
        width: 750px;
        height: 435px;
        z-index: 22;

        .ebg {
          position: absolute;
          width: 750px;
          height: 435px;
        }

        .space1 {
          height: 40px;
        }

        .bang {
          position: relative;
          display: flex;
          justify-content: center;

          &-item {
            width: 175px;
            height: 175px;
            margin: 0 27px;
            color: #ffffff;
            text-align: center;

            .display {
              width: 175px;
              height: 200px;
              // background-color: wheat;
              display: flex;
              align-items: flex-end;
              justify-content: center;

              .border {
                position: relative;
                width: 175px;
                height: 175px;
                border: solid 3px #e1ba32;
                border-radius: 87.5px;
                @extend .fcc;

                .inner {
                  width: 160px;
                  height: 160px;
                  background-color: #fff;
                  border-radius: 80px;
                  @extend .fcc;

                  .portrait {
                    width: 156px;
                    height: 156px;
                    border-radius: 78px;
                  }
                }

                .inner2 {
                  width: 116px;
                  height: 116px;
                  border-radius: 58px;
                }

                .no {
                  background-image: linear-gradient(to bottom, #ffe375, #ffbf27);
                  position: absolute;
                  left: 0;
                  right: 0;
                  bottom: -12px;
                  margin: 0 auto;
                  color: #b6141c;
                  @include btc(107px, 38px);
                  font-size: 30px;
                }

                .no2 {
                  @include btc(77px, 28px);
                  background-image: none;
                  background-color: #9e9e9e;
                  font-size: 22px;
                }

                .no3 {
                  background-color: #ca8d54;
                }

              }

              .border2 {
                width: 127px;
                height: 127px;
                border: solid 3px #9e9e9e;
              }

              .border3 {
                width: 127px;
                height: 127px;
                border: solid 3px #e1ba32;
              }
            }

            .nickname {
              margin-top: 32px;
              font-size: 28px;
              @include ellipsis(1);
            }

            .val {
              font-size: 24px;
              margin-top: 2px;
            }

          }
        }
      }

      .rank {
        margin: 24px auto 0;
        width: 692px;
        min-height: 874px;
        background-color: #ffffff;
        padding: 32px 0;
        @extend .bb;

        &-item {
          margin: 0 auto;
          height: 120px;
          width: 620px;
          border-bottom: solid 1px #dfd8d4;
          display: flex;
          align-items: center;

          .no {
            width: 80px;
            text-align: center;
            color: #c10323;
            font-size: 24px;
          }

          .portrait {
            @extend .fcc;
            margin: 0 40px;
            width: 76px;
            height: 76px;
            background-color: #c0162a;
            border-radius: 38px;

            image {
              width: 72px;
              height: 72px;
              border-radius: 32px;
            }
          }

          .nickname {
            flex: 1;
            color: #333333;
            font-size: 24px;
            @include ellipsis(1);
          }

          .val {
            width: 100px;
            text-align: center;
            color: #c10323;
            font-size: 28px;
          }

        }

        .last {
          border-bottom: none;
        }
      }
    }
  }
}