box.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  1. page {
  2. background-color: #f9f9f9;
  3. }
  4. .fixed {
  5. height: 100vh;
  6. overflow: hidden;
  7. }
  8. .banner {
  9. height: 243rpx;
  10. width: 100%;
  11. overflow: hidden;
  12. background-color: #FFFFFF;
  13. }
  14. .banner image {
  15. width: 100%;
  16. display: block;
  17. }
  18. .boxTop {
  19. padding: 0 32rpx;
  20. position: relative;
  21. background-color: #fff;
  22. box-shadow: 0 5rpx 8rpx 0 rgba(0, 0, 0, 0.10);
  23. }
  24. .boxTop .boxTop_head {
  25. width: 186rpx;
  26. height: 186rpx;
  27. position: absolute;
  28. top: -82rpx;
  29. left: 50rpx;
  30. border-radius: 50%;
  31. display: flex;
  32. align-items: center;
  33. justify-content: center;
  34. background: #fff;
  35. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.10);
  36. }
  37. .boxTop .boxTop_head image, open-data {
  38. width: 172rpx;
  39. height: 172rpx;
  40. border-radius: 50%;
  41. overflow: hidden;
  42. }
  43. .boxTop .boxTop_info {
  44. width: 100%;
  45. min-height: 185rpx;
  46. padding: 0rpx 0 20rpx 235rpx;
  47. border-bottom: 2rpx solid #e7e7e7;
  48. }
  49. .boxTop .boxTop_info text {
  50. font-size: 28rpx;
  51. color: #888;
  52. display: block;
  53. line-height: 40rpx;
  54. }
  55. .boxTop .boxTop_info .username {
  56. margin-bottom: 10rpx;
  57. margin-top: 10rpx;
  58. overflow: hidden;
  59. text-overflow: ellipsis;
  60. white-space: nowrap;
  61. font-size: 32rpx;
  62. color: #333;
  63. line-height: 48rpx;
  64. }
  65. .boxTop .boxTop_info .sign {
  66. font-size: 28rpx;
  67. color: #666;
  68. overflow: hidden;
  69. text-overflow: ellipsis;
  70. display: -webkit-box;
  71. -webkit-box-orient: vertical;
  72. -webkit-line-clamp: 2;
  73. }
  74. .boxTop .boxTop_info .nickname {
  75. display: flex;
  76. align-items: center;
  77. }
  78. .boxTop .boxTop_info .nickname text {
  79. max-width: 350rpx;
  80. font-size: 36rpx;
  81. color: #333;
  82. font-weight: 700;
  83. line-height: 50rpx;
  84. overflow: hidden;
  85. text-overflow: ellipsis;
  86. white-space: nowrap;
  87. }
  88. .boxTop .boxTop_info .nickname image {
  89. width: 36rpx;
  90. height: 36rpx;
  91. margin-left: 22rpx;
  92. }
  93. .boxTop .boxTop_users {
  94. padding-bottom: 27rpx;
  95. }
  96. .boxTop .boxTop_users .title {
  97. font-size: 28rpx;
  98. line-height: 40rpx;
  99. color: #333;
  100. padding: 25rpx 10rpx;
  101. font-weight: 700;
  102. }
  103. .boxTop .boxTop_users .change {
  104. background: #ff6b3f;
  105. border-radius: 90px;
  106. height: 30rpx;
  107. font-size: 20rpx;
  108. line-height: 30rpx;
  109. display: inline-block;
  110. color: #fff;
  111. margin-left: 10rpx;
  112. padding: 0 13rpx;
  113. font-weight: 400;
  114. }
  115. .boxTop .boxTop_users .more {
  116. color: #1A93FF;
  117. font-size: 24rpx;
  118. font-weight: bold;
  119. float: right;
  120. }
  121. .boxTop .boxTop_users .list {
  122. overflow-x: auto;
  123. padding: 0 10rpx;
  124. white-space: nowrap;
  125. }
  126. .boxTop .boxTop_users .list__item {
  127. width: 80rpx;
  128. height: 80rpx;
  129. display: inline-block;
  130. border-radius: 50%;
  131. margin-right: 28rpx;
  132. position: relative;
  133. }
  134. .boxTop .boxTop_users .list__item:last-child {
  135. margin-right: 0;
  136. }
  137. .boxTop .boxTop_users .list__item image {
  138. border-radius: 50%;
  139. height: 100%;
  140. width: 100%;
  141. }
  142. .boxTop .boxTop_users .list__item label {
  143. background-color: #FD0808;
  144. border-radius: 16rpx;
  145. color: #fff;
  146. font-size: 16rpx;
  147. height: 32rpx;
  148. left: 30rpx;
  149. line-height: 32rpx;
  150. position: absolute;
  151. text-align: center;
  152. top: 48rpx;
  153. white-space: nowrap;
  154. width: 68rpx;
  155. }
  156. /* 如何赚钱 */
  157. .Prompt {
  158. position: relative;
  159. }
  160. .Prompt .tipsLable {
  161. width: 137rpx;
  162. color: #fff;
  163. background: #ff6b3f;
  164. border-bottom-left-radius: 13rpx;
  165. border-bottom-right-radius: 13rpx;
  166. height: 50rpx;
  167. line-height: 50rpx;
  168. font-size: 24rpx;
  169. text-align: center;
  170. position: absolute;
  171. right: 32rpx;
  172. top: 0;
  173. }
  174. .Prompt .Prompt_content {
  175. height: 380rpx;
  176. position: relative;
  177. }
  178. .Prompt .close {
  179. position: absolute;
  180. right: 32rpx;
  181. top: 35rpx;
  182. }
  183. .Prompt .close image {
  184. width: 37rpx;
  185. height: 37rpx;
  186. }
  187. .Prompt .title {
  188. width: 137rpx;
  189. color: #fff;
  190. height: 80rpx;
  191. background: #ff6b3f;
  192. border-radius: 13rpx;
  193. font-size: 24rpx;
  194. left: 32rpx;
  195. top: 27rpx;
  196. text-align: center;
  197. padding-top: 13rpx;
  198. position: absolute;
  199. }
  200. .Prompt .tips {
  201. position: absolute;
  202. box-shadow:0 2rpx 8rpx 0 rgba(0, 0, 0, 0.10);
  203. top: 82rpx;
  204. left: 32rpx;
  205. background-color: #fff;
  206. padding-left: 45rpx;
  207. padding-right: 73rpx;
  208. width: 688rpx;
  209. border-radius: 19rpx;
  210. padding-top: 26rpx;
  211. padding-bottom: 30rpx;
  212. }
  213. .Prompt .tips view {
  214. display: block;
  215. font-size: 28rpx;
  216. color: #666;
  217. margin-bottom: 16rpx;
  218. line-height: 42rpx;
  219. }
  220. .Prompt .tips view:last-child {
  221. margin-bottom: 0;
  222. }
  223. /* 我的盒子 */
  224. .mybox {
  225. background-color: #fff;
  226. }
  227. .mybox .title {
  228. padding-top: 34rpx;
  229. padding-bottom: 10rpx;
  230. display: flex;
  231. align-items: center;
  232. padding-left: 42rpx;
  233. padding-right: 54rpx;
  234. justify-content: space-between;
  235. }
  236. .mybox .title .left {
  237. font-size: 36rpx;
  238. font-weight: 700;
  239. color: #333;
  240. line-height: 45rpx;
  241. }
  242. .mybox .title .left text {
  243. font-size: 20rpx;
  244. color: #fff;
  245. height: 30rpx;
  246. background-color: rgba(255,107,63,1);
  247. border-radius: 16rpx;
  248. padding: 0 10rpx;
  249. vertical-align: 7rpx;
  250. }
  251. .mybox .title .right {
  252. height: 45rpx;
  253. display: flex;
  254. align-items: center;
  255. }
  256. .mybox .title .right text {
  257. font-size: 28rpx;
  258. margin-left: 10rpx;
  259. color: #666;
  260. }
  261. .mybox .title .right image {
  262. width: 31rpx;
  263. height: 31rpx;
  264. }
  265. .editInfo {
  266. position: fixed;
  267. top: 0;
  268. left: 0;
  269. width: 100vw;
  270. height: 100vh;
  271. z-index: 99;
  272. display: flex;
  273. align-items: center;
  274. justify-content: center;
  275. }
  276. .editInfo .task {
  277. background: rgba(0, 0, 0, 0.6);
  278. position: absolute;
  279. width: 100%;
  280. z-index: 9;
  281. height: 100%;
  282. }
  283. .editInfo .content {
  284. width: 632rpx;
  285. position: absolute;
  286. z-index: 100;
  287. padding: 0 52rpx;
  288. background: #fff;
  289. border-radius: 20rpx;
  290. }
  291. .editInfo .content .title {
  292. height: 110rpx;
  293. text-align: center;
  294. line-height: 110rpx;
  295. font-size: 32rpx;
  296. color: #547cff;
  297. font-weight: 700;
  298. }
  299. .editInfo .content .label {
  300. margin: 10rpx 0;
  301. font-size: 32rpx;
  302. color: #666;
  303. line-height: 45rpx;
  304. }
  305. .editInfo .content .input {
  306. position: relative;
  307. margin-bottom: 40rpx;
  308. }
  309. .editInfo .content .input input {
  310. width: 100%;
  311. border-bottom: 1px solid #f0f0f0;
  312. font-size: 32rpx;
  313. color: #999;
  314. height: 66rpx;
  315. }
  316. .editInfo .content .num {
  317. position: absolute;
  318. line-height: 45rpx;
  319. font-size: 32rpx;
  320. color: #999;
  321. bottom: 11rpx;
  322. right: 0;
  323. }
  324. .editInfo .content .textarea {
  325. position: relative;
  326. }
  327. .editInfo .content .textarea textarea {
  328. width: 100%;
  329. padding-right: 80rpx;
  330. border-bottom: 1px solid #f0f0f0;
  331. font-size: 32rpx;
  332. color: #999;
  333. height: 90rpx;
  334. }
  335. .editInfo .content .btn {
  336. background: #557cff;
  337. width: 196rpx;
  338. height: 70rpx;
  339. font-size: 26rpx;
  340. display: block;
  341. margin: 49rpx auto 43rpx auto;
  342. }
  343. /* */
  344. .earn {
  345. padding-right: 21rpx;
  346. width: 100%;
  347. height: 106rpx;
  348. box-shadow: 0 2rpx 8rpx 0 rgba(0, 0, 0, 0.10);
  349. background-color: #fff;
  350. margin: 10rpx 0;
  351. }
  352. .earn .Carousel {
  353. float: left;
  354. height: 106rpx;
  355. width: 500rpx;
  356. }
  357. .earn .Carousel_item {
  358. display: flex;
  359. height: 106rpx;
  360. align-items: center;
  361. }
  362. .earn .Carousel_item .icon {
  363. width: 60rpx;
  364. height: 60rpx;
  365. border-radius: 50%;
  366. overflow: hidden;
  367. margin-right: 17rpx;
  368. margin-left: 40rpx;
  369. display: block;
  370. }
  371. .earn .Carousel_item .text {
  372. font-size: 28rpx;
  373. color: #666;
  374. flex: 1;
  375. }
  376. .earn .Carousel_item .text text {
  377. color: red;
  378. }
  379. .earn .to {
  380. padding-left: 21rpx;
  381. padding-right: 10rpx;
  382. float: right;
  383. height: 100%;
  384. display: flex;
  385. align-items: center;
  386. justify-content: center;
  387. position: relative;
  388. }
  389. .earn .to::before {
  390. content: '';
  391. position: absolute;
  392. left: 0;
  393. top: 31rpx;
  394. width: 2px;
  395. height: 44rpx;
  396. background-color: #e3e3e3;
  397. }
  398. .earn .to button {
  399. width: 176rpx;
  400. display: flex;
  401. align-items: center;
  402. justify-content: center;
  403. font-size: 28rpx;
  404. color: #fff;
  405. height: 64rpx;
  406. background: #ff6b3f;
  407. box-shadow: 0 2px 8px 0 rgba(60, 45, 45, 0.50);
  408. border-radius: 102rpx;
  409. }
  410. /* 波浪 */
  411. .waveBox {
  412. width: 100vw;
  413. height: 377rpx;
  414. border-radius: 5px;
  415. box-shadow: 0 2rpx 12rpx 0 rgba(0,0,0,0.10);
  416. background: #FFFFFF;
  417. position: relative;
  418. overflow: hidden;
  419. -webkit-transform: translate3d(0, 0, 0);
  420. transform: translate3d(0, 0, 0);
  421. padding-top:190rpx;
  422. }
  423. .wave {
  424. opacity: .4;
  425. position: absolute;
  426. top: -234rpx;
  427. left: 50%;
  428. background: #1A93FF;
  429. width: 1100rpx;
  430. height: 1000rpx;
  431. margin-left: -500rpx;
  432. margin-top: -500rpx;
  433. -webkit-transform-origin: 50% 48%;
  434. transform-origin: 50% 48%;
  435. border-radius: 43%;
  436. -webkit-animation: drift 3000ms infinite linear;
  437. animation: drift 3000ms infinite linear;
  438. }
  439. .wave.-three {
  440. -webkit-animation: drift 2500ms infinite linear;
  441. animation: drift 2500ms infinite linear;
  442. }
  443. .wave.-two {
  444. -webkit-animation: drift 5000ms infinite linear;
  445. animation: drift 5000ms infinite linear;
  446. opacity: .1;
  447. background: yellow;
  448. }
  449. .box::after {
  450. content: '';
  451. display: block;
  452. left: 0;
  453. top: 0;
  454. width: 100%;
  455. height: 100%;
  456. background: -webkit-linear-gradient(top, #ee88aa, rgba(221, 238, 255, 0) 80%, rgba(255, 255, 255, 0.5));
  457. background: linear-gradient(to bottom, #ee88aa, rgba(221, 238, 255, 0) 80%, rgba(255, 255, 255, 0.5));
  458. z-index: 11;
  459. -webkit-transform: translate3d(0, 0, 0);
  460. transform: translate3d(0, 0, 0);
  461. }
  462. @-webkit-keyframes drift {
  463. from {
  464. -webkit-transform: rotate(0deg);
  465. transform: rotate(0deg);
  466. }
  467. from {
  468. -webkit-transform: rotate(360deg);
  469. transform: rotate(360deg);
  470. }
  471. }
  472. @keyframes drift {
  473. from {
  474. -webkit-transform: rotate(0deg);
  475. transform: rotate(0deg);
  476. }
  477. from {
  478. -webkit-transform: rotate(360deg);
  479. transform: rotate(360deg);
  480. }
  481. }
  482. /* 分享 */
  483. .shareMask {
  484. width: 100vw;
  485. position: fixed;
  486. top: 0;
  487. z-index: 100;
  488. height: 100vh;
  489. background-color: rgba(0, 0, 0, 0.6);
  490. }
  491. .shareMask .menu {
  492. position: absolute;
  493. bottom: 0;
  494. left: 0;
  495. width: 100%;
  496. background-color: #fff;
  497. height: 228rpx;
  498. display: flex;
  499. align-items: center;
  500. justify-content: space-between;
  501. }
  502. .shareMask .menu_item {
  503. flex: 1;
  504. height: 100%;
  505. background: #fff;
  506. display: flex;
  507. align-items: center;
  508. justify-content: center;
  509. flex-direction: column;
  510. }
  511. .shareMask .menu_item image {
  512. width: 100rpx;
  513. height: 100rpx;
  514. }
  515. .shareMask .menu_item text {
  516. color: #333;
  517. font-size: 24rpx;
  518. font-weight: bold;
  519. margin-top: 12rpx;
  520. }
  521. /* 分享朋友圈 */
  522. .shareCircles {
  523. width: 100vw;
  524. position: fixed;
  525. top: 0;
  526. z-index: 100;
  527. height: 100%;
  528. }
  529. .shareCircles .task {
  530. background-color: rgba(0, 0, 0, 0.6);
  531. position: absolute;
  532. top: 0;
  533. left: 0;
  534. width: 100%;
  535. height: 100%;
  536. }
  537. .shareCircles .content {
  538. width: 466rpx;
  539. display: flex;
  540. align-items: center;
  541. flex-direction: column;
  542. height: 1005rpx;
  543. position: absolute;
  544. left: 50%;
  545. top: 50%;
  546. transform: translate(-50%, -50%);
  547. z-index: 999;
  548. }
  549. .shareCircles .main_img {
  550. width: 466rpx;
  551. height: 828rpx;
  552. }
  553. .shareCircles .main_img image {
  554. width: 100%;
  555. height: 100%;
  556. }
  557. .shareCircles .prompt {
  558. font-size: 28rpx;
  559. line-height: 40rpx;
  560. color: #fff;
  561. margin-top: 17rpx;
  562. margin-bottom: 32rpx;
  563. white-space: nowrap;
  564. }
  565. .shareCircles .btn {
  566. width: 395rpx;
  567. height: 88rpx;
  568. border-radius: 100px;
  569. font-size: 36rpx;
  570. color: #fff;
  571. display: flex;
  572. align-items: center;
  573. justify-content: center;
  574. background: #557cff;
  575. }
  576. .share_close {
  577. height: 40rpx;
  578. position: absolute;
  579. right: 27rpx;
  580. top: -61rpx;
  581. width: 40rpx;
  582. }
  583. .wrap_info {
  584. padding: 8rpx 0;
  585. }
  586. .player__avatar {
  587. border-radius: 50%;
  588. height: 40rpx;
  589. margin-right: 8rpx;
  590. vertical-align: middle;
  591. width: 40rpx;
  592. }
  593. .player__info {
  594. color: #8B8B8B;
  595. font-size: 26rpx;
  596. line-height: 40rpx;
  597. margin-left: 8rpx;
  598. }