bargain.scss 7.83 KB
Newer Older
zhanghaozhe committed
1
@import "src/assets/css/variable";
zhanghaozhe committed
2
.bargain-func {
xuzhenghua committed
3 4
  padding: 8px;
  border-top: 8px solid $bg_f5f5f5;
zhanghaozhe committed
5

xuzhenghua committed
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
  @mixin clean-button-style {
    background: transparent;
    border: none;
    -webkit-appearance: none;
  }

  @mixin row-common {
    width: 100%;
    padding: 0 10px;
    border-bottom: 1px solid $border_e7eaf1;
  }

  .intro-outer {
    width: 360px;
    height: 133px;
    border: 5px solid $color_FE2F2F;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .intro-inner {
    width: 341px;
    height: 118px;
    padding-top: 15px;
    background: $bg_FFF8EB;
    border: 1px solid $color_FE2F2F;
    border-radius: 3px;

    & > div {
      height: 100%;
zhanghaozhe committed
37 38
    }

xuzhenghua committed
39 40
    p {
      font-size: $font_14;
zhanghaozhe committed
41 42 43
    }

    .intro-outer {
44
        width: 100%;
zhanghaozhe committed
45 46 47 48 49
        height: 133px;
        border: 5px solid $color_FE2F2F;
        display: flex;
        justify-content: center;
        align-items: center;
50
        padding: 0 5px;
zhanghaozhe committed
51 52 53
    }

    .intro-inner {
54
        width: 100%;
zhanghaozhe committed
55 56 57 58 59
        height: 114px;
        padding-top: 15px;
        background: $bg_FFF8EB;
        border: 1px solid $color_FE2F2F;
        border-radius: 3px;
wangshuo committed
60
    }
xuzhenghua committed
61 62
    p:nth-child(1) {
      margin-bottom: 3px;
zhanghaozhe committed
63 64
    }

xuzhenghua committed
65 66 67
    p:nth-child(2) {
      margin-bottom: 5px;
    }
zhanghaozhe committed
68 69


xuzhenghua committed
70 71 72 73 74 75 76 77 78 79 80
    button {
      @include clean-button-style;
      width: 210px;
      height: 39px;
      border-radius: 20px;
      box-shadow: 0 5px $bg_FFA200;
      background: $bg_FFE400;
      font-size: $font_16;
      color: $color_FE2F2F;
    }
  }
zhanghaozhe committed
81

xuzhenghua committed
82 83 84
  .indicator {
    color: $color_FE2F2F;
  }
zhanghaozhe committed
85 86


xuzhenghua committed
87 88 89 90 91 92 93 94
  .status-outer {
    width: 360px;
    padding: 5px;
    background: $bg_FE2F2F;
    display: flex;
    justify-content: center;
    align-items: center;
  }
zhanghaozhe committed
95

xuzhenghua committed
96 97 98 99 100 101 102
  .status-over {
    height: 99px !important;

    .time-tobuy {
      color: $color_FF4000;
      font-size: 12px;
      text-align: center;
xuzhenghua committed
103 104 105 106
      padding-top: 10px;
      .unit {
        color: $color_333;
      }
xuzhenghua committed
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

      .time {
        display: inline-block;
        width: 20px;
        height: 18px;
        background: $bg_666;
        border-radius: 2px;
        text-align: center;
        line-height: 18px;
        font-size: $font_12;
        color: $white;
      }

      .hour {
        margin-left: 7px;
      }

      .sec {
        margin-right: 5px;
      }

zhanghaozhe committed
128 129
    }

xuzhenghua committed
130 131 132 133
  }

  .status-inner {
    width: 350px;
xuzhenghua committed
134
    height: 130px;
xuzhenghua committed
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
    padding: 0 10px;
    background: $white;
    border-radius: 3px;

    .first-row {
      @include row-common;
      padding: 13px 0;
      display: flex;
      justify-content: space-between;

      .bargain-over {
        display: inline-block;
        margin-left: 10px;
        padding: 0 4px;
        height: 18px;
        line-height: 18px;
        background-color: $bg_666;
        border-radius: 2px;
        font-size: 12px;
        color: $white;
      }

xuzhenghua committed
157 158 159 160
      .over {
        color: $color_999;
      }

xuzhenghua committed
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
      .time {
        display: inline-block;
        width: 20px;
        height: 18px;
        background: $bg_666;
        border-radius: 2px;
        text-align: center;
        line-height: 18px;
        font-size: $font_12;
        color: $white;
      }

      .hour {
        margin-left: 7px;
      }

      .sec {
        margin-right: 5px;
      }
zhanghaozhe committed
180 181
    }

xuzhenghua committed
182 183 184 185 186 187
    .sec-row {
      @include row-common;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
zhanghaozhe committed
188

xuzhenghua committed
189
      & > div {
zhanghaozhe committed
190
        display: flex;
xuzhenghua committed
191
        justify-content: space-between;
zhanghaozhe committed
192
        align-items: center;
xuzhenghua committed
193
      }
zhanghaozhe committed
194

xuzhenghua committed
195 196 197 198 199 200
      img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        border-radius: 50%;
      }
zhanghaozhe committed
201

xuzhenghua committed
202 203 204 205 206
      button {
        @include clean-button-style;
        height: 26px;
        margin-left: 7px;
        background: $bg_FADD29;
zhanghaozhe committed
207
        border-radius: 3px;
xuzhenghua committed
208 209 210
        font-size: $font_12;
        color: $redprice;
      }
zhanghaozhe committed
211

xuzhenghua committed
212 213 214 215 216 217 218 219 220
      .name {
        font-size: 14px;
        color: $color_333;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
zhanghaozhe committed
221

xuzhenghua committed
222 223 224 225 226 227 228
    .third-row {
      @include row-common;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 7px 0;
      border: none;
zhanghaozhe committed
229

xuzhenghua committed
230 231 232 233 234 235 236 237
      button {
        @include clean-button-style;
        padding: 3px 9px;
        border: 1px solid $border_f31;
        border-radius: 11px;
        color: $border_f31;
        font-size: $font_12;
      }
zhanghaozhe committed
238
    }
xuzhenghua committed
239 240 241 242 243 244 245 246 247
  }
}

.overlay .bargain-close {
  color: #fff;
  font-size: 22px;
  position: relative;
  left: 50%;
  margin-left: -11px;
zhanghaozhe committed
248 249 250 251
}

.bargain-success {

xuzhenghua committed
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
  width: 290px;
  height: 109px;
  padding: 15px 33px;
  background: $white;
  border-radius: 5px;
  text-align: center;
  margin: 100px auto 20px auto;


  .title {
    font-size: $font_16;
    margin-bottom: 5px;
  }

  p:nth-of-type(2) {
    font-size: $font_14;
    margin-bottom: 15px;
  }

  p:nth-of-type(3) {
    font-size: $font_12;
  }

  .indicator {
    color: $color_FE2F2F;
  }


  .moreMbc {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 2;

    .content {
      width: 300px;
      height: 340px;
      background-color: $white;
      border-radius: 3px;
      margin: 130px auto 20px auto;
      position: relative;

      .title-box {
        width: 100%;
        height: 45px;
        text-align: center;
        color: $color_202426;
        font-size: 16px;
        line-height: 45px;
      }

      .more-bargain-list {
        width: 100%;
        height: 253px;
        overflow: auto;
        border-top: 1px solid $sp_e7eaf1;
        padding: 0 15px;
        background-color: $bg_f5f5f5;

        .bargain-item {
          border-bottom: 1px solid $sp_e7eaf1;
          height: 50px;
          display: flex;
          position: relative;

          .avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-top: 10px;
            margin-right: 10px;
          }


          .name {
            font-size: 14px;
            color: $color_333;
            max-width: 130px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            line-height: 50px;
          }

          .bargain-status {
            line-height: 50px;
            color: $color_333;
            font-size: 14px;
            position: absolute;
            right: 0;
          }
        }

      }
zhanghaozhe committed
349 350 351

    }

xuzhenghua committed
352 353 354 355 356 357 358 359 360
    .more-bargain-dec {
      width: 100%;
      position: absolute;
      bottom: 0;
      height: 42px;
      font-size: 12px;
      color: $color_FF4000;
      text-align: center;
      line-height: 42px;
zhanghaozhe committed
361 362
    }

xuzhenghua committed
363 364 365 366 367 368 369

    .close {
      color: #fff;
      font-size: 22px;
      position: relative;
      left: 50%;
      margin-left: -11px;
zhanghaozhe committed
370
    }
xuzhenghua committed
371 372 373 374 375 376
  }

}

.artifact-box, .use-artifact-box {
  text-align: center;
xuzhenghua committed
377 378 379 380 381 382 383 384

  .top-img {
    position: absolute;
    width: 135px;
    height: 67px;
    top: -67px;
    margin-left: -67px;
  }
xuzhenghua committed
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449

  .top-tip {
    font-size: 16px;
    color: $color_333;
    height: 16px;
    line-height: 16px;
  }

  .middle-tip {
    font-size: 14px;
    color: $color_333;
    height: 14px;
    line-height: 14px;
    margin-top: 15px;
  }

  .btm-tip {
    font-size: 14px;
    color: $color_666;
    height: 14px;
    line-height: 14px;
    margin-top: 10px;
  }

  .use-artifact {
    background-color: $bg_fff;
    width: 84px;
    height: 24px;
    font-size: 14px;
    border: 1px solid $redprice;
    border-radius: 12px;
    margin: 20px auto 0 auto;
    color: $redprice;
  }

  .tubuy {
    display: inline-block;
    margin-top: 17px;
    width: 81px;
    height: 24px;
    background-color: $redprice;
    border-radius: 12px;
    font-size: 16px;
    color: $white;
    border: none;
  }

  .indicator {
    color: $color_FE2F2F;
  }
}

.artifact-box {
  width: 300px;
  height: 130px;
}

.use-artifact-box {
  width: 300px;
  height: 148px;

  .middle-tip {
    color: $color_666;
  }

xuzhenghua committed
450 451
}