box.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  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. margin-right: 20rpx;
  242. }
  243. .mybox .title .left text {
  244. font-size: 20rpx;
  245. color: #fff;
  246. height: 30rpx;
  247. background-color: rgba(255,107,63,1);
  248. border-radius: 16rpx;
  249. padding: 0 10rpx;
  250. vertical-align: 7rpx;
  251. }
  252. .sub {
  253. color: #999;
  254. font-size: 28rpx;
  255. }
  256. .primary {
  257. color: #f00;
  258. }
  259. .mybox .title .right {
  260. height: 45rpx;
  261. display: flex;
  262. align-items: center;
  263. }
  264. .mybox .title .right text {
  265. font-size: 28rpx;
  266. margin-left: 10rpx;
  267. color: #666;
  268. }
  269. .mybox .title .right image {
  270. width: 31rpx;
  271. height: 31rpx;
  272. }
  273. .editInfo {
  274. position: fixed;
  275. top: 0;
  276. left: 0;
  277. width: 100vw;
  278. height: 100vh;
  279. z-index: 99;
  280. display: flex;
  281. align-items: center;
  282. justify-content: center;
  283. }
  284. .editInfo .task {
  285. background: rgba(0, 0, 0, 0.6);
  286. position: absolute;
  287. width: 100%;
  288. z-index: 9;
  289. height: 100%;
  290. }
  291. .editInfo .content {
  292. width: 632rpx;
  293. position: absolute;
  294. z-index: 100;
  295. padding: 0 52rpx;
  296. background: #fff;
  297. border-radius: 20rpx;
  298. }
  299. .editInfo .content .title {
  300. height: 110rpx;
  301. text-align: center;
  302. line-height: 110rpx;
  303. font-size: 32rpx;
  304. color: #547cff;
  305. font-weight: 700;
  306. }
  307. .editInfo .content .label {
  308. margin: 10rpx 0;
  309. font-size: 32rpx;
  310. color: #666;
  311. line-height: 45rpx;
  312. }
  313. .editInfo .content .input {
  314. position: relative;
  315. margin-bottom: 40rpx;
  316. }
  317. .editInfo .content .input input {
  318. width: 100%;
  319. border-bottom: 1px solid #f0f0f0;
  320. font-size: 32rpx;
  321. color: #999;
  322. height: 66rpx;
  323. }
  324. .editInfo .content .num {
  325. position: absolute;
  326. line-height: 45rpx;
  327. font-size: 32rpx;
  328. color: #999;
  329. bottom: 11rpx;
  330. right: 0;
  331. }
  332. .editInfo .content .textarea {
  333. position: relative;
  334. }
  335. .editInfo .content .textarea textarea {
  336. width: 100%;
  337. padding-right: 80rpx;
  338. border-bottom: 1px solid #f0f0f0;
  339. font-size: 32rpx;
  340. color: #999;
  341. height: 90rpx;
  342. }
  343. .editInfo .content .btn {
  344. background: #557cff;
  345. width: 196rpx;
  346. height: 70rpx;
  347. font-size: 26rpx;
  348. display: block;
  349. margin: 49rpx auto 43rpx auto;
  350. }
  351. /* */
  352. .earn {
  353. padding-right: 21rpx;
  354. width: 100%;
  355. height: 106rpx;
  356. box-shadow: 0 2rpx 8rpx 0 rgba(0, 0, 0, 0.10);
  357. background-color: #fff;
  358. margin: 10rpx 0;
  359. }
  360. .earn .Carousel {
  361. float: left;
  362. height: 106rpx;
  363. width: 500rpx;
  364. }
  365. .earn .Carousel_item {
  366. display: flex;
  367. height: 106rpx;
  368. align-items: center;
  369. }
  370. .earn .Carousel_item .icon {
  371. width: 60rpx;
  372. height: 60rpx;
  373. border-radius: 50%;
  374. overflow: hidden;
  375. margin-right: 17rpx;
  376. margin-left: 40rpx;
  377. display: block;
  378. }
  379. .earn .Carousel_item .text {
  380. font-size: 28rpx;
  381. color: #666;
  382. flex: 1;
  383. }
  384. .earn .Carousel_item .text text {
  385. color: red;
  386. }
  387. .earn .to {
  388. padding-left: 21rpx;
  389. padding-right: 10rpx;
  390. float: right;
  391. height: 100%;
  392. display: flex;
  393. align-items: center;
  394. justify-content: center;
  395. position: relative;
  396. }
  397. .earn .to::before {
  398. content: '';
  399. position: absolute;
  400. left: 0;
  401. top: 31rpx;
  402. width: 2px;
  403. height: 44rpx;
  404. background-color: #e3e3e3;
  405. }
  406. .earn .to button {
  407. width: 176rpx;
  408. display: flex;
  409. align-items: center;
  410. justify-content: center;
  411. font-size: 28rpx;
  412. color: #fff;
  413. height: 64rpx;
  414. background: #ff6b3f;
  415. box-shadow: 0 2px 8px 0 rgba(60, 45, 45, 0.50);
  416. border-radius: 102rpx;
  417. }
  418. /* 波浪 */
  419. .waveBox {
  420. width: 100vw;
  421. height: 377rpx;
  422. border-radius: 5px;
  423. box-shadow: 0 2rpx 12rpx 0 rgba(0,0,0,0.10);
  424. background: #FFFFFF;
  425. position: relative;
  426. overflow: hidden;
  427. -webkit-transform: translate3d(0, 0, 0);
  428. transform: translate3d(0, 0, 0);
  429. padding-top:190rpx;
  430. }
  431. .wave {
  432. opacity: .4;
  433. position: absolute;
  434. top: -234rpx;
  435. left: 50%;
  436. background: #1A93FF;
  437. width: 1100rpx;
  438. height: 1000rpx;
  439. margin-left: -500rpx;
  440. margin-top: -500rpx;
  441. -webkit-transform-origin: 50% 48%;
  442. transform-origin: 50% 48%;
  443. border-radius: 43%;
  444. -webkit-animation: drift 3000ms infinite linear;
  445. animation: drift 3000ms infinite linear;
  446. }
  447. .wave.-three {
  448. -webkit-animation: drift 2500ms infinite linear;
  449. animation: drift 2500ms infinite linear;
  450. }
  451. .wave.-two {
  452. -webkit-animation: drift 5000ms infinite linear;
  453. animation: drift 5000ms infinite linear;
  454. opacity: .1;
  455. background: yellow;
  456. }
  457. .box::after {
  458. content: '';
  459. display: block;
  460. left: 0;
  461. top: 0;
  462. width: 100%;
  463. height: 100%;
  464. background: -webkit-linear-gradient(top, #ee88aa, rgba(221, 238, 255, 0) 80%, rgba(255, 255, 255, 0.5));
  465. background: linear-gradient(to bottom, #ee88aa, rgba(221, 238, 255, 0) 80%, rgba(255, 255, 255, 0.5));
  466. z-index: 11;
  467. -webkit-transform: translate3d(0, 0, 0);
  468. transform: translate3d(0, 0, 0);
  469. }
  470. @-webkit-keyframes drift {
  471. from {
  472. -webkit-transform: rotate(0deg);
  473. transform: rotate(0deg);
  474. }
  475. from {
  476. -webkit-transform: rotate(360deg);
  477. transform: rotate(360deg);
  478. }
  479. }
  480. @keyframes drift {
  481. from {
  482. -webkit-transform: rotate(0deg);
  483. transform: rotate(0deg);
  484. }
  485. from {
  486. -webkit-transform: rotate(360deg);
  487. transform: rotate(360deg);
  488. }
  489. }
  490. /* 分享 */
  491. .shareMask {
  492. width: 100vw;
  493. position: fixed;
  494. top: 0;
  495. z-index: 100;
  496. height: 100vh;
  497. background-color: rgba(0, 0, 0, 0.6);
  498. }
  499. .shareMask .menu {
  500. position: absolute;
  501. bottom: 0;
  502. left: 0;
  503. width: 100%;
  504. background-color: #fff;
  505. height: 228rpx;
  506. display: flex;
  507. align-items: center;
  508. justify-content: space-between;
  509. }
  510. .shareMask .menu_item {
  511. flex: 1;
  512. height: 100%;
  513. background: #fff;
  514. display: flex;
  515. align-items: center;
  516. justify-content: center;
  517. flex-direction: column;
  518. }
  519. .shareMask .menu_item image {
  520. width: 100rpx;
  521. height: 100rpx;
  522. }
  523. .shareMask .menu_item text {
  524. color: #333;
  525. font-size: 24rpx;
  526. font-weight: bold;
  527. margin-top: 12rpx;
  528. }
  529. /* 分享朋友圈 */
  530. .shareCircles {
  531. width: 100vw;
  532. position: fixed;
  533. top: 0;
  534. z-index: 100;
  535. height: 100%;
  536. }
  537. .shareCircles .task {
  538. background-color: rgba(0, 0, 0, 0.6);
  539. position: absolute;
  540. top: 0;
  541. left: 0;
  542. width: 100%;
  543. height: 100%;
  544. }
  545. .shareCircles .content {
  546. width: 466rpx;
  547. display: flex;
  548. align-items: center;
  549. flex-direction: column;
  550. height: 1005rpx;
  551. position: absolute;
  552. left: 50%;
  553. top: 50%;
  554. transform: translate(-50%, -50%);
  555. z-index: 999;
  556. }
  557. .shareCircles .main_img {
  558. width: 466rpx;
  559. height: 828rpx;
  560. }
  561. .shareCircles .main_img image {
  562. width: 100%;
  563. height: 100%;
  564. }
  565. .shareCircles .prompt {
  566. font-size: 28rpx;
  567. line-height: 40rpx;
  568. color: #fff;
  569. margin-top: 17rpx;
  570. margin-bottom: 32rpx;
  571. white-space: nowrap;
  572. }
  573. .shareCircles .btn {
  574. width: 395rpx;
  575. height: 88rpx;
  576. border-radius: 100px;
  577. font-size: 36rpx;
  578. color: #fff;
  579. display: flex;
  580. align-items: center;
  581. justify-content: center;
  582. background: #557cff;
  583. }
  584. .share_close {
  585. height: 40rpx;
  586. position: absolute;
  587. right: 27rpx;
  588. top: -61rpx;
  589. width: 40rpx;
  590. }
  591. .wrap_info {
  592. padding: 8rpx 0;
  593. }
  594. .player__avatar {
  595. border-radius: 50%;
  596. height: 40rpx;
  597. margin-right: 8rpx;
  598. vertical-align: middle;
  599. width: 40rpx;
  600. }
  601. .player__info {
  602. color: #8B8B8B;
  603. font-size: 26rpx;
  604. line-height: 40rpx;
  605. margin-left: 8rpx;
  606. }