detail.wxss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. /* pages/luckDraw/detail.wxss */
  2. page {
  3. background: #BF2637;
  4. }
  5. .head-bg {
  6. width: 750rpx;
  7. height: 576rpx;
  8. position: absolute;
  9. left: 0;
  10. top: 0;
  11. z-index: 1;
  12. }
  13. .head-bg image {
  14. width: 750rpx;
  15. height: 576rpx
  16. }
  17. .luck-draw-box {
  18. width: 680rpx;
  19. height: 848rpx;
  20. margin: 370rpx auto 0;
  21. position: relative;
  22. z-index: 2;
  23. }
  24. .luck-draw-bg {
  25. width: 680rpx;
  26. height: 848rpx;
  27. position: absolute;
  28. left: 0;
  29. top: 0;
  30. z-index: 0;
  31. }
  32. .luck-draw-bg image {
  33. width: 680rpx;
  34. height: 848rpx;
  35. }
  36. .luck-draw-body {
  37. width: 680rpx;
  38. height: 848rpx;
  39. z-index: 2;
  40. position: relative;
  41. }
  42. .luck-draw-tip {
  43. width: 100%;
  44. height: 68rpx;
  45. margin: auto;
  46. padding-top: 116rpx;
  47. text-align: center;
  48. font-size: 56rpx;
  49. font-weight: 800;
  50. color: #fff;
  51. font-style: italic;
  52. }
  53. .luck-draw-tip image {
  54. height: 46rpx;
  55. }
  56. .luck-draw-tip ._niyou {
  57. width: 110rpx;
  58. margin-right: 6rpx;
  59. }
  60. .luck-draw-tip ._ci {
  61. width: 56rpx;
  62. margin-left: 6rpx;
  63. }
  64. .luck-draw-tip ._cjjh {
  65. width: 220rpx;
  66. }
  67. .luck-draw-tip ._num {
  68. height: 38rpx;
  69. }
  70. .luck-draw-tip ._0 {
  71. width: 40rpx;
  72. }
  73. .luck-draw-tip ._1 {
  74. width: 18rpx;
  75. }
  76. .luck-draw-tip ._2 {
  77. width: 40rpx;
  78. }
  79. .luck-draw-tip ._3 {
  80. width: 42rpx;
  81. }
  82. .luck-draw-tip ._4 {
  83. width: 38rpx;
  84. }
  85. .luck-draw-tip ._5 {
  86. width: 40rpx;
  87. }
  88. .luck-draw-tip ._6 {
  89. width: 40rpx;
  90. }
  91. .luck-draw-tip ._7 {
  92. width: 36rpx;
  93. }
  94. .luck-draw-tip ._8 {
  95. width: 40rpx;
  96. }
  97. .luck-draw-tip ._9 {
  98. width: 40rpx;
  99. }
  100. .luck-draw-record-btn {
  101. width: 178rpx;
  102. height: 38rpx;
  103. border-radius: 30rpx;
  104. background: #FF7A95;
  105. color: #fff;
  106. font-size: 24rpx;
  107. text-align: center;
  108. margin: 20rpx auto;
  109. }
  110. .luck-draw-gifts {
  111. width: 528rpx;
  112. height: 510rpx;
  113. margin: auto;
  114. position: relative;
  115. }
  116. ._gift {
  117. position: absolute;
  118. }
  119. ._pos_0 {
  120. left: 0;
  121. top: 0;
  122. }
  123. ._pos_1 {
  124. left: 178rpx;
  125. top: 0;
  126. }
  127. ._pos_2 {
  128. left: 356rpx;
  129. top: 0;
  130. }
  131. ._pos_3 {
  132. left: 0;
  133. top: 176rpx;
  134. }
  135. ._pos_4 {
  136. left: 356rpx;
  137. top: 176rpx;
  138. }
  139. ._pos_5 {
  140. left: 0;
  141. top: 352rpx;
  142. }
  143. ._pos_6 {
  144. left: 178rpx;
  145. top: 352rpx;
  146. }
  147. ._pos_7 {
  148. left: 356rpx;
  149. top: 352rpx;
  150. }
  151. ._gift ._ico {
  152. width: 168rpx;
  153. height: 160rpx;
  154. position: absolute;
  155. left: 0;
  156. top: 0;
  157. z-index: 1;
  158. }
  159. ._gift ._ico image {
  160. width: 168rpx;
  161. height: 160rpx;
  162. }
  163. ._gift ._text {
  164. height: 24rpx;
  165. font-size: 22rpx;
  166. line-height: 24rpx;
  167. width: 168rpx;
  168. position: absolute;
  169. text-align: center;
  170. z-index: 2;
  171. color: #6C4EC2;
  172. left: 0;
  173. top: 102rpx;
  174. }
  175. ._gift ._bg {
  176. width: 168rpx;
  177. height: 160rpx;
  178. position: absolute;
  179. left: 0;
  180. top: 0;
  181. }
  182. ._turn_btn {
  183. left: 178rpx;
  184. top: 176rpx;
  185. }
  186. ._turn_btn ._nums {
  187. width: 168rpx;
  188. font-size: 32rpx;
  189. font-weight: 800;
  190. height: 32rpx;
  191. position: absolute;
  192. left: 0;
  193. top: 88rpx;
  194. color: #fff;
  195. text-align: center;
  196. }
  197. .block-item-title {
  198. height: 38rpx;
  199. line-height: 38rpx;
  200. text-align: center;
  201. margin: 104rpx auto 80rpx;
  202. display: flex;
  203. justify-content: center;
  204. }
  205. .block-item-title view:nth-child(1) {
  206. width: 90rpx;
  207. height: 1px;
  208. position: relative;
  209. top: 20rpx;
  210. background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5));
  211. }
  212. .block-item-title text {
  213. font-weight: 580;
  214. font-size: 40rpx;
  215. color: #fff;
  216. margin: 0 20rpx;
  217. }
  218. .block-item-title view:nth-child(3) {
  219. width: 90rpx;
  220. height: 1px;
  221. background: #fff;
  222. position: relative;
  223. top: 20rpx;
  224. background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5));
  225. }
  226. .rule-des {
  227. width: 600rpx;
  228. margin: auto;
  229. color: #fff;
  230. font-size: 28rpx;
  231. }
  232. .rule-des view {
  233. margin-bottom: 20rpx;
  234. }
  235. .hit-record-list {
  236. width: 600rpx;
  237. margin: auto;
  238. min-height: 300rpx;
  239. max-height: 1000rpx;
  240. }
  241. .hit-record-list ._item {
  242. display: flex;
  243. justify-content: space-between;
  244. color: #fff;
  245. font-size: 28rpx;
  246. height: 60rpx;
  247. }
  248. /**
  249. * 弹出框
  250. **/
  251. .dlg {
  252. width: 100vw;
  253. height: 100vh;
  254. z-index: 1001;
  255. background: rgba(0, 0, 0, 0.5);
  256. left: 0;
  257. top: 0;
  258. position: fixed;
  259. }
  260. .prize-body {
  261. width: 630rpx;
  262. height: 750rpx;
  263. position: absolute;
  264. left: calc(100vw / 2 - 630rpx / 2);
  265. top: calc(100vh / 2 - 750rpx / 2);
  266. z-index: 1;
  267. }
  268. .prize-body ._bg {
  269. width: 630rpx;
  270. height: 750rpx;
  271. position: absolute;
  272. left: 0;
  273. top: 0;
  274. z-index: -1;
  275. }
  276. .prize-title {
  277. width: 534rpx;
  278. height: 134rpx;
  279. position: absolute;
  280. left: calc(630rpx / 2 - 534rpx / 2);
  281. top: 112rpx;
  282. z-index: 0;
  283. text-align: center;
  284. font-size: 68rpx;
  285. color: #F9635F;
  286. font-weight: 800;
  287. line-height: 134rpx;
  288. }
  289. .prize-title image {
  290. width: 534rpx;
  291. height: 134rpx;
  292. position: absolute;
  293. left: 0;
  294. top: 0;
  295. z-index: -1;
  296. }
  297. .prize-figure {
  298. width: 306rpx;
  299. height: 216rpx;
  300. position: absolute;
  301. left: 164rpx;
  302. top: 365rpx;
  303. }
  304. .prize-figure image {
  305. width: 306rpx;
  306. height: 216rpx;
  307. }
  308. .prize-subtitle {
  309. width: 100%;
  310. height: 35rpx;
  311. font-size: 34rpx;
  312. color: #fff;
  313. line-height: 35rpx;
  314. position: absolute;
  315. top: 265rpx;
  316. left: 0;
  317. text-align: center;
  318. }
  319. .prize-tip {
  320. width: 100%;
  321. font-size: 30rpx;
  322. height: 32rpx;
  323. position: absolute;
  324. top: 595rpx;
  325. left: 0;
  326. text-align: center;
  327. color: #fff;
  328. }
  329. .dlg .btns {
  330. height: 96rpx;
  331. width: 100%;
  332. position: absolute;
  333. top: 651rpx;
  334. display: flex;
  335. justify-content:center;
  336. }
  337. .dlg .btns ._btn {
  338. height: 80rpx;
  339. background: #FC7A73;
  340. border-radius: 28rpx;
  341. line-height: 80rpx;
  342. text-align: center;
  343. color: #fff;
  344. font-size: 36rpx;
  345. font-weight: 600;
  346. margin: 0 10rpx;
  347. box-shadow:rgba(229, 80, 79, 1) 0 0 5px;
  348. }
  349. .dlg ._confirm {
  350. width: 240rpx;
  351. }
  352. .dlg ._exchange {
  353. width: 240rpx;
  354. }
  355. .dlg ._share {
  356. width: 400rpx;
  357. }
  358. .dlg ._layer {
  359. width: 100vw;
  360. height: 100vh;
  361. position: absolute;
  362. left: 0;
  363. top: 0;
  364. z-index: 0;
  365. }