eggsactivity.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. /* share/pages/eggsactivity/eggsactivity.wxss */
  2. .page {
  3. width: 100%;
  4. height: 100vh;
  5. position: relative;
  6. overflow: auto;
  7. box-sizing: border-box;
  8. }
  9. .color249DFA {
  10. color: #249DFA;
  11. }
  12. .g-page-goldenegg {
  13. width: 100%;
  14. overflow: hidden;
  15. position: relative;
  16. display: flex;
  17. flex-direction: column;
  18. align-items: center;
  19. }
  20. .g-page-goldenegg-bg {
  21. width: 100%;
  22. height: 100%;
  23. position: absolute;
  24. z-index: -1;
  25. }
  26. .g-page-goldenegg-header {
  27. width: 100%;
  28. margin: 20rpx 0rpx;
  29. }
  30. .g-page-goldenegg-box {
  31. display: flex;
  32. flex-wrap: wrap;
  33. margin-top: 40rpx;
  34. }
  35. .goldenegg-box-item {
  36. width: 33.33%;
  37. position: relative;
  38. display: flex;
  39. flex-direction: column;
  40. justify-content: flex-end;
  41. align-items: center;
  42. }
  43. .chuizi {
  44. width: 100rpx;
  45. position: absolute;
  46. top: -10rpx;
  47. right: 10rpx;
  48. z-index: 9999;
  49. }
  50. .caidai {
  51. width: 200rpx;
  52. position: absolute;
  53. top: -40rpx;
  54. animation-name: spread;
  55. animation-duration: 100ms;
  56. animation-timing-function: linear;
  57. animation-iteration-count: 1;
  58. }
  59. @keyframes spread {
  60. 0% {
  61. width: 120rpx;
  62. top: 100rpx;
  63. }
  64. 100% {
  65. width: 200rpx;
  66. top: -20rpx;
  67. }
  68. }
  69. .zakaijindan {
  70. width: 170rpx;
  71. margin-bottom: -20rpx;
  72. position: relative;
  73. z-index: 99;
  74. }
  75. .jindan {
  76. width: 150rpx;
  77. margin-bottom: -20rpx;
  78. position: relative;
  79. z-index: 99;
  80. }
  81. .dipan {
  82. width: 150rpx;
  83. }
  84. .remainingCount {
  85. color: #F5E5C6;
  86. font-size: 28rpx;
  87. line-height: 44px;
  88. }
  89. .myWinningBtn {
  90. width: 360rpx;
  91. height: 88rpx;
  92. border: 3px solid #FFF1D1;
  93. background: linear-gradient(0deg, #E85E4A 0%, #EE7892 100%);
  94. box-shadow: 0px 10px 20px 0px rgba(126, 21, 29, 0.5);
  95. border-radius: 44px;
  96. font-size: 36rpx;
  97. color: #F5E5C6;
  98. display: flex;
  99. align-items: center;
  100. justify-content: center;
  101. }
  102. .flex {
  103. display: flex;
  104. }
  105. .justify-center {
  106. justify-content: center;
  107. }
  108. .flex-column {
  109. display: flex;
  110. flex-direction: column;
  111. }
  112. .flex-sub {
  113. flex: 1;
  114. }
  115. .align-center {
  116. align-items: center;
  117. }
  118. .justify-start {
  119. justify-content: flex-start;
  120. }
  121. .mt10 {
  122. margin-top: 10rpx;
  123. }
  124. .companyMsg {
  125. width: 90%;
  126. background-color: #902027;
  127. margin: 40rpx auto;
  128. padding: 20rpx;
  129. color: #fff;
  130. font-size: 24rpx;
  131. border-radius: 4rpx;
  132. }
  133. .imgSize {
  134. width: 26rpx;
  135. height: 26rpx;
  136. margin-right: 20rpx;
  137. }
  138. .action {
  139. animation-name: fight;
  140. animation-duration: 150ms;
  141. animation-timing-function: linear;
  142. animation-iteration-count: 1;
  143. }
  144. @keyframes fight {
  145. 0% {
  146. transform: rotate(0deg);
  147. top: '-10rpx';
  148. }
  149. 50% {
  150. transform: rotate(60deg);
  151. top: '-90rpx';
  152. }
  153. 100% {
  154. transform: rotate(0deg);
  155. top: '-10rpx';
  156. }
  157. }
  158. .mask {
  159. position: fixed;
  160. width: 100%;
  161. height: 100vh;
  162. top: 0px;
  163. left: 0px;
  164. background-color: rgba(0, 0, 0, 0.4);
  165. z-index: 99999;
  166. display: flex;
  167. justify-content: center;
  168. align-items: center;
  169. }
  170. .dialog {
  171. width: 90%;
  172. height: 756rpx;
  173. background-color: #fff;
  174. border-radius: 24rpx;
  175. position: relative;
  176. }
  177. .dialogHeader {
  178. position: absolute;
  179. top: -25rpx;
  180. left: 50%;
  181. transform: translateX(-50%);
  182. z-index: 99;
  183. }
  184. .dialogHeader image {
  185. width: 450rpx;
  186. }
  187. .dialogHeader-tips {
  188. position: absolute;
  189. top: 0rpx;
  190. left: 0rpx;
  191. width: 100%;
  192. text-align: center;
  193. height: 80rpx;
  194. line-height: 80rpx;
  195. color: #F5E5C6;
  196. font-size: 32rpx;
  197. font-weight: 500;
  198. }
  199. .dialog-caidai {
  200. position: absolute;
  201. left: 50%;
  202. transform: translateX(-50%);
  203. z-index: 0;
  204. }
  205. .dialog-dizuo {
  206. width: 260rpx;
  207. }
  208. .dialog-kaijindan {
  209. width: 260rpx;
  210. margin-bottom: -25rpx;
  211. position: relative;
  212. z-index: 99;
  213. }
  214. .dialog-box {
  215. display: flex;
  216. flex-direction: column;
  217. justify-content: center;
  218. align-items: center;
  219. margin-top: 130rpx;
  220. position: relative;
  221. z-index: 9;
  222. }
  223. .prizes-btn {
  224. width: 140rpx;
  225. height: 46rpx;
  226. border: 2px solid #FFF1D1;
  227. background: linear-gradient(0deg, #E85E4A 0%, #EE7892 100%);
  228. box-shadow: 0px 10rpx 20rpx 0px rgba(126, 21, 29, 0.5);
  229. border-radius: 23rpx;
  230. font-size: 24rpx;
  231. color: #F5E5C6;
  232. text-align: center;
  233. position: absolute;
  234. bottom: 100rpx;
  235. z-index: 99;
  236. }
  237. .goldenegg-box-prizes {
  238. width: 100rpx;
  239. height: 36rpx;
  240. border: 2px solid #FFF1D1;
  241. background: linear-gradient(0deg, #E85E4A 0%, #EE7892 100%);
  242. box-shadow: 0px 10rpx 20rpx 0px rgba(126, 21, 29, 0.5);
  243. border-radius: 23rpx;
  244. font-size: 16rpx;
  245. color: #F5E5C6;
  246. text-align: center;
  247. position: absolute;
  248. bottom: 30rpx;
  249. z-index: 999;
  250. white-space: nowrap;
  251. overflow: hidden;
  252. text-overflow: ellipsis;
  253. }
  254. .dialog-btn {
  255. position: absolute;
  256. left: 50%;
  257. transform: translateX(-50%);
  258. bottom: 0rpx;
  259. width: 360rpx;
  260. height: 88rpx;
  261. border: 3rpx solid #FFF1D1;
  262. background: linear-gradient(0deg, #E85E4A 0%, #EE7892 100%);
  263. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(126, 21, 29, 0.5);
  264. border-radius: 44rpx;
  265. margin: 60rpx auto;
  266. text-align: center;
  267. line-height: 88rpx;
  268. color: #F5E5C6;
  269. font-size: 36rpx;
  270. }
  271. .dialog-text {
  272. color: #333333;
  273. font-size: 24rpx;
  274. }
  275. .dialog-tips {
  276. width: 80%;
  277. height: 100rpx;
  278. margin: 80rpx auto 20rpx;
  279. font-size: 28rpx;
  280. text-align: center;
  281. }
  282. .dialog-content-box {
  283. width: 95%;
  284. height: 208rpx;
  285. margin: 0rpx auto 20rpx;
  286. background-color: #FEF6F6;
  287. box-shadow: 0rpx 3rpx 7rpx 0rpx rgba(250, 203, 201, 0.35);
  288. border-radius: 10rpx;
  289. display: flex;
  290. flex-direction: column;
  291. }
  292. .dialog-content-btn {
  293. display: flex;
  294. justify-content: space-around;
  295. padding: 20rpx;
  296. }
  297. .dialog-copy {
  298. width: 160rpx;
  299. height: 50rpx;
  300. border: 1rpx solid #B6353E;
  301. font-size: 24rpx;
  302. font-family: PingFang SC;
  303. font-weight: 400;
  304. color: #B6353E;
  305. }
  306. .dialog-cut {
  307. width: 160rpx;
  308. height: 50rpx;
  309. background: #B6353E;
  310. font-size: 24rpx;
  311. font-family: PingFang SC;
  312. font-weight: 400;
  313. color: #FFFFFF;
  314. }
  315. .dialog-content {
  316. flex: 1;
  317. overflow-y: scroll;
  318. font-size: 24rpx;
  319. color: #333333;
  320. padding: 20rpx 20rpx 0rpx;
  321. }
  322. .dialog-text {
  323. width: 100%;
  324. height: 50rpx;
  325. line-height: 50rpx;
  326. font-size: #333333;
  327. text-align: center;
  328. }
  329. .dialog-prizes-img {
  330. width: 100%;
  331. height: 400rpx;
  332. position: relative;
  333. z-index: 999;
  334. top: 160rpx;
  335. display: flex;
  336. flex-direction: column;
  337. align-items: center;
  338. justify-content: center;
  339. }
  340. .dialog-prizes-img>image {
  341. width: 50%;
  342. margin-bottom: 20rpx;
  343. font-size: 24rpx;
  344. color: #333333;
  345. }