detail.wxss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  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. overflow: hidden;
  175. text-overflow: ellipsis;
  176. white-space: nowrap;
  177. padding: 0 10rpx;
  178. width: 168rpx;
  179. box-sizing: border-box;
  180. }
  181. ._gift ._bg {
  182. width: 168rpx;
  183. height: 160rpx;
  184. position: absolute;
  185. left: 0;
  186. top: 0;
  187. }
  188. ._turn_btn {
  189. left: 178rpx;
  190. top: 176rpx;
  191. }
  192. ._turn_btn ._nums {
  193. width: 168rpx;
  194. font-size: 32rpx;
  195. font-weight: 800;
  196. height: 32rpx;
  197. position: absolute;
  198. left: 0;
  199. top: 88rpx;
  200. color: #fff;
  201. text-align: center;
  202. }
  203. .block-item-title {
  204. height: 38rpx;
  205. line-height: 38rpx;
  206. text-align: center;
  207. margin: 104rpx auto 80rpx;
  208. display: flex;
  209. justify-content: center;
  210. }
  211. .block-item-title view:nth-child(1) {
  212. width: 90rpx;
  213. height: 1px;
  214. position: relative;
  215. top: 20rpx;
  216. background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5));
  217. }
  218. .block-item-title text {
  219. font-weight: 580;
  220. font-size: 40rpx;
  221. color: #fff;
  222. margin: 0 20rpx;
  223. }
  224. .block-item-title view:nth-child(3) {
  225. width: 90rpx;
  226. height: 1px;
  227. background: #fff;
  228. position: relative;
  229. top: 20rpx;
  230. background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5));
  231. }
  232. .rule-des {
  233. width: 600rpx;
  234. margin: auto;
  235. color: #fff;
  236. font-size: 28rpx;
  237. }
  238. .rule-des view {
  239. margin-bottom: 20rpx;
  240. }
  241. .hit-record-list {
  242. width: 600rpx;
  243. margin: auto;
  244. min-height: 300rpx;
  245. max-height: 1000rpx;
  246. }
  247. .hit-record-list ._item {
  248. display: flex;
  249. justify-content: space-between;
  250. color: #fff;
  251. font-size: 28rpx;
  252. height: 60rpx;
  253. }
  254. /**
  255. * 弹出框
  256. **/
  257. .dlg {
  258. width: 100vw;
  259. height: 100vh;
  260. z-index: 1001;
  261. background: rgba(0, 0, 0, 0.5);
  262. left: 0;
  263. top: 0;
  264. position: fixed;
  265. }
  266. .prize-body {
  267. width: 630rpx;
  268. height: 750rpx;
  269. position: absolute;
  270. left: calc(100vw / 2 - 630rpx / 2);
  271. top: calc(100vh / 2 - 750rpx / 2);
  272. z-index: 1;
  273. }
  274. .prize-body ._bg {
  275. width: 630rpx;
  276. height: 750rpx;
  277. position: absolute;
  278. left: 0;
  279. top: 0;
  280. z-index: -1;
  281. }
  282. .prize-title {
  283. width: 534rpx;
  284. height: 134rpx;
  285. position: absolute;
  286. left: calc(630rpx / 2 - 534rpx / 2);
  287. top: 112rpx;
  288. z-index: 0;
  289. text-align: center;
  290. font-size: 68rpx;
  291. color: #F9635F;
  292. font-weight: 800;
  293. line-height: 134rpx;
  294. }
  295. .prize-title image {
  296. width: 534rpx;
  297. height: 134rpx;
  298. position: absolute;
  299. left: 0;
  300. top: 0;
  301. z-index: -1;
  302. }
  303. .prize-figure {
  304. width: 306rpx;
  305. height: 216rpx;
  306. position: absolute;
  307. left: 164rpx;
  308. top: 365rpx;
  309. }
  310. .prize-figure image {
  311. width: 306rpx;
  312. height: 216rpx;
  313. }
  314. .prize-subtitle {
  315. width: 100%;
  316. height: 35rpx;
  317. font-size: 34rpx;
  318. color: #fff;
  319. line-height: 35rpx;
  320. position: absolute;
  321. top: 265rpx;
  322. left: 0;
  323. text-align: center;
  324. box-sizing: border-box;
  325. padding: 0 120rpx;
  326. overflow: hidden;
  327. white-space: nowrap;
  328. text-overflow: ellipsis;
  329. }
  330. .prize-tip {
  331. width: 100%;
  332. font-size: 30rpx;
  333. height: 50rpx;
  334. position: absolute;
  335. top: 595rpx;
  336. left: 0;
  337. text-align: center;
  338. color: #fff;
  339. box-sizing: border-box;
  340. padding: 0 60rpx;
  341. overflow: hidden;
  342. white-space: nowrap;
  343. text-overflow: ellipsis;
  344. }
  345. .dlg .btns {
  346. height: 96rpx;
  347. width: 100%;
  348. position: absolute;
  349. top: 651rpx;
  350. display: flex;
  351. justify-content:center;
  352. }
  353. .dlg .btns ._btn {
  354. height: 80rpx;
  355. background: #FC7A73;
  356. border-radius: 28rpx;
  357. line-height: 80rpx;
  358. text-align: center;
  359. color: #fff;
  360. font-size: 36rpx;
  361. font-weight: 600;
  362. margin: 0 10rpx;
  363. box-shadow:rgba(229, 80, 79, 1) 0 0 5px;
  364. }
  365. .dlg ._confirm {
  366. width: 240rpx;
  367. }
  368. .dlg ._exchange {
  369. width: 240rpx;
  370. }
  371. .dlg ._share {
  372. width: 400rpx;
  373. }
  374. .dlg button._share {
  375. padding: 0;
  376. margin: 0;
  377. }
  378. .dlg ._layer {
  379. width: 100vw;
  380. height: 100vh;
  381. position: absolute;
  382. left: 0;
  383. top: 0;
  384. z-index: 0;
  385. }
  386. button.phone-button {
  387. width: 168rpx !important;
  388. height: 160rpx;
  389. position: absolute;
  390. left: 0;
  391. top: 0;
  392. opacity: 0;
  393. z-index: 2;
  394. }
  395. .status_tip_layer {
  396. width: 100vw;
  397. height: 100vh;
  398. position: fixed;
  399. z-index: 2000;
  400. background:rgba(0,0,0, 0.9);
  401. left: 0;
  402. top: 0;
  403. }
  404. .status_tip_layer ._text {
  405. color: #fff;
  406. width: 100vw;
  407. height: 200rpx;
  408. position: absolute;
  409. left: 0;
  410. top: calc(100vh / 2 - 200rpx / 2);
  411. text-align: center;
  412. color: #FB766F;
  413. font-weight: 800;
  414. font-size: 60rpx;
  415. font-style: italic;
  416. }