detail.wxss 6.8 KB

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