detail.wxss 7.0 KB

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