game.wxss 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. .main {
  2. padding-bottom: 20rpx;
  3. }
  4. .auth_enter {
  5. position: fixed;
  6. }
  7. .storeUp {
  8. position: fixed;
  9. top: 178rpx;
  10. left: 24rpx;
  11. transition: left 0.4s;
  12. z-index: 99;
  13. }
  14. .slide-left {
  15. left: -50rpx;
  16. transition: left 0.2s;
  17. }
  18. .storeUp image {
  19. width: 88rpx;
  20. height: 92rpx;
  21. }
  22. /* 收藏弹框 */
  23. .storeUpMask {
  24. width: 100vw;
  25. position: fixed;
  26. top: 0;
  27. z-index: 100;
  28. height: 100vh;
  29. background-color: rgba(0, 0, 0, 0.6);
  30. }
  31. .storeUpMask image {
  32. width:550rpx;
  33. height:386rpx;
  34. position:absolute;
  35. top:16rpx;
  36. right:114rpx;
  37. }
  38. .storeUpMask .text {
  39. width:532rpx;
  40. height:254rpx;
  41. position:absolute;
  42. right:125rpx;
  43. top:135rpx;
  44. }
  45. .storeUpMask .text .title {
  46. font-size: 28rpx;
  47. color: #333;
  48. width: 100%;
  49. line-height: 40rpx;
  50. padding-top: 15rpx;
  51. padding-bottom: 33rpx;
  52. text-align: center;
  53. }
  54. .storeUpMask .text .step {
  55. color: #333;
  56. font-size: 28rpx;
  57. line-height: 40rpx;
  58. display: flex;
  59. align-items: center;
  60. padding-left: 41rpx;
  61. margin-bottom: 12rpx;
  62. }
  63. .storeUpMask .text .step::before {
  64. content: '';
  65. width: 12rpx;
  66. height: 12rpx;
  67. display: inline-block;
  68. border-radius: 50%;
  69. background: #fd0808;
  70. margin-right: 12rpx;
  71. }
  72. .storeUpMask .text .step text {
  73. color: #fd0808;
  74. }
  75. /* 红包弹框 */
  76. .redPackMask {
  77. width: 100vw;
  78. position: fixed;
  79. top: 0;
  80. z-index: 100;
  81. height: 100vh;
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. background-color: rgba(0, 0, 0, 0.6);
  86. }
  87. .redPackMask .content {
  88. width: 521rpx;
  89. height: 694rpx;
  90. opacity: 0;
  91. transition: all 300ms;
  92. transform: scale(0.6);
  93. }
  94. .redPackMask .packAnimation {
  95. opacity: 1;
  96. height: 634rpx;
  97. transform: scale(1);
  98. }
  99. .redPackMask .bg {
  100. width: 100%;
  101. height: 100%;
  102. }
  103. .redPackMask .info {
  104. position: absolute;
  105. width: 100%;
  106. height: 100%;
  107. top: 0;
  108. left: 0;
  109. }
  110. .info2 {
  111. display: flex;
  112. flex-direction: column;
  113. align-items: center;
  114. }
  115. .info2 text {
  116. color: #EBCD9A;
  117. }
  118. .info2_avatar {
  119. width: 98rpx;
  120. height: 98rpx;
  121. border-radius: 16rpx;
  122. margin-top: 38rpx;
  123. margin-bottom: 18rpx;
  124. }
  125. .info2_title {
  126. font-size: 36rpx;
  127. line-height: 50rpx;
  128. margin-bottom: 27rpx;
  129. }
  130. .info2_des {
  131. font-size: 26rpx;
  132. line-height: 37rpx;
  133. margin-bottom: 17rpx;
  134. }
  135. .info2_text {
  136. line-height: 62rpx;
  137. font-size: 44rpx;
  138. margin-bottom: 36rpx;
  139. }
  140. .info2_open {
  141. width: 166rpx;
  142. height: 166rpx;
  143. border-radius: 50%;
  144. overflow: hidden;
  145. }
  146. .info2_open image {
  147. width: 100%;
  148. height: 100%;
  149. }
  150. .info1 {
  151. padding-top: 248rpx;
  152. display: flex;
  153. flex-direction: column;
  154. align-items: center;
  155. }
  156. .info1 text {
  157. color: #EBCD9A;
  158. }
  159. .info1_top {
  160. line-height: 67rpx;
  161. font-size: 48rpx;
  162. }
  163. .info1_des {
  164. color: #EBCD9A;
  165. margin-top: 20rpx;
  166. margin-bottom: 77rpx;
  167. line-height: 45rpx;
  168. font-size: 32rpx;
  169. }
  170. .info1_des text {
  171. font-size: 40rpx;
  172. }
  173. .info1_tips {
  174. line-height: 30rpx;
  175. font-size: 22rpx;
  176. }
  177. .info1_save {
  178. background: #EBCD9A;
  179. border-radius: 8rpx;
  180. position: absolute;
  181. bottom: 42rpx;
  182. left: calc(50% - 202rpx);
  183. width: 404rpx;
  184. height: 84rpx;
  185. font-size: 30rpx;
  186. color: #333333;
  187. font-weight: 700;
  188. letter-spacing: 1.07px;
  189. display: flex;
  190. align-items: center;
  191. justify-content: center;
  192. }
  193. /* 分享 */
  194. .shareMask {
  195. width: 100vw;
  196. position: fixed;
  197. top: 0;
  198. z-index: 100;
  199. height: 100vh;
  200. background-color: rgba(0, 0, 0, 0.6);
  201. }
  202. .shareMask .menu {
  203. position: absolute;
  204. bottom: 0;
  205. left: 0;
  206. width: 100%;
  207. background-color: #fff;
  208. height: 228rpx;
  209. display: flex;
  210. align-items: center;
  211. justify-content: space-between;
  212. }
  213. .shareMask .menu_item {
  214. flex: 1;
  215. height: 100%;
  216. background: #fff;
  217. display: flex;
  218. align-items: center;
  219. justify-content: center;
  220. flex-direction: column;
  221. }
  222. .shareMask .menu_item image {
  223. width: 100rpx;
  224. height: 100rpx;
  225. }
  226. .shareMask .menu_item text {
  227. color: #333;
  228. font-size: 24rpx;
  229. font-weight: bold;
  230. margin-top: 12rpx;
  231. }
  232. /* 分享朋友圈 */
  233. .shareCircles {
  234. width: 100vw;
  235. position: fixed;
  236. top: 0;
  237. z-index: 100;
  238. height: 100%;
  239. }
  240. .shareCircles .task {
  241. background-color: rgba(0, 0, 0, 0.6);
  242. position: absolute;
  243. top: 0;
  244. left: 0;
  245. width: 100%;
  246. height: 100%;
  247. }
  248. .shareCircles .content {
  249. width: 466rpx;
  250. display: flex;
  251. align-items: center;
  252. flex-direction: column;
  253. height: 1005rpx;
  254. position: absolute;
  255. left: 50%;
  256. top: 50%;
  257. transform: translate(-50%, -50%);
  258. z-index: 999;
  259. }
  260. .shareCircles .main_img {
  261. width: 466rpx;
  262. height: 828rpx;
  263. }
  264. .shareCircles .main_img image {
  265. width: 100%;
  266. height: 100%;
  267. }
  268. .shareCircles .prompt {
  269. font-size: 28rpx;
  270. line-height: 40rpx;
  271. color: #fff;
  272. margin-top: 17rpx;
  273. margin-bottom: 32rpx;
  274. white-space: nowrap;
  275. }
  276. .shareCircles .btn {
  277. width: 395rpx;
  278. height: 88rpx;
  279. border-radius: 100px;
  280. font-size: 36rpx;
  281. color: #fff;
  282. display: flex;
  283. align-items: center;
  284. justify-content: center;
  285. background: #557cff;
  286. }
  287. .share_close {
  288. height: 40rpx;
  289. position: absolute;
  290. right: 27rpx;
  291. top: -61rpx;
  292. width: 40rpx;
  293. }
  294. .listtitle {
  295. height: 86rpx;
  296. padding: 0 28rpx;
  297. display: flex;
  298. align-items: center;
  299. }
  300. .listtitle .icon {
  301. width: 46rpx;
  302. height: 46rpx;
  303. margin-right: 13rpx;
  304. }
  305. .listtitle .name {
  306. font-size: 32rpx;
  307. font-weight: 700;
  308. color: #333;
  309. line-height: 32rpx;
  310. }
  311. .listtitle .more {
  312. font-size: 24rpx;
  313. color: #666;
  314. margin-left: auto;
  315. }
  316. swiper {
  317. height: 272rpx;
  318. }
  319. .banner {
  320. width: 100%;
  321. margin-bottom: -10rpx;
  322. padding: 22rpx 0 10rpx 0;
  323. }
  324. .banner_item {
  325. margin: 0 auto;
  326. width: 702rpx;
  327. height: 260rpx;
  328. overflow: hidden;
  329. border-radius: 15rpx;
  330. box-shadow: 0 3rpx 20rpx 0 rgba(0, 0, 0, 0.50);
  331. }
  332. .banner_item navigator {
  333. width: 100%;
  334. height: 100%;
  335. }
  336. .banner_item image {
  337. height: 100%;
  338. width: 100%;
  339. display: block;
  340. }
  341. /* 广告 */
  342. .advertising {
  343. padding-top: 20rpx;
  344. }
  345. .advertising image {
  346. margin: 0 auto;
  347. display: block;
  348. width: 702rpx;
  349. height: 260rpx;
  350. overflow: hidden;
  351. border-radius: 15rpx;
  352. box-shadow: 0 3rpx 20rpx 0 rgba(0, 0, 0, 0.50);
  353. }
  354. /* 游戏列表2 */
  355. .gameCard {
  356. border-bottom: 1px solid #e8e8e8;
  357. overflow: hidden;
  358. padding: 0 26rpx;
  359. }
  360. .gameCard .gameCard_item {
  361. width: 50%;
  362. height: 190rpx;
  363. float: left;
  364. margin-bottom: 20rpx;
  365. text-align: left;
  366. }
  367. .gameCard .gameCard_item:nth-child(even) {
  368. text-align: right;
  369. }
  370. .gameCard .gameCard_item image {
  371. border-radius: 24rpx;
  372. width: 336rpx;
  373. height: 100%;
  374. }
  375. /* 游戏列表4 */
  376. .gameWrap {
  377. padding: 0 14rpx;
  378. border-bottom: 1px solid #e8e8e8;
  379. overflow: hidden;
  380. }
  381. .gameWrap .gameWrap_item {
  382. float: left;
  383. margin-bottom: 20rpx;
  384. width: 25%;
  385. }
  386. .gameWrap navigator,
  387. .gameWrap .entrance {
  388. width: 100%;
  389. height: 100%;
  390. display: flex;
  391. align-items: center;
  392. justify-content: center;
  393. flex-direction: column;
  394. }
  395. .gameWrap_item .name {
  396. font-size: 26rpx;
  397. color: #333;
  398. text-align: center;
  399. line-height: 37rpx;
  400. width: 152rpx;
  401. overflow: hidden;
  402. text-overflow: ellipsis;
  403. white-space: nowrap;
  404. margin-top: 15rpx;
  405. margin-bottom: 7rpx;
  406. font-weight: 700;
  407. }
  408. .gameWrap_item .icon {
  409. width: 152rpx;
  410. height: 152rpx;
  411. border-radius: 24rpx;
  412. position: relative;
  413. }
  414. .gameWrap_item .icon image {
  415. width: 100%;
  416. height: 100%;
  417. border-radius: 24rpx;
  418. }
  419. .gameWrap_item .icon text {
  420. position: absolute;
  421. right: -5rpx;
  422. bottom: 0;
  423. padding: 0 12rpx;
  424. height: 36rpx;
  425. background: #ff1a19;
  426. border-radius: 18rpx 18rpx 18rpx 0;
  427. font-size: 18rpx;
  428. font-weight: 400;
  429. color: #fff;
  430. display: flex;
  431. align-items: center;
  432. justify-content: center;
  433. }
  434. .gameWrap_item .num {
  435. font-size: 22rpx;
  436. color: #999;
  437. text-align: center;
  438. width: 152rpx;
  439. overflow: hidden;
  440. text-overflow: ellipsis;
  441. white-space: nowrap;
  442. }
  443. .share {
  444. position: fixed;
  445. top: auto;
  446. right: 30rpx;
  447. bottom: 54rpx;
  448. z-index: 99;
  449. }
  450. .share button {
  451. background-color: transparent;
  452. height: 80rpx;
  453. width: 80rpx;
  454. padding-left: 0;
  455. display: flex;
  456. align-items: center;
  457. }
  458. .share button image {
  459. width: 80rpx;
  460. height: 80rpx;
  461. }