common.scss 3.52 KB
* {
  margin: 0;
  padding: 0;
  user-select: none;
}

.clearfix::after {
  display: block;
  content: '';
  clear: both;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.view-box {
  width: 4088px;
  height: 1728px;
  background: url("~@a/bg.jpg") no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  box-sizing: border-box;
  position: relative;
}

.box-center {
  width: 100%;
  height: 122px;
  background: url('~@a/box-center.png') no-repeat;
  background-size: 100% 100%;
}

.activation {
  position: absolute;
  height: calc(100% - 697px);
  width: calc(100% - 2048px);
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  pointer-events: none;
  &-box {
    position: absolute;
    width: 552px;
    height: 294px;
    background: url("~@a/activation-box.png") no-repeat;
    background-size: cover;
    box-sizing: border-box;
    padding: 23px 11px;
    transition: all 0.5s;
  }
  &-title {
    height: 60px;
    line-height: 60px;
    font-size: 28px;
    color: #fff;
    position: relative;
    text-indent: 78px;
    border-bottom: 2px solid rgba($color: #fff, $alpha: 0.2);
    div {
      font-size: 24px;
      opacity: 0.7;
      float: right;
      margin-right: 10px;
      text-indent: 0;
    }
  }
  &-title:after {
    content: "";
    position: absolute;
    width: 72px;
    height: 100px;
    background: url("~@a/address.png") no-repeat;
    background-size: cover;
    left: 6px;
    bottom: 8px;
  }
  &-info {
    height: calc(100% - 62px);
    box-sizing: border-box;
    padding-top: 53px;
    text-align: center;
    font-size: 30px;
    color: #fff;
    p {
      margin-top: 5px;
    }
  }
}

.view-box-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("~@a/bg2.png") no-repeat;
  background-size: 100% 100%;
  z-index: 2;
  pointer-events: none;
}

.header-count {
  letter-spacing: 32px;
}

.main {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-top: 24px;
  &-top {
    height: calc(100% - 519px);
    margin-bottom: 9px;
    &-left,
    &-right {
      width: 988px;
      height: 100%;
      position: relative;
      z-index: 3;
    }
    &-left {
      float: left;
      margin-left: 36px;
    }
    &-right {
      float: right;
      margin-right: 37px;
    }
    &-center {
      position: absolute;
      width: 4088px;
      height: 1728px;
      top: 0;
      left: 0;
      box-sizing: border-box;
    }
  }
  &-bottom {
    position: relative;
    width: 100%;
    height: 510px;
    background: url("~@a/bottom-bg.png") no-repeat;
    background-size: cover;
    box-sizing: border-box;
    z-index: 3;
    left: 0;
    &-item {
      float: left;
      width: 25%;
      height: 100%;
    }
  }
}

.ball-box {
  margin-bottom: 9px;
  height: 278px;
  .ball {
    float: left;
    width: 278px;
    height: 100%;
    position: relative;
    background: url("~@a/ball.png") no-repeat;
    background-size: cover;
    font-size: 66px;
    &-content {
      position: absolute;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      width: 100%;
      text-align: center;
    }
    p {
      font-size: 22px;
      color: #8e99a6;
    }
  }
  .ball-online {
    margin: 0 132px 0 136px;
  }
}

.count {
  padding-top: 24px;
  .count-item {
    float: left;
    width: 50%;
    text-align: center;
    font-size: 72px;
    font-weight: 700;
    p {
      font-weight: normal;
      font-size: 24px;
      margin-top: 8px;
      color: #8e99a6;
    }
  }
  .marginBottom {
    margin-bottom: 74px;
  }
}