style.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. .packet-bg{
  2. display: inline-block;
  3. width: 281px;
  4. height: 387px;
  5. border-radius: 6px;
  6. background: url('./img/bg.png') no-repeat;
  7. box-sizing: border-box;
  8. background-size: 100%;
  9. vertical-align: middle;
  10. position: relative;
  11. overflow: hidden;
  12. padding-top: 40px;
  13. .el-icon-close{
  14. position: absolute;
  15. top: 6px;
  16. right: 6px;
  17. color: #ffffff;
  18. font-size: 20px;
  19. cursor: pointer;
  20. }
  21. }
  22. .user-info{
  23. text-align: center;
  24. }
  25. .avatar{
  26. display: block;
  27. width: 60px;
  28. height: 60px;
  29. margin: 0 auto;
  30. border-radius: 4px;
  31. &.no-avatar{
  32. line-height: 60px;
  33. text-align: center;
  34. font-size: 16px;
  35. color: #ffffff;
  36. }
  37. }
  38. .name{
  39. color: #f9efc5;
  40. font-size: 14px;
  41. display: inline-block;
  42. margin: 10px 0 12px 0;
  43. }
  44. .text{
  45. color: #f9efc5;
  46. font-size: 16px;
  47. padding: 0 14px;
  48. line-height: 1.4;
  49. }
  50. .open-btn{
  51. position: absolute;
  52. left: 0;
  53. right: 0;
  54. margin: 0 auto;
  55. font-size: 36px;
  56. bottom: 70px;
  57. width: 82px;
  58. height: 82px;
  59. line-height: 82px;
  60. text-align: center;
  61. border-radius: 50%;
  62. margin: 0 auto;
  63. background-color: #e8cca0;
  64. color: #553a1b;
  65. cursor: pointer;
  66. &:hover{
  67. background-color: #dbbd8b;
  68. }
  69. }
  70. .detail{
  71. position: absolute;
  72. bottom: 20px;
  73. left: 0;
  74. right: 0;
  75. text-align: center;
  76. font-size: 14px;
  77. color: #f9efc5;
  78. cursor: pointer;
  79. }
  80. .detail-bg{
  81. display: inline-block;
  82. width: 281px;
  83. border-radius: 6px;
  84. background: url('./img/bg2.png') no-repeat;
  85. background-size: 100%;
  86. background-color: #ffffff;
  87. box-sizing: border-box;
  88. background-size: 100%;
  89. vertical-align: middle;
  90. position: relative;
  91. overflow: hidden;
  92. padding-top: 30px;
  93. .el-icon-close{
  94. position: absolute;
  95. top: 6px;
  96. right: 6px;
  97. color: #ffffff;
  98. font-size: 20px;
  99. cursor: pointer;
  100. }
  101. .name{
  102. color: #333333;
  103. margin-bottom: 6px;
  104. }
  105. .text{
  106. color: #333333;
  107. font-size: 12px;
  108. }
  109. }
  110. .money{
  111. text-align: center;
  112. font-size: 24px;
  113. color: #333333;
  114. margin: 14px 0;
  115. em{
  116. font-size: 12px;
  117. color: #999999;
  118. }
  119. }
  120. .state{
  121. font-size: 12px;
  122. color: #5a93eb;
  123. margin-bottom: 12px;
  124. }
  125. .state-num{
  126. font-size: 12px;
  127. margin: 4px 0;
  128. color: #999999;
  129. }
  130. .packet-list{
  131. margin: 14px 12px 0 12px;
  132. height: 148px;
  133. overflow: auto;
  134. li{
  135. display: flex;
  136. padding: 6px 0;
  137. border-top: 1px solid #eee;
  138. .avatar{
  139. width: 36px;
  140. height: 36px;
  141. border-radius: 2px;
  142. }
  143. .no-avatar{
  144. line-height: 36px;
  145. }
  146. }
  147. .content{
  148. flex: 1;
  149. margin-left: 10px;
  150. font-size: 12px;
  151. text-align: left;
  152. .top{
  153. color: #333333;
  154. line-height: 1.4;
  155. margin-bottom: 8px;
  156. }
  157. .amount{
  158. float: right;
  159. }
  160. }
  161. .time{
  162. color: #999999;
  163. }
  164. }
  165. .tips{
  166. color: #999999;
  167. text-align: center;
  168. font-size: 12px;
  169. margin: 12px 0;
  170. }
  171. .redpack-tips{
  172. color: #f9efc5;
  173. font-size: 16px;
  174. line-height: 1.4;
  175. margin-top: 30px;
  176. padding: 0 12px;
  177. }
  178. .small{
  179. margin-top: 40px;
  180. .avatar{
  181. display: inline-block;
  182. vertical-align: middle;
  183. line-height: 30px;
  184. width: 30px;
  185. height: 30px;
  186. margin-right: 10px;
  187. border-radius: 4px;
  188. &.no-avatar{
  189. line-height: 30px;
  190. }
  191. }
  192. .name{
  193. font-size: 16px;
  194. }
  195. }
  196. .loading{
  197. pointer-events: none;
  198. }