use-coupon-list.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .list-item{
  2. .item{
  3. margin-top:10px;
  4. .ticket-content{
  5. background:#FFF;
  6. .content{
  7. display:flex;
  8. flex-direction: row;
  9. padding-top:10px;
  10. padding-bottom:10px;
  11. position: relative;
  12. .ticket-img{
  13. width:20%;
  14. display:flex;
  15. justify-content: center;
  16. align-items: center;
  17. .img{
  18. width:50px;
  19. height:50px;
  20. border-radius: 50%;
  21. }
  22. }
  23. .ticket-info{
  24. width:55%;
  25. .ticket-name{
  26. color:#000;
  27. font-size:14px;
  28. font-weight: bold;
  29. }
  30. .ticket-expire{
  31. font-size:12px;
  32. color:#593320;
  33. margin-top:5px;
  34. width: 100%;
  35. line-height: 20px;
  36. }
  37. }
  38. .ticket-status{
  39. position: absolute;
  40. right:0px;
  41. top:0px;
  42. height:80px;
  43. width:80px;
  44. overflow: hidden;
  45. .ticket-text{
  46. width:80px;
  47. height:20px;
  48. margin-top:10px;
  49. margin-left:20px;
  50. transform: rotate(45deg);
  51. display:flex;
  52. flex-direction: column;
  53. justify-content: center;
  54. align-items: center;
  55. font-size:12px;
  56. }
  57. }
  58. .ticket-status-st{
  59. position: absolute;
  60. right:20px;
  61. top:20px;
  62. width:80px;
  63. overflow: hidden;
  64. .ticket-st{
  65. width:80px;
  66. height:80px;
  67. line-height: 30px;
  68. border-radius: 50%;
  69. display:flex;
  70. flex-direction: column;
  71. justify-content: center;
  72. align-items: center;
  73. font-size:18px;
  74. background: #FFF;
  75. color: #ccc;
  76. border: 2px dotted #cccccc;
  77. }
  78. }
  79. .used{
  80. .ticket-text{
  81. background:#593320;
  82. color:#FFFFFF;
  83. }
  84. }
  85. }
  86. }
  87. .ticket-splite{
  88. display: flex;
  89. flex-direction: row;
  90. background:#FFF;
  91. justify-content:space-evenly;
  92. align-items: center;
  93. .left{
  94. background:#F4F5F7;
  95. height:20px;
  96. width:10px;
  97. border-top-right-radius: 60%;
  98. border-bottom-right-radius: 60%;
  99. }
  100. .mid{
  101. height:1px;
  102. width:100%;
  103. border-bottom: 2px dotted #cccccc;
  104. }
  105. .right{
  106. background:#F4F5F7;
  107. height:20px;
  108. width:10px;
  109. border-top-left-radius: 50%;
  110. border-bottom-left-radius: 50%;
  111. }
  112. }
  113. .ticket-other{
  114. background:#FFF;
  115. height:20px;
  116. .intro{
  117. font-size:12px;
  118. margin-left:20px;
  119. color:#593320;
  120. }
  121. .other-txt{
  122. display:flex;
  123. flex-direction:row;
  124. justify-content: flex-end;
  125. align-items: center;
  126. font-size:12px;
  127. .btn{
  128. width:20%;
  129. margin: 0 auto;
  130. .btn-user{
  131. height:20px;
  132. background-color: #593320;
  133. color: #EDEDED;
  134. line-height: 20px;
  135. font-size:12px;
  136. border-radius: 7px;
  137. }
  138. }
  139. }
  140. }
  141. }
  142. .shadow{
  143. box-shadow: 0px 2px 5px 0px #bababa
  144. }
  145. }