coop.scss 7.23 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

.page {

  font-weight: 300;

  .bgc {}

  .bg {
    position: fixed;
    width: 100%;
    height: 100%;
  }

  .decoration {
    position: relative;
    z-index: 11;

    .d1 {
      position: absolute;
      width: 728px;
      height: 292px;
      top: -60px;
      left: 11px;
    }
  }


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

    .content {
      position: relative;

      // 摇一摇
      .shake {
        margin: 0 auto;
        width: 700px;
        height: 920px;

        .ebg {
          width: 700px;
          height: 920px;
          position: absolute;
        }

        .space1 {
          height: 52px;
        }

        .cont {
          position: relative;

          .tips {
            margin: 0 auto;
            width: 480px;
            color: #333333;
            font-size: 28px;
            line-height: 1.6;
            height: 140px;
            @include ellipsis(3);
          }

          // 心愿
          .wish {
            position: relative;
            margin: 450px auto 0;
            display: flex;
            // justify-content: center;
            @extend .bb;
            min-height: 238px;
            width: 630px;

            &-item {
              position: relative;
              text-align: center;
              width: 210px;

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

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

                .close {
                  width: 30px;
                  height: 30px;
                  position: absolute;
                  bottom: 0;
                  right: 0;
                }
              }

              .name {
                width: 160px;
                margin: 8px auto 0;
                color: #333333;
                font-size: 20px;
                // font-weight: 300;
              }

              .val {
                @extend .fcc;
                color: #b93138;
                font-size: 20px;
                margin-top: 4px;

                .icon {
                  margin-left: 6px;
                  width: 11px;
                  height: 18px;
                }
              }
            }
          }

        }
      }

      .result-wrap {
        position: relative;


      }

      // 摇后结果
      .result {
        margin: 0 auto;
        width: 706px;
        height: 923px;

        .ebg {
          width: 706px;
          height: 923px;
          position: absolute;
        }

        .space1 {
          height: 32px;
        }

        .cont {

          position: relative;

          .portrait-wrap {
            position: relative;
            width: 400px;
            height: 100px;
            margin: 20px auto 0;
            display: flex;
            justify-content: space-between;

            .connect {
              position: absolute;
              left: 0;
              right: 0;
              top: 0;
              bottom: 0;
              margin: auto;
              width: 290px;
              height: 54px;
            }

            .portrait {
              position: relative;
              width: 100px;
              height: 100px;

              image {
                width: 100px;
                height: 100px;
                border-radius: 50px;
              }
            }
          }

          .user {
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 98px;
            @extend .bb;

            .portrait {
              width: 100px;
              height: 100px;
              border-radius: 50px;
            }

            .nickname {
              font-size: 24px;
              color: #333333;
              line-height: 1.5;
              width: 390px;
              margin-left: 17px;

            }
          }

          .tips2 {
            margin-top: 46px;
            font-size: 30px;
            text-align: center;
            color: #c82d3e;
            // background-color: wheat;
            height: auto;

            .t1 {
              line-height: 1.6;
              height: auto;
            }
          }

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

            &-item {
              position: relative;
              display: flex;
              justify-content: space-between;
              height: 124px;
              padding: 24px 0;

              .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;
                flex-wrap: wrap;
                padding: 14px 20px;
                @extend .bb;

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

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

                  $proWidth: 322px;

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

                    .flag {
                      position: absolute;
                      left: 0px;
                      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 {
                      width: $proWidth;
                      height: 12px;
                      border-radius: 6px;
                      background-color: #f7e4e5;

                      &-thumb {
                        height: 12px;
                        border-radius: 6px;
                        background-color: #ba3038;
                      }
                    }
                  }

                  .val {
                    font-size: 24px;
                    color: #c82d3e;
                    padding-left: 12px;
                  }
                }
              }
            }
          }

        }

      }

      .play-too-btn {
        @include cb(234px, 64px);
        margin: 24px auto 0;
      }
    }
  }
}