lottery.wxss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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. .prompt text {
  105. color: #FFE600;
  106. font-size: 32rpx;
  107. }
  108. .earn {
  109. padding: 0 11rpx;
  110. width: 674rpx;
  111. height: 106rpx;
  112. background: #fff;
  113. box-shadow: 0 2rpx 8rpx 0 rgba(0, 0, 0, 0.10);
  114. border-radius: 18rpx;
  115. display: flex;
  116. margin: 0 auto;
  117. }
  118. .earn .Carousel {
  119. height: 106rpx;
  120. margin-right: 20rpx;
  121. width: 440rpx;
  122. }
  123. .earn .Carousel_item {
  124. display: flex;
  125. height: 106rpx;
  126. align-items: center;
  127. }
  128. .earn .Carousel_item .icon {
  129. width: 54rpx;
  130. height: 54rpx;
  131. border-radius: 50%;
  132. overflow: hidden;
  133. margin: 0 15rpx 0 5rpx;
  134. display: block;
  135. }
  136. .earn .Carousel_item .text {
  137. flex: 1;
  138. font-size: 24rpx;
  139. color: #666;
  140. align-items: center;
  141. }
  142. .earn .Carousel_item .name {
  143. font-size: 28rpx;
  144. color: #333;
  145. margin-right: 10rpx;
  146. }
  147. .earn .to {
  148. flex: 1;
  149. padding-left: 20rpx;
  150. padding-right: 5rpx;
  151. height: 100%;
  152. display: flex;
  153. align-items: center;
  154. justify-content: center;
  155. position: relative;
  156. }
  157. .earn .to::before {
  158. content: '';
  159. position: absolute;
  160. left: 0;
  161. width: 2px;
  162. height: 44rpx;
  163. background-color: #e3e3e3;
  164. }
  165. .earn .to button {
  166. align-items: center;
  167. justify-content: center;
  168. font-size: 28rpx;
  169. color: #fff;
  170. height: 65rpx;
  171. background: #ff9500;
  172. box-shadow: 0 2rpx 8rpx 0 rgba(60, 45, 45, 0.50);
  173. border-radius: 102rpx;
  174. width: 100%;
  175. }
  176. .rule {
  177. padding-bottom: 10rpx;
  178. width: 668rpx;
  179. background: #d8fbff;
  180. border-radius: 14rpx;
  181. margin: 20rpx auto;
  182. }
  183. .rule .title {
  184. line-height: 106rpx;
  185. padding: 0 58rpx;
  186. font-size: 32rpx;
  187. color: #333;
  188. font-weight: 700;
  189. }
  190. .rule .cell {
  191. font-size: 28rpx;
  192. color: #333;
  193. line-height: 50rpx;
  194. position: relative;
  195. padding: 0 50rpx 0 76rpx;
  196. margin-bottom: 20rpx;
  197. }
  198. .rule .cell::before {
  199. content: '';
  200. position: absolute;
  201. left: 33rpx;
  202. top: 25rpx;
  203. margin-top: -10rpx;
  204. width: 22rpx;
  205. height: 22rpx;
  206. border-radius: 50%;
  207. background: #f87f09;
  208. }
  209. .main {
  210. margin-top: 55rpx;
  211. height: 648rpx;
  212. overflow: hidden;
  213. position: relative;
  214. width: 750rpx;
  215. }
  216. .main .dial {
  217. width: 648rpx;
  218. height: 648rpx;
  219. margin: 0 auto;
  220. overflow: hidden;
  221. position: relative;
  222. }
  223. .main .dial image {
  224. left: 0;
  225. position: absolute;
  226. top: 0;
  227. }
  228. .main .dial .bg {
  229. width: 100%;
  230. height: 100%;
  231. }
  232. .main .dial .prize {
  233. width: 648rpx;
  234. height: 648rpx;
  235. }
  236. .main .dial .play {
  237. width: 252rpx;
  238. height: 252rpx;
  239. left: 198rpx;
  240. top: 198rpx;
  241. }
  242. .lottery__content {
  243. color: #666;
  244. font-size: 28rpx;
  245. text-align: center;
  246. }
  247. .lottery__img {
  248. height: 56rpx;
  249. width: 56rpx;
  250. vertical-align: text-bottom;
  251. margin: 0 14rpx;
  252. }
  253. .lottery__name {
  254. color: #E22020;
  255. }
  256. .to-withdraw {
  257. background-color: rgba(0, 0, 0, 0.6);
  258. height: 100%;
  259. left: 0;
  260. position: fixed;
  261. top: 0;
  262. width: 100%;
  263. }
  264. .to-withdraw_inner {
  265. left: 50%;
  266. position: absolute;
  267. text-align: center;
  268. top: 50%;
  269. transform: translate(-50%, -50%);
  270. }
  271. .to-withdraw_img {
  272. height: 350rpx;
  273. margin-bottom: 70rpx;
  274. vertical-align: top;
  275. width: 640rpx;
  276. }
  277. .to-withdraw_btn {
  278. background-color: #557cff;
  279. border-radius: 44rpx;
  280. color: #fff;
  281. display: inline-block;
  282. font-size: 36rpx;
  283. font-weight: bold;
  284. height: 88rpx;
  285. width: 526rpx;
  286. }
  287. .guide {
  288. background-color: rgba(0, 0, 0, 0.5);
  289. height: 100%;
  290. left: 0;
  291. position: fixed;
  292. top: 0;
  293. width: 100%;
  294. }
  295. .guide__inner {
  296. background-color: #fff;
  297. border-radius: 20rpx;
  298. height: 520rpx;
  299. left: 50%;
  300. margin: -260rpx 0 0 -316rpx;
  301. position: absolute;
  302. top: 50%;
  303. width: 632rpx;
  304. }
  305. .guide__head {
  306. color: #547CFF;
  307. display: block;
  308. font-size: 32rpx;
  309. font-weight: bold;
  310. line-height: 104rpx;
  311. text-align: center;
  312. }
  313. .guide__body {
  314. background-color: #F4FCFF;
  315. color: #666;
  316. font-size: 28rpx;
  317. height: 294rpx;
  318. margin: 0 18rpx;
  319. padding: 10rpx;
  320. }
  321. .guide__body label {
  322. display: block;
  323. margin: 10rpx 10rpx 20rpx 20rpx;
  324. padding-left: 30rpx;
  325. position: relative;
  326. }
  327. .guide__body label::before {
  328. background-color: #333;
  329. content: '';
  330. height: 10rpx;
  331. left: 0;
  332. position: absolute;
  333. top: 18rpx;
  334. transform: rotate(45deg);
  335. width: 10rpx;
  336. }
  337. .guide__body text {
  338. color: #FF1A19;
  339. line-height: 44rpx;
  340. }
  341. .guide__body .tag {
  342. background-color: #FF1A19;
  343. border-radius: 28rpx 24rpx 24rpx 0;
  344. color: #fff;
  345. display: inline-block;
  346. font-size: 16rpx;
  347. font-weight: normal;
  348. line-height: 32rpx;
  349. margin: 0 5rpx;
  350. padding: 0 20rpx;
  351. }
  352. .guide__foot {
  353. margin: 22rpx 36rpx 0;
  354. }
  355. .guide__rank {
  356. background-color: #FFE32C;
  357. border-radius: 50rpx;
  358. color: #333;
  359. float: left;
  360. font-size: 28rpx;
  361. height: 74rpx;
  362. line-height: 74rpx;
  363. width: 172rpx;
  364. }
  365. .guide__share {
  366. background-color: #557CFF;
  367. border-radius: 50rpx;
  368. color: #fff;
  369. float: left;
  370. font-size: 28rpx;
  371. font-weight: bold;
  372. height: 74rpx;
  373. line-height: 74rpx;
  374. margin-left: 20rpx;
  375. width: 366rpx;
  376. }