lottery.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. page {
  2. background-color: #01ccff;
  3. padding: 1rpx 0;
  4. }
  5. .main-bg {
  6. width: 100%;
  7. }
  8. .topCard {
  9. margin: 18rpx auto;
  10. background: rgba(93, 172, 222, 0.86);
  11. border-radius: 34rpx;
  12. width: 682rpx;
  13. height: 225rpx;
  14. padding: 0 30rpx;
  15. }
  16. .user {
  17. height: 138rpx;
  18. display: flex;
  19. align-items: center;
  20. margin-bottom: 15rpx;
  21. }
  22. .user .name {
  23. font-size: 36rpx;
  24. color: #fff;
  25. margin-left: 22rpx;
  26. font-weight: 700;
  27. flex: 1;
  28. }
  29. .user .avatar {
  30. width: 102rpx;
  31. height: 102rpx;
  32. border-radius: 50%;
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. background: #fff;
  37. box-shadow: 0 2rpx 12rpx 0 rgba(0, 0, 0, 0.10);
  38. }
  39. .user .avatar image {
  40. width: 92rpx;
  41. height: 92rpx;
  42. border-radius: 50%;
  43. }
  44. .record {
  45. background-color: transparent;
  46. color: #fff;
  47. font-size: 26rpx;
  48. text-decoration: underline;
  49. margin-top: -60rpx;
  50. height: 60rpx;
  51. width: 100rpx;
  52. }
  53. .balance {
  54. display: flex;
  55. align-items: center;
  56. }
  57. .balance .balance_item {
  58. width: 262rpx;
  59. height: 42rpx;
  60. position: relative;
  61. float: left;
  62. border-radius: 100px;
  63. background: #546688;
  64. margin-right: 23rpx;
  65. padding-left: 78rpx;
  66. }
  67. .balance .balance_icon {
  68. border-radius:10rpx;
  69. height: 54rpx;
  70. width: 54rpx;
  71. position: absolute;
  72. left: 0;
  73. top: 50%;
  74. transform: translateY(-50%);
  75. }
  76. .balance .balance_num {
  77. font-size: 32rpx;
  78. color: #f9e32e;
  79. }
  80. .balance .balance_btn {
  81. font-size: 24rpx;
  82. color: #fff;
  83. width: 95rpx;
  84. height: 45rpx;
  85. position: absolute;
  86. right: -40rpx;
  87. top: 50%;
  88. transform: translateY(-50%);
  89. background: #f6b10c;
  90. border: 2rpx solid #333;
  91. box-shadow: inset 0 2rpx 3rpx 5rpx rgba(255, 239, 209, 0.50);
  92. border-radius: 100px;
  93. display: flex;
  94. align-items: center;
  95. justify-content: center;
  96. }
  97. .prompt {
  98. text-align: center;
  99. font-size: 36rpx;
  100. line-height: 116rpx;
  101. color: #fff;
  102. font-weight: 600;
  103. }
  104. .earn {
  105. padding: 0 11rpx;
  106. width: 674rpx;
  107. height: 106rpx;
  108. background: #fff;
  109. box-shadow: 0 2rpx 8rpx 0 rgba(0, 0, 0, 0.10);
  110. border-radius: 18rpx;
  111. display: flex;
  112. margin: 0 auto;
  113. }
  114. .earn .Carousel {
  115. height: 106rpx;
  116. margin-right: 20rpx;
  117. width: 440rpx;
  118. }
  119. .earn .Carousel_item {
  120. display: flex;
  121. height: 106rpx;
  122. align-items: center;
  123. }
  124. .earn .Carousel_item .icon {
  125. width: 54rpx;
  126. height: 54rpx;
  127. border-radius: 50%;
  128. overflow: hidden;
  129. margin: 0 15rpx 0 5rpx;
  130. display: block;
  131. }
  132. .earn .Carousel_item .text {
  133. flex: 1;
  134. font-size: 24rpx;
  135. color: #666;
  136. align-items: center;
  137. }
  138. .earn .Carousel_item .name {
  139. font-size: 28rpx;
  140. color: #333;
  141. margin-right: 10rpx;
  142. }
  143. .earn .to {
  144. flex: 1;
  145. padding-left: 20rpx;
  146. padding-right: 5rpx;
  147. height: 100%;
  148. display: flex;
  149. align-items: center;
  150. justify-content: center;
  151. position: relative;
  152. }
  153. .earn .to::before {
  154. content: '';
  155. position: absolute;
  156. left: 0;
  157. width: 2px;
  158. height: 44rpx;
  159. background-color: #e3e3e3;
  160. }
  161. .earn .to button {
  162. align-items: center;
  163. justify-content: center;
  164. font-size: 28rpx;
  165. color: #fff;
  166. height: 65rpx;
  167. background: #ff9500;
  168. box-shadow: 0 2rpx 8rpx 0 rgba(60, 45, 45, 0.50);
  169. border-radius: 102rpx;
  170. width: 100%;
  171. }
  172. .rule {
  173. padding-bottom: 10rpx;
  174. width: 668rpx;
  175. background: #d8fbff;
  176. border-radius: 14rpx;
  177. margin: 20rpx auto;
  178. }
  179. .rule .title {
  180. line-height: 106rpx;
  181. padding: 0 58rpx;
  182. font-size: 32rpx;
  183. color: #333;
  184. font-weight: 700;
  185. }
  186. .rule .cell {
  187. font-size: 28rpx;
  188. color: #333;
  189. line-height: 50rpx;
  190. position: relative;
  191. padding: 0 50rpx 0 76rpx;
  192. margin-bottom: 20rpx;
  193. }
  194. .rule .cell::before {
  195. content: '';
  196. position: absolute;
  197. left: 33rpx;
  198. top: 25rpx;
  199. margin-top: -10rpx;
  200. width: 22rpx;
  201. height: 22rpx;
  202. border-radius: 50%;
  203. background: #f87f09;
  204. }
  205. .main {
  206. margin-top: 55rpx;
  207. height: 648rpx;
  208. overflow: hidden;
  209. position: relative;
  210. width: 750rpx;
  211. }
  212. .main .dial {
  213. width: 648rpx;
  214. height: 648rpx;
  215. margin: 0 auto;
  216. overflow: hidden;
  217. position: relative;
  218. }
  219. .main .dial image {
  220. left: 0;
  221. position: absolute;
  222. top: 0;
  223. }
  224. .main .dial .bg {
  225. width: 100%;
  226. height: 100%;
  227. }
  228. .main .dial .prize {
  229. width: 648rpx;
  230. height: 648rpx;
  231. }
  232. .main .dial .play {
  233. width: 252rpx;
  234. height: 252rpx;
  235. left: 198rpx;
  236. top: 198rpx;
  237. }
  238. .lottery__content {
  239. color: #666;
  240. font-size: 28rpx;
  241. text-align: center;
  242. }
  243. .lottery__img {
  244. height: 56rpx;
  245. width: 56rpx;
  246. vertical-align: text-bottom;
  247. margin: 0 14rpx;
  248. }
  249. .lottery__name {
  250. color: #E22020;
  251. }
  252. .to-withdraw {
  253. background-color: rgba(0, 0, 0, 0.6);
  254. height: 100%;
  255. left: 0;
  256. position: fixed;
  257. top: 0;
  258. width: 100%;
  259. }
  260. .to-withdraw_inner {
  261. left: 50%;
  262. position: absolute;
  263. text-align: center;
  264. top: 50%;
  265. transform: translate(-50%, -50%);
  266. }
  267. .to-withdraw_img {
  268. height: 350rpx;
  269. margin-bottom: 70rpx;
  270. vertical-align: top;
  271. width: 640rpx;
  272. }
  273. .to-withdraw_btn {
  274. background-color: #557cff;
  275. border-radius: 44rpx;
  276. color: #fff;
  277. display: inline-block;
  278. font-size: 36rpx;
  279. font-weight: bold;
  280. height: 88rpx;
  281. width: 526rpx;
  282. }