rank.scss 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. @import "../../../sass/base/mixins";
  2. $borderColor : #dcdcdc;
  3. $orange : #ff6b1a;
  4. .page-zt-rank{
  5. min-height: 100%;
  6. background: #ffffff;
  7. .rank-hd{
  8. height: px2rem(80);
  9. line-height: px2rem(80);
  10. padding: 0 px2rem(24);
  11. position: relative;
  12. z-index: 2;
  13. font-size: px2rem(28);
  14. color: #181818;
  15. .hd-row1{
  16. display: flex;
  17. justify-content: space-between;
  18. position: relative;
  19. z-index: 2;
  20. background: #ffffff;
  21. }
  22. .hd-row2{
  23. display: none;
  24. position: absolute;
  25. top: px2rem(80);
  26. left: 0;
  27. z-index: 1;
  28. width: 100%;
  29. background: #ffffff;
  30. transform: translateY(-100%);
  31. transition: all .2s;
  32. &.active{
  33. transform: translateY(0);
  34. }
  35. }
  36. .btn-choose{
  37. display: none;
  38. color: #888888;
  39. font-size: px2rem(24);
  40. padding-right: px2rem(32);
  41. background: url(../../img/icon-choose.png) right center no-repeat;
  42. background-size: auto px2rem(24);
  43. }
  44. .list-choose{
  45. border-top: 1px solid $borderColor;
  46. li{
  47. border-bottom: 1px solid $borderColor;
  48. padding: 0 px2rem(24);
  49. text-align: center;
  50. color: $orange;
  51. }
  52. .item-choose{
  53. text-align: left;
  54. color: #181818;
  55. position: relative;
  56. &.active{
  57. color: $orange;
  58. &:before{
  59. background: url(../../img/icon-select2.png) no-repeat;
  60. background-size: 100%;
  61. }
  62. }
  63. &:before{
  64. content: '';
  65. width: px2rem(36);
  66. height: px2rem(36);
  67. position: absolute;
  68. top: 50%;
  69. right: px2rem(24);
  70. margin-top: px2rem(-18);
  71. background: url(../../img/icon-select.png) no-repeat;
  72. background-size: 100%;
  73. }
  74. }
  75. }
  76. }
  77. .rank-bd{
  78. position: relative;
  79. z-index: 1;
  80. }
  81. }