暫無描述

myRedEnvelopes.css 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. body{
  2. width: 100%;min-height: 100vh;background: #f4f4f4;
  3. }
  4. .loading {
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. display: none;
  9. width: 100%;
  10. height: 100vh;
  11. z-index: 99;
  12. }
  13. .loading img {
  14. position: absolute;
  15. top: 0;
  16. bottom: 0;
  17. left: 0;
  18. right: 0;
  19. margin: auto;
  20. width: 0.3rem;
  21. height: 0.3rem;
  22. }
  23. .alert-info {
  24. position: fixed;
  25. top: 1.74rem;
  26. right: 0;
  27. left: 0;
  28. bottom: 0;
  29. text-align: center;
  30. }
  31. .alert-info p {
  32. display: inline-block;
  33. height: 0.38rem;
  34. color: #fff;
  35. font-size: 0.14rem;
  36. line-height: 0.38rem;
  37. padding: 0 0.10rem;
  38. background-color: rgba(0, 0, 0, 0.7);
  39. border-radius: 5px;
  40. }
  41. .tab{
  42. width: 100%;
  43. display: flex;
  44. align-items: center;
  45. background: #ffffff;
  46. padding-bottom: 0.05rem;
  47. position: fixed;
  48. top: 0;
  49. border-bottom: 0.01rem solid #f4f4f4;
  50. z-index: 2;
  51. }
  52. .tab li{
  53. width: 33.3%;
  54. text-align: center;
  55. color: #333333;
  56. line-height: 0.2rem;
  57. font-size: 0.16rem;
  58. padding: 0.15rem;
  59. }
  60. .tab .tabActive{
  61. color: #FA2C37;
  62. position: relative;
  63. }
  64. .tab .tabActive::after{
  65. content: '';
  66. display: block;
  67. width: 0.17rem;
  68. height: 0.02rem;
  69. background: #FA2C37;
  70. position: absolute;
  71. top: 0.45rem;
  72. left: 0;
  73. right: 0;
  74. margin: auto;
  75. border-radius: 0.01rem;
  76. }
  77. /* 红包列表 */
  78. .totalRedEnvelopes,.account{
  79. padding-top: 0.55rem;
  80. padding-bottom: 0.15rem;
  81. box-sizing: border-box;
  82. }
  83. .totalRedEnvelopes li{
  84. margin: auto;
  85. margin-top: 0.15rem;
  86. width: 3.45rem;
  87. height: 1.44rem;
  88. background: #ffffff;
  89. border-radius: 0.11rem;
  90. }
  91. .totalRedEnvelopes .redEnvelopesItem{
  92. background: url(../img/redEvenlopesBg01.png) no-repeat;
  93. background-size:100%;
  94. height: 1.16rem;
  95. padding-left: 1.04rem;
  96. }
  97. .totalRedEnvelopes .redEnvelopesItem .redEnvelopesItemOne{
  98. display: flex;
  99. align-items: center;
  100. justify-content: space-between;
  101. padding-top: 0.24rem;
  102. }
  103. .totalRedEnvelopes .redEnvelopesItem .redEnvelopesItemOne p{
  104. font-size: 0.17rem;
  105. line-height: 0.24rem;
  106. color: #ffffff;
  107. }
  108. .totalRedEnvelopes .redEnvelopesItem .redEnvelopesItemOne span{
  109. font-size: 0.23rem;
  110. line-height: 0.32rem;
  111. color: #FFF48D;
  112. padding-right: 0.2rem;
  113. }
  114. .totalRedEnvelopes .redEnvelopesItem .redEnvelopesItemTwo{
  115. color: #FFFBFB;
  116. font-size: 0.12rem;
  117. line-height: 0.17rem;
  118. display: flex;
  119. align-items: center;
  120. justify-content: space-between;
  121. margin-top: 0.06rem;
  122. }
  123. .totalRedEnvelopes .redEnvelopesItem .redEnvelopesItemTwo span{
  124. color: #FFF47B;
  125. font-size: 0.14rem;
  126. line-height: 0.17rem;
  127. }
  128. .totalRedEnvelopes .redEnvelopesItem .redEnvelopesItemTwo div{
  129. width: 0.54rem;
  130. height: 0.16rem;
  131. line-height: 0.16rem;
  132. border: 0.01rem solid #FFF48D;
  133. color: #FFF48D;
  134. border-radius: 0.04rem;
  135. font-size: 0.11rem;
  136. text-align: center;
  137. margin-right: 0.13rem;
  138. }
  139. .totalRedEnvelopes li .timeInfo{
  140. display: flex;
  141. align-items: center;
  142. justify-content: space-between;
  143. font-size: 0.12rem;
  144. line-height: 0.17rem;
  145. padding: 0.05rem 0.12rem;
  146. color: #9B9B9B;
  147. }
  148. .totalRedEnvelopes li .timeInfo .left{
  149. display: flex;
  150. align-items: center;
  151. }
  152. .totalRedEnvelopes li .timeInfo .left img{
  153. width: 0.12rem;
  154. height: 0.12rem;
  155. margin-left: 0.03rem;
  156. vertical-align: sub;
  157. }
  158. .totalRedEnvelopes .dismantling .timeInfo .right span,.totalRedEnvelopes .startDismantling .timeInfo .right span{
  159. display: inline-block;
  160. background: #FD4B29;
  161. width: 0.16rem;
  162. height: 0.16rem;
  163. border-radius: 0.04rem;
  164. font-size: 0.12rem;
  165. line-height: 0.17rem;
  166. color: #FFF48D;
  167. text-align: center;
  168. margin: 0 0.02rem;
  169. font-weight: 100;
  170. }
  171. .totalRedEnvelopes .novice .redEnvelopesItem{
  172. background: url(../img/redEvenlopesBg02.png) no-repeat;
  173. background-size:100%;
  174. }
  175. .totalRedEnvelopes .invalid .redEnvelopesItem{
  176. background: url(../img/redEvenlopesBg03.png) no-repeat;
  177. background-size:100%;
  178. }
  179. /* 红包账单 */
  180. .account{
  181. display: none;
  182. }
  183. .account .toBePresent .balances{
  184. width: 100%;
  185. height: 0.94rem;
  186. display: flex;
  187. align-items: center;
  188. justify-content: center;
  189. box-sizing: border-box;
  190. background:linear-gradient(248deg,rgba(250,42,55,1) 0%,rgba(252,113,35,1) 100%);
  191. color: #fff;
  192. font-size: 0.16rem;
  193. line-height: 0.22rem;
  194. position: relative;
  195. }
  196. .account .toBePresent .balances .toBePresentRule{
  197. position: absolute;
  198. bottom: 0.1rem;
  199. right: 0.2rem;
  200. font-size: 0.12rem;
  201. color: #fff;
  202. line-height: 0.2rem;
  203. }
  204. .account .toBePresent .balances .balances_info{
  205. margin-left: -0.32rem;
  206. }
  207. .account .toBePresent .balances span{
  208. padding-left: 0.07rem;
  209. font-size: 0.48rem;
  210. line-height: 0.67rem;
  211. }
  212. .account .toBePresent .common_demolition{
  213. width: 100%;
  214. height: 0.35rem;
  215. color: #999999;
  216. font-size: 0.12rem;
  217. line-height: 0.35rem;
  218. padding: 0 0.15rem;
  219. box-sizing: border-box;
  220. }
  221. .account .accountList li{
  222. display: flex;
  223. align-items: center;
  224. justify-content: space-between;
  225. padding: 0 0.15rem;
  226. box-sizing: border-box;
  227. width: 100%;
  228. height: 0.8rem;
  229. border-bottom: 0.01rem solid #E5E5E5;
  230. background: #ffffff;
  231. }
  232. .account .accountList li .left{
  233. display: flex;
  234. align-items: center;
  235. }
  236. .account .accountList li .left img{
  237. width: 0.42rem;
  238. height: 0.42rem;
  239. border-radius: 50%;
  240. margin-right: 0.13rem;
  241. }
  242. .account .accountList li .left .leftInfo p{
  243. color: #353535;
  244. font-size: 0.16rem;
  245. line-height: 0.22rem;
  246. padding-bottom: 0.04rem;
  247. }
  248. .account .accountList li .left .leftInfo span{
  249. font-size: 0.12rem;
  250. line-height: 0.17rem;
  251. color: #999999;
  252. }
  253. .account .accountList li .right{
  254. color: #343434;
  255. font-size: 0.18rem;
  256. line-height: 0.25rem;
  257. }
  258. .account .accountList li .rightActive{
  259. color: #FA2C37;
  260. }
  261. /* 奖励订单 */
  262. .awardOrder{
  263. display: none;
  264. padding-top: 0.55rem;
  265. width: 100%;
  266. }
  267. .awardOrder ul{
  268. background: #ffffff;
  269. }
  270. .awardOrder li {
  271. width: 100%;
  272. height: 1.1rem;
  273. padding: 0 0.1rem;
  274. display: flex;
  275. align-items: center;
  276. border-bottom:0.01rem solid #f4f4f4;
  277. box-sizing: border-box;
  278. }
  279. .awardOrder li img{
  280. width: 0.9rem;
  281. height: 0.9rem;
  282. margin-right: 0.09rem;
  283. }
  284. .awardOrder li .orderInfo p{
  285. width: 2.56rem;
  286. overflow: hidden;
  287. text-overflow: ellipsis;
  288. display: -webkit-box;
  289. -webkit-line-clamp: 2;
  290. -webkit-box-orient: vertical;
  291. color: #333333;
  292. font-size: 0.15rem;
  293. line-height: 0.21rem;
  294. }
  295. .awardOrder li .orderInfo .time{
  296. margin-top: 0.02rem;
  297. margin-bottom: 0.02rem;
  298. font-size: 0.1rem;
  299. line-height: 0.15rem;
  300. color: #999999;
  301. }
  302. .awardOrder li .orderInfo .time span{
  303. display: block;
  304. }
  305. .awardOrder li .orderInfo .time span:nth-of-type(1),.awardOrder li .orderInfo .priceInfo span:nth-of-type(1){
  306. display: inline-block;
  307. width: 1.43rem;
  308. }
  309. .awardOrder li .orderInfo .priceInfo {
  310. font-size: 0.12rem;
  311. line-height: 0.17rem;
  312. }
  313. .awardOrder li .orderInfo .priceInfo .payment_amount{
  314. color: #4A4A4A;
  315. }
  316. .awardOrder li .orderInfo .priceInfo .reward_amount{
  317. color: #FA2C36;
  318. }
  319. .error {
  320. text-align: center;
  321. display: none;
  322. position: absolute;
  323. top: 1.57rem;
  324. left: 0;
  325. right: 0;
  326. }
  327. .error img {
  328. display: block;
  329. width: .65rem;
  330. height: .72rem;
  331. margin: auto;
  332. }
  333. .error span {
  334. margin: auto;
  335. margin-top: .23rem;
  336. line-height: .2rem;
  337. display: block;
  338. color: #858383;
  339. text-align: center;
  340. font-size: .14rem;
  341. /* width: 2.13rem; */
  342. }
  343. .error a {
  344. margin-top: .29rem;
  345. display: inline-block;
  346. width: 1.58rem;
  347. height: .35rem;
  348. line-height: .35rem;
  349. text-align: center;
  350. font-size: .15rem;
  351. background: #FA2C37;
  352. color: #fff;
  353. border-radius: .18rem;
  354. }
  355. .error a img {
  356. width: .08rem;
  357. height: .08rem;
  358. vertical-align: middle;
  359. display: inline-block;
  360. margin-left: .02rem;
  361. }
  362. .account .rule,.awardOrder .rule{
  363. font-size: 0.14rem;
  364. text-align: center;
  365. color: #999999;
  366. padding: 0.2rem 0;
  367. }
  368. /* 新人红包弹窗 */
  369. .new_people_mask{
  370. width: 100%;
  371. height: 100vh;
  372. position: fixed;
  373. left: 0;
  374. top: 0;
  375. background: rgba(0,0,0,0.5);
  376. overflow: hidden;
  377. display: none;
  378. }
  379. .new_people_mask .new_people_con{
  380. width: 160%;
  381. height: 7rem;
  382. background: url(../img/new_people_bg.png) no-repeat;
  383. background-size:100%;
  384. margin-left: -27%;
  385. padding-right: 0.3rem;
  386. box-sizing: border-box;
  387. margin-top: 0.2rem;
  388. }
  389. .new_people_mask .new_people_con .price{
  390. width: 1.47rem;
  391. height: 0.54rem;
  392. display: flex;
  393. align-items: flex-start;
  394. justify-content: center;
  395. margin: auto;
  396. padding-top: 1.8rem;
  397. /* box-sizing: border-box; */
  398. }
  399. .new_people_mask .new_people_con .price img{
  400. height: 0.54rem;
  401. margin-left: 0.25rem;
  402. }
  403. .new_people_mask .new_people_con .price span{
  404. color: #FD4E3C;
  405. font-size: 0.35rem;
  406. line-height: 0.28rem;
  407. margin-right: -0.5rem;
  408. margin-top: -0.04rem;
  409. }
  410. .new_people_mask .new_people_con p{
  411. font-size: 0.13rem;
  412. line-height: 0.18rem;
  413. color: #EA2A2F;
  414. text-align: center;
  415. margin-top: 0.1rem;
  416. }
  417. .new_people_mask .new_people_con button{
  418. width: 1.25rem;
  419. height: 0.28rem;
  420. background: #FAEA44;
  421. border-radius: 0.14rem;
  422. color: #FA4F4A;
  423. font-size: 0.14rem;
  424. line-height: 0.28rem;
  425. border: none;
  426. display: block;
  427. margin: auto;
  428. margin-top: 0.72rem;
  429. }