WheelModal.module.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. .cashMain{
  2. &.type1{
  3. padding: .08rem .23rem .02rem;
  4. width: 100%;
  5. -webkit-box-sizing: border-box;
  6. box-sizing: border-box;
  7. margin: 0 auto;
  8. display: -webkit-box;
  9. display: -ms-flexbox;
  10. display: flex;
  11. -webkit-box-orient: vertical;
  12. -webkit-box-direction: normal;
  13. -ms-flex-direction: column;
  14. flex-direction: column;
  15. -webkit-box-align: center;
  16. -ms-flex-align: center;
  17. align-items: center;
  18. margin-bottom: .2rem;
  19. .haveCash {
  20. font-size: .3rem;
  21. color: #fb8b05;
  22. -webkit-box-pack: justify;
  23. -ms-flex-pack: justify;
  24. justify-content: space-between;
  25. width: 100%
  26. }
  27. .needCash {
  28. color: #fff;
  29. text-align: center
  30. }
  31. .needCashNum {
  32. color: #fb8b05
  33. }
  34. }
  35. .progress {
  36. width: 100%;
  37. margin: .11rem 0 .07rem;
  38. position: relative;
  39. .num {
  40. position: absolute;
  41. right: 0;
  42. top: -.18rem;
  43. color: #fff
  44. }
  45. .bar {
  46. width: 100%;
  47. height: .08rem;
  48. background: #6ddf39;
  49. border-radius: .1rem;
  50. position: relative;
  51. span {
  52. position: absolute;
  53. left: 0;
  54. top: 0;
  55. display: inline-block;
  56. height: .08rem;
  57. background: #6ddf39;
  58. border-radius: .08rem;
  59. &:after {
  60. content: "";
  61. display: inline-block;
  62. width: .08rem;
  63. position: absolute;
  64. height: .08rem;
  65. border-radius: 50%;
  66. background-color: #fff;
  67. right: 0
  68. }
  69. }
  70. }
  71. }
  72. .haveCash {
  73. display: -webkit-box;
  74. display: -ms-flexbox;
  75. display: flex;
  76. -webkit-box-align: center;
  77. -ms-flex-align: center;
  78. align-items: center;
  79. font-size: .3rem;
  80. font-family: Roboto;
  81. font-weight: 700;
  82. margin: .06rem 0;
  83. width: -webkit-calc(100% + .2rem);
  84. width: calc(100% + .2rem);
  85. white-space: nowrap;
  86. .currency {
  87. text-transform: uppercase
  88. }
  89. .cashImg {
  90. width: .5rem
  91. }
  92. .cash {
  93. //width: .52rem;
  94. //font-weight: 700;
  95. //margin-right: .12rem
  96. }
  97. }
  98. .noWithdraw,.haveCash {
  99. color: #fff;
  100. -webkit-box-pack: center;
  101. -ms-flex-pack: center;
  102. justify-content: center
  103. }
  104. .needCash {
  105. height: .22rem;
  106. border-radius: .14rem;
  107. font-size: .13rem;
  108. color: #fff;
  109. line-height: .22rem;
  110. margin-bottom: .05rem;
  111. overflow: hidden;
  112. -o-text-overflow: ellipsis;
  113. text-overflow: ellipsis;
  114. white-space: nowrap;
  115. width: 100%
  116. }
  117. .needCashNum {
  118. font-family: "SWISSC-BT";
  119. margin: 0 .03rem
  120. }
  121. .withdraw {
  122. width: .65rem;
  123. height: .2rem;
  124. padding: .02rem .06rem;
  125. background: #efb423 -webkit-gradient(linear,left top,right top,from(#49a319),to(#2b8b2f));
  126. background: #efb423 -webkit-linear-gradient(left,#49a319,#2b8b2f);
  127. background: #efb423 -o-linear-gradient(left,#49a319 0,#2b8b2f 100%);
  128. background: #efb423 linear-gradient(90deg,#49a319,#2b8b2f);
  129. display: -webkit-box;
  130. display: -ms-flexbox;
  131. display: flex;
  132. -webkit-box-align: center;
  133. -ms-flex-align: center;
  134. align-items: center;
  135. font-size: .12rem;
  136. font-family: Roboto;
  137. font-weight: 700;
  138. color: #fff;
  139. border-radius: .1rem;
  140. -webkit-box-pack: center;
  141. -ms-flex-pack: center;
  142. justify-content: center;
  143. cursor: pointer;
  144. img {
  145. width: .14rem;
  146. margin-right: .03rem
  147. }
  148. }
  149. &.button {
  150. width: 100%;
  151. height: 0.3472rem;
  152. background: #6ddf38;
  153. color: #fff;
  154. border-radius: 0.0694rem;
  155. }
  156. }
  157. .winList {
  158. height: 100%;
  159. animation: smoothscroll 12.6s linear infinite;
  160. .item {
  161. height: .3rem!important;
  162. font-size: .12rem;
  163. -webkit-box-sizing: border-box;
  164. box-sizing: border-box;
  165. display: -webkit-box;
  166. display: -ms-flexbox;
  167. display: flex;
  168. -webkit-box-pack: justify;
  169. -ms-flex-pack: justify;
  170. justify-content: space-between;
  171. -webkit-box-align: center;
  172. -ms-flex-align: center;
  173. align-items: center;
  174. color: #8795b1;
  175. background-color: transparent;
  176. padding: 0 .05rem;
  177. .name{
  178. color: #8795b1;
  179. display: block;
  180. width: 1rem
  181. }
  182. .tipText {
  183. color: #8795b1;
  184. min-width: 1.1rem
  185. }
  186. .value {
  187. display: -webkit-box;
  188. display: -ms-flexbox;
  189. display: flex;
  190. -webkit-box-pack: end;
  191. -ms-flex-pack: end;
  192. justify-content: flex-end;
  193. width: .55rem;
  194. img {
  195. width: .24rem
  196. }
  197. }
  198. .addCash{
  199. color: #6ddf39;
  200. width: .33rem
  201. }
  202. .unit {
  203. display: -webkit-box;
  204. display: -ms-flexbox;
  205. display: flex;
  206. -webkit-box-align: center;
  207. -ms-flex-align: center;
  208. align-items: center;
  209. -webkit-box-pack: center;
  210. -ms-flex-pack: center;
  211. justify-content: center;
  212. font-family: SWISSC-BT;
  213. color: #fff;
  214. font-size: .1rem;
  215. height: .16rem;
  216. width: .16rem;
  217. background: #6ddf39;
  218. border-radius: 50%;
  219. margin-left: .02rem
  220. }
  221. }
  222. &.type1{
  223. .item {
  224. border-radius: 0;
  225. &:last-child {
  226. border-bottom: none
  227. }
  228. }
  229. }
  230. }
  231. @keyframes smoothscroll {
  232. 0% {
  233. transform: translateY(0);
  234. }
  235. 100% {
  236. transform: translateY(-6.14rem);
  237. }
  238. }