index.scss 4.29 KB
Newer Older
FE committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
.collect-blessing {
  padding-bottom: 30px;
}

.collect-blessing__item {
  display: flex;
  align-items: center;
  position: relative;
  width: 335px;
  height: 60px;
  margin: 20px auto 0;
  border-radius: 5px;
  background-color: #fff;
}

.collect-blessing__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  padding-left: 6px;
  box-sizing: border-box;
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
  color: #FFFFFD;
  line-height: 21px;
  background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/blessing-number-bg.png');
  background-size: cover;
}



.collect-blessing__title {
  flex: 1;
  padding: 0 8px 0 24px;
  font-size: 12px;
  color: #333;
  line-height: 18px;
}

.collect-blessing__content {
  display: inline-flex;
FE committed
45
  flex-direction: column;
FE committed
46 47 48 49
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 100%;
FE committed
50
  padding: 0;
FE committed
51
  border-style: none;
FE committed
52 53 54 55 56
  border-radius: 5px;
  font-size: 12px;
  color: #fff;
  text-align: center;
  background: linear-gradient(-40deg,rgba(255,75,240,1) 0%,rgba(162,0,255,1) 100%);
FE committed
57

FE committed
58 59 60 61 62
  i {
    font-style: normal;
    font-size: 12px;
  }

FE committed
63 64 65
  &[data-layout="column"] {
    flex-direction: column;
  }
FE committed
66 67 68 69

  &[data-status="done"] {
    background: rgba(82,92,101,.3);
  }
FE committed
70 71 72 73 74 75 76 77 78 79 80 81 82
}

.collect-blessing__label {
  margin: 0 0 8px;
}

.collect-blessing__share {
  display: flex;
  align-items: center;
  justify-content: center;
}

.collect-blessing__share-button {
FE committed
83 84
  display: block;
  width: 20px;
xuzhenghua committed
85
  height: 14px;
FE committed
86 87
  border-style: none;
  background-color: transparent;
FE committed
88 89 90 91 92
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;

  &[data-type="qq"] {
xuzhenghua committed
93
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/qq.png');
FE committed
94 95 96
  }

  &[data-type="wechat"] {
xuzhenghua committed
97 98
    height: 16px;
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/wechat.png');
FE committed
99
  }
FE committed
100 101

  &[data-type="weibo"] {
xuzhenghua committed
102 103
    height: 17px;
    background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/weibo.png');
FE committed
104
  }
wangshuo committed
105 106 107 108 109 110 111 112 113
}

.activity__over {
  font-size:12px;
  font-weight:400;
  color:rgba(255,243,240,1);
  margin: 10px auto;
  text-align: center;
}
FE committed
114

wangshuo committed
115 116 117 118 119 120 121 122 123 124 125
.login__btn {
  width:34px;
  height:18px;
  background:linear-gradient(0deg,rgba(255,67,2,1), rgba(255,132,0,1));
  border-radius:3px;
  color: #FFF;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  margin-right: 12px;
}
FE committed
126

wangshuo committed
127 128 129 130 131 132 133 134 135 136 137 138
.text_nologin {
  font-size:16px;
  font-weight:600;
  color:rgba(255,243,240,1);
  margin-left: 12px;
}

.rules__item {
  background: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/fuqi_bj1.png') center center no-repeat;
  background-size: 100% 100%;
  width: 336px;
  padding: 18px 18px 10px 18px;
FE committed
139 140
  margin: 10px auto 0;
  box-sizing: border-box;
wangshuo committed
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 106px;

  .item__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 100%;
    padding-right: 10px;

    .tip__bubble {
      position: relative;
      margin-bottom: 10px;
      .tip__text {
        width: 54px;
        height: 22px;
        background:linear-gradient(90deg,rgba(245,175,172,1) 0%,rgba(241,226,229,1) 100%);
        border-radius:3px;
        font-weight:400;
        line-height: 22px;
        text-align: center;
        color:rgba(255,67,2,1);
      }
      .tip__style {
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #F3C9C9;
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
      }
    }

    .range__number {
      font-size:16px;
      font-weight:500;
      color:rgba(255,67,2,1);
    }
  }

  .item__right {
    border-left: 1px dashed rgba(255,255,255, .5);
    flex: 1 1 auto;
    font-size:12px;
    font-weight:400;
    color:rgba(242,240,250,1);
    line-height:15px;
    padding: 8px 0 8px 20px ;

    p {
      margin-bottom: 10px;
FE committed
200
      line-height: 1;
FE committed
201

wangshuo committed
202
      &:last-child {
xuzhenghua committed
203
        margin-bottom: 0;
wangshuo committed
204 205 206 207 208 209 210 211
      }
      span {
        font: size 12px;
        font-weight:400;
        color:rgba(255,223,4,1);
        line-height:15px;
      }
    }
FE committed
212
  }
FE committed
213
}