invite.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. @media screen and (max-width: 750px) {
  2. html {
  3. font-size: calc(100vw / 7.5);
  4. }
  5. }
  6. @media screen and (min-width: 750px) {
  7. html {
  8. font-size: calc(450px / 7.5);
  9. }
  10. }
  11. html, body, div, ul, li, p {
  12. padding: 0;
  13. margin: 0;
  14. }
  15. ul, li {
  16. list-style: none;
  17. }
  18. .invite-container {
  19. width: 7.5rem;
  20. margin: 0 auto;
  21. background: url(../img/invite/bg.png);
  22. background-repeat: repeat-y;
  23. background-size: cover;
  24. }
  25. .bottom-img {
  26. width: 100%;
  27. height: 4.84rem;
  28. }
  29. .pr {
  30. position: relative;
  31. }
  32. .recv-cont {
  33. position: absolute;
  34. top: 3.24rem;
  35. }
  36. .recv-ipt {
  37. margin: 0 1.17rem;
  38. width: 4.54rem;
  39. padding: 0 0.32rem 0 0.3rem;
  40. height: 0.64rem;
  41. line-height: 0.64rem;
  42. background: rgba(0, 0, 0, 0.19);
  43. border-radius: 0.12rem;
  44. text-align: center;
  45. color: #fff;
  46. font-size: 0.28rem;
  47. position: relative;
  48. }
  49. .fl {
  50. float: left;
  51. }
  52. .fr {
  53. float: right;
  54. }
  55. .copy-btn-style {
  56. color: #FF9400;
  57. font-size: 0.24rem;
  58. }
  59. .mt40 {
  60. margin-top: 0.4rem;
  61. }
  62. .recv-btn-container {
  63. width: 6.6rem;
  64. height: 1.8rem;
  65. background: url(../img/invite/btn-invite.png) no-repeat;
  66. background-size: 100% 100%;
  67. margin: 0 auto;
  68. position: relative;
  69. }
  70. .recv-btn {
  71. width: 6.04rem;
  72. height: 1.24rem;
  73. position: absolute;
  74. left: 0.28rem;
  75. top: 0.08rem;
  76. }
  77. .center-reward-con {
  78. margin-left: 0.3rem;
  79. margin-right: 0.3rem;
  80. width: 6.9rem;
  81. min-height: 4.6rem;
  82. width: 6.9rem;
  83. background: url('../img/invite/biaoti_pic.png') no-repeat;
  84. background-size: contain;
  85. border-radius: 0.24rem;
  86. position: relative;
  87. }
  88. .top-title {
  89. text-align: center;
  90. font-size: 0.32rem;
  91. height: 0.96rem;
  92. line-height: 0.76rem;
  93. font-weight: 800;
  94. color: #FFFFFF;
  95. }
  96. .reward-second-title {
  97. width: 3.82rem;
  98. height: 0.44rem;
  99. background: url(../img/invite/title.png) no-repeat;
  100. background-size: 100% 100%;
  101. margin: 0.07rem auto 0.19rem;
  102. }
  103. .code-title-font {
  104. width: 2.24rem;
  105. height: 0.3rem;
  106. background: url(../img/invite/rules.png) no-repeat;
  107. background-size: 100% 100%;
  108. margin: 0 auto 0.5rem;
  109. }
  110. #goode, #rank {
  111. overflow-x: hidden;
  112. width: 6.9rem;
  113. min-height: 3.64rem;
  114. background: #F9F8FB;
  115. box-shadow: 0 0.12rem 0.28rem 0 rgba(253, 89, 136, 0.46);
  116. border-radius: 0.2rem;
  117. }
  118. #goode::-webkit-scrollbar, #rank::-webkit-scrollbar {
  119. opacity: 0;
  120. }
  121. #goode::-webkit-scrollbar-thumb, #rank::-webkit-scrollbar-thumb {
  122. width: 0.1rem;
  123. height: 3.38rem;
  124. background: rgba(0, 0, 0, 0.1);
  125. border-radius: 0.09rem;
  126. }
  127. .goodFriend-title-list {
  128. height: 0.88rem;
  129. font-size: 0.28rem;
  130. background-color: #F3EBF9;
  131. color: #333;
  132. line-height: 0.88rem;
  133. display: flex;
  134. flex: 1;
  135. }
  136. .goodFriend-item {
  137. display: flex;
  138. align-items: center;
  139. margin: 0.16rem 0.3rem 0.34rem;
  140. font-size: 0.24rem;
  141. font-weight: 500;
  142. color: #666;
  143. line-height: 0.34rem;
  144. }
  145. .goodFriend-title-list li, .goodFriend-item span {
  146. flex: 33.33%;
  147. }
  148. .rank-item {
  149. display: flex;
  150. align-items: center;
  151. margin: 0.16rem 0 0.34rem;
  152. font-size: 0.24rem;
  153. font-weight: 500;
  154. color: #666;
  155. }
  156. .rank-item span {
  157. flex: 25%;
  158. }
  159. .h52 {
  160. height: 0.52rem;
  161. }
  162. .tal {
  163. text-align: left;
  164. }
  165. .tac {
  166. text-align: center;
  167. }
  168. .tar {
  169. text-align: right;
  170. }
  171. .cF04646 {
  172. color: #F04646;
  173. }
  174. .c999 {
  175. color: #999999;
  176. }
  177. .fs16 {
  178. font-size: 0.16rem;
  179. }
  180. .tb-codes {
  181. width: 100%;
  182. color: #333;
  183. text-align: justify;
  184. line-height: 0.4rem;
  185. font-size: 0.28rem;
  186. max-height: 6.16rem;
  187. overflow-y: auto;
  188. }
  189. .fw500 {
  190. font-weight: 600;
  191. }
  192. .fs26 {
  193. font-size: 0.26rem;
  194. }
  195. .fs28 {
  196. font-size: 0.28rem;
  197. }
  198. .mb45 {
  199. margin-bottom: 0.45rem;
  200. }
  201. .h658 {
  202. height: 6.58rem;
  203. }
  204. .load-menu {
  205. padding-bottom: 0.38rem;
  206. }
  207. .no-data {
  208. text-align: center;
  209. font-size: 0.28rem;
  210. color: #999;
  211. margin-top: 0.76rem;
  212. }
  213. #toast-container>.toast-error {
  214. background-image: none!important;
  215. }
  216. .toast-error {
  217. background-color: rgba(0, 0, 0, 0.7);
  218. }
  219. .toast-message {
  220. font-size: 0.37rem;
  221. line-height: 0.9rem;
  222. text-align: center;
  223. font-weight: 400;
  224. color: #FFFFFF;
  225. }
  226. #toast-container>div {
  227. width: 4rem;
  228. height: 0.9rem;
  229. opacity: 1;
  230. padding: 0 !important;
  231. border-radius: 0.2rem;
  232. box-shadow: none;
  233. }
  234. .toast-center-center {
  235. top: 50%;
  236. left: 50%;
  237. margin-top: -0.45rem;
  238. margin-left: -2rem;
  239. }
  240. .rules {
  241. width: 1.32rem;
  242. height: 0.56rem;
  243. background: rgba(110, 108, 108, 0.3);
  244. border-radius: 2rem 0px 0px 2rem;
  245. color: #fff;
  246. text-align: center;
  247. font-size: 0.24rem;
  248. line-height: 0.56rem;
  249. position: absolute;
  250. right: 0;
  251. top: 0.2rem;
  252. }
  253. .icon {
  254. width: 0.48rem;
  255. height: 0.52rem;
  256. }
  257. .mask {
  258. width: 7.5rem;
  259. height: 100vh;
  260. position: absolute;
  261. top: 0;
  262. left: 0;
  263. background: rgba(0, 0, 0, 0.24);
  264. display: none;
  265. }
  266. .dialog {
  267. width: 5.26rem;
  268. height: 6.96rem;
  269. background: #FFFFFF;
  270. border-radius: 0.2rem;
  271. padding: 0.52rem 0.4rem 0.44rem 0.4rem;
  272. position: absolute;
  273. left: 0.72rem;
  274. top: -6.96rem;
  275. }
  276. .close {
  277. position: absolute;
  278. top: -0.68rem;
  279. left: 3.41rem;
  280. width: 0.68rem;
  281. height: 0.68rem;
  282. background: url(../img/invite/close.png) no-repeat;
  283. background-size: 100% 100%;
  284. }
  285. .recv-cont .title {
  286. width: 5.84rem;
  287. height: 0.5rem;
  288. line-height: 0.5rem;
  289. background: rgba(0, 0, 0, 0.3);
  290. border-radius: 0.29rem;
  291. font-size: 0.24rem;
  292. color: rgba(255, 255, 255, 0.7);
  293. text-align: center;
  294. margin: 0 auto 0.2rem;
  295. }
  296. .list {
  297. list-style: none;
  298. width: 100%;
  299. height: 0.5rem;
  300. overflow: hidden;
  301. }
  302. .list li {
  303. width: 100%;
  304. height: 0.5rem;
  305. position: relative;
  306. animation: myfirst 10s infinite;
  307. line-height: 0.5rem;
  308. text-align: center;
  309. font-size: 0.24rem;
  310. color: #fff;
  311. }
  312. @keyframes myfirst {
  313. 0% {
  314. top: 0;
  315. }
  316. 10% {
  317. top: 0;
  318. }
  319. 20% {
  320. top: -0.5rem;
  321. }
  322. 30% {
  323. top: -1rem;
  324. }
  325. 40% {
  326. top: -1.5rem;
  327. }
  328. 50% {
  329. top: -2rem;
  330. }
  331. 60% {
  332. top: -2.5rem;
  333. }
  334. 70% {
  335. top: -3rem;
  336. }
  337. 80% {
  338. top: -3.5rem;
  339. }
  340. 90% {
  341. top: -4rem;
  342. }
  343. 100% {
  344. top: -4.5rem;
  345. }
  346. }