wish.scss 7.61 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

.page {
  font-weight: 300;
  padding-bottom: $pageBottom;

  .bgc {}

  .bg {
    .b1 {
      position: absolute;
      width: 750px;
      height: 576px;
    }

    .b1 {
      position: absolute;
      width: 750px;
      height: 576px;
    }
  }

  .decoration {
    position: relative;

    .d1 {
      position: absolute;
      width: 532px;
      height: 847px;
      top: 290px;
      right: 0;
    }
  }

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

    .content {
      position: relative;

      // 我的信息框
      .my {
        position: relative;
        margin: 0 auto 0;
        width: 742px;
        height: 957px;

        .ebg {
          position: absolute;
          width: 742px;
          height: 957px;
        }

        .portrait {
          position: absolute;
          width: 182px;
          height: 182px;
          border-radius: 91px;
          left: 0;
          right: 0;
          top: -82px;
          margin: 0 auto;
        }

        // 内容
        .cont {
          position: relative;
          text-align: center;

          // 占位
          .space1 {
            height: 118px;
          }

          .nickname {
            color: #ba3039;
            font-size: 36px;
          }

          .number {
            color: #999999;
            font-size: 24px;
          }

          .mycard {
            @include cb(160px, 48px);
            margin: 16px auto;
            font-size: 24px;


            // @include cb(160px, 48px);
            // margin: 16px auto;
            // font-size: 24px;
            // @include btc(160px, 48px);
            // color: #bf0221;
            // background-image: linear-gradient(to right, #fbddd5, #f9efed 51%, #ffded9 99%), linear-gradient(to bottom, #000000, #000000);
            // border-radius: 24px;
          }


        }

        // 奖品
        .wish {
          margin: 0 auto 0;
          position: relative;
          width: 630px;

          &-item {
            position: relative;
            display: flex;
            justify-content: space-between;
            height: 124px;
            padding: 30px 0;
            border-bottom: solid 1px #dadada;

            .display {
              position: relative;
              width: 124px;
              height: 124px;
              border-radius: 62px;
              background-image: radial-gradient(circle at 0 0, #ffffff, #f2e6e6);
              @extend .fcc;

              .prod {
                max-width: 200px;
                max-height: 200px;
              }
            }

            .mid {
              display: flex;
              flex: 1;
              // background-color: wheat;
              flex-wrap: wrap;
              padding: 0 20px;
              @extend .bb;

              .name {
                color: #333333;
                font-size: 26px;
                @include ellipsis(2);
              }

              .progress {
                display: flex;
                align-items: flex-end;
                align-self: flex-end;

                $proWidth: 220px;

                .pro {
                  width: $proWidth;
                  position: relative;

                  .flag {
                    position: absolute;
                    left: -51px;
                    bottom: 14px;
                    color: #a97a4b;
                    font-size: 16px;
                    width: 51px;
                    height: 30px;

                    image {
                      position: absolute;
                      width: 51px;
                      height: 30px;
                    }

                    .t1 {
                      position: relative;
                      text-align: center;
                      width: 51px;
                      padding-top: 2px;
                    }
                  }

                  .line {
                    $progressHeight: 12px;
                    width: $proWidth;
                    height: $progressHeight;
                    background-color: #dcdcdc;

                    &-thumb {
                      width: 0%;
                      height: $progressHeight;
                      background-color: #ba3038;
                      transition: width 4s;
                    }
                  }
                }

                .val {
                  font-size: 20px;
                  color: #999999;
                  padding-left: 8px;
                }
              }
            }

            .btn {
              @include cb(180px, 60px);
              align-self: center;
              font-size: 28px;
            }

            .disable {
              background: transparent;
              background-color: #d2d2d2;
            }
          }

          &-item2 {
            border-bottom: none;
          }
        }

        // 海报按钮
        .poster-btn {
          position: absolute;
          left: 0;
          right: 0;
          bottom: 42px;
          margin: 0 auto;
          box-shadow: 0px 2px 9px 0 rgba(0, 0, 0, 0.2);
          background-image: linear-gradient(to right, #b83138, #f2234a 51%, #b83138);
          color: #ffffff;
          font-size: 28px;
          @include btc(192px, 54px);
          @include border-top-radius(28px);
        }
      }

      // 协作
      .coop {
        margin-top: 60px;
        text-align: center;

        .tit {
          color: #a01635;
          font-size: 40px;
        }

        .tips {
          margin-top: 16px;
          color: #333333;
          font-size: 24px;

          .t1 {
            color: #ba3039;
          }
        }

        .list {
          margin: 32px auto 0;
          width: 654px;
          height: 331px;
          background-color: #fffbf8;
          padding: 30px 20px;
          @extend .bb;
          overflow-y: auto;

          &-item {
            font-size: 22px;
            width: 100%;
            // margin: 12px 0;
            margin-bottom: 20px;
            text-align: left;

            .t1 {
              color: #af435a;
            }

          }

          .empty {
            text-align: center;
            padding-top: 80px;
            color: #333333;
            font-size: 24px;
          }
        }
      }

      // 按钮容器
      .btn-wrap {
        position: relative;
        margin: 72px auto 0;
        width: 654px;
        display: flex;
        justify-content: space-between;

        .btn {
          @include cb(300px, 80px);
        }

        .btn2 {
          border-radius: 40px;
          border: solid 2px #b83138;
          background: transparent;
          color: #a21f3c;
        }
      }
    }

    .rule-btn {
      position: absolute;
      top: 32px;
      right: 0;
      @include border-left-radius(30px);
      @include btc(162px, 60px);
      font-size: 30px;
      color: #bf0221;

      box-shadow: 7.4px 8.2px 27px 0 rgba(228, 78, 96, 0.86);
      background-image: linear-gradient(to right, #fbddd5, #f9efed 51%, #ffded9 99%), linear-gradient(to bottom, #000000, #000000);

      .c1 {
        padding-left: 12px;
      }
    }
  }
}

.guide {
  position: relative;

  .mask {
    background-color: rgba($color: #000000, $alpha: .7);
    width: 100%;
    height: 100%;
    z-index: 101;
    position: fixed;
    bottom: 0;
  }

  &-item {
    position: absolute;
    z-index: 9999;
  }

  &-item-1 {
    width: 459px;
    height: 281px;
    top: 30px;
    right: 2px;
  }

  &-item-2 {
    width: 565px;
    height: 281px;
    top: 296px;
    left: 127px;
  }

  &-item-3 {
    width: 565px;
    height: 281px;
    top: 899.8px;
    left: 159px;
  }

  &-item-4 {
    width: 410px;
    height: 199px;
    top: 1588px;
    left: 292px;
  }
}