金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
3.1 KiB

  1. .birthday-box{
  2. .mask{
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: 0;
  8. z-index: 200;
  9. overflow-y: hidden;
  10. background-color: rgba(0, 0, 0, 0.4);
  11. }
  12. .box{
  13. position: fixed;
  14. z-index: 500;
  15. width: 80%;
  16. top: 47%;
  17. left: 50%;
  18. transform: translate(-50%, -50%);
  19. overflow: auto;
  20. height: 70%;
  21. .title{
  22. position: relative;
  23. height: 45%;
  24. background: url("http://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/18-12-27/10678114.jpg") no-repeat;
  25. background-size: 100% 100%;
  26. image{
  27. position: absolute;
  28. right: 0;
  29. top: 2px;
  30. color: #fff;
  31. width: 30px;
  32. height: 30px;
  33. }
  34. i{
  35. position: absolute;
  36. right: 0;
  37. top: -5px;
  38. color: #fff;
  39. font-size: 30px;
  40. }
  41. }
  42. .name{
  43. font-size: 14px;
  44. text-align: center;
  45. margin-right: 2px;
  46. color: #FFFFFF;
  47. background: #ffce2f;
  48. span{
  49. color: #e7636f;
  50. }
  51. }
  52. .coupon-list{
  53. overflow: auto;
  54. height: 37%;
  55. background: #ffce2f;
  56. /*margin: 0 9px 0 10px;*/
  57. margin-right: 2px;
  58. padding: 0 15px;
  59. .item{
  60. display: flex;
  61. align-items: center;
  62. justify-content: space-between;
  63. position: relative;
  64. padding: 5px 10px;
  65. margin-bottom: 10px;
  66. background: #FFFFFF;
  67. border-radius: 4px;
  68. &:first-child{
  69. margin-top: 10px;
  70. }
  71. &::before {
  72. position: absolute;
  73. left: -5px;
  74. top: 20px;
  75. content: '';
  76. background: #ffce2f;
  77. width: 10px;
  78. height: 10px;
  79. border-radius: 100%;
  80. }
  81. &::after {
  82. position: absolute;
  83. right: -5px;
  84. top: 20px;
  85. content: '';
  86. background: #ffce2f;
  87. width: 10px;
  88. height: 10px;
  89. border-radius: 100%;
  90. }
  91. .left{
  92. flex: 1;
  93. font-size: 14px;
  94. margin-right: 10px;
  95. overflow: hidden;
  96. div{
  97. white-space: nowrap;
  98. overflow: hidden;
  99. text-overflow: ellipsis;
  100. }
  101. .time{
  102. font-size: 10px;
  103. color: #9B9B9B;
  104. min-height: 19px;
  105. }
  106. }
  107. .right{
  108. font-size: 16px;
  109. color: #e7636f;
  110. }
  111. &.point{
  112. padding: 13px 10px;
  113. }
  114. }
  115. }
  116. .buttom{
  117. font-size: 14px;
  118. padding: 14px;
  119. /*height: 10%;*/
  120. text-align: center;
  121. color: #FFFFFF;
  122. background: #ffce2f;
  123. border-top: 4px solid #f7a63d;
  124. border-radius: 0 0 5px 5px;
  125. margin-right: 2px;
  126. span{
  127. background: #e7636f;
  128. border-radius: 20px;
  129. padding: 10px 50px;
  130. }
  131. }
  132. }
  133. }