index.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. /**index.wxss**/
  2. /*首页跑马灯效果*/
  3. @keyframes around {
  4. from {
  5. margin-left: 90%;
  6. }
  7. to {
  8. /* var接受传入的变量 */
  9. margin-left: -100%;
  10. }
  11. }
  12. page{
  13. background: #F7F7F7;
  14. }
  15. .list-top{
  16. display: flex;
  17. flex-wrap: wrap;
  18. background-color: #fff;
  19. padding: 20rpx 0;
  20. }
  21. .list-top navigator{
  22. width: 20%;
  23. text-align: center;
  24. padding: 10rpx 0;
  25. font-size: 29rpx;
  26. }
  27. .list-top image{
  28. width: 50rpx;
  29. display: block;
  30. margin: 0 auto 5rpx;
  31. }
  32. .banner-list{
  33. height: calc(100vw / 1.77 + 45px);
  34. background-color: #fff;
  35. margin-bottom: 20rpx;
  36. }
  37. .banner-list navigator{
  38. height: calc(100vw / 1.77);
  39. overflow: hidden;
  40. }
  41. .banner-list image{
  42. width: 100%;
  43. height: 100% !important;
  44. }
  45. .banner-list .name{
  46. padding:0 20rpx;
  47. line-height: 80rpx;
  48. font-size: 33rpx;
  49. }
  50. .banner-list .wx-swiper-dots.wx-swiper-dots-horizontal {
  51. position: absolute;
  52. bottom: 110rpx;
  53. right:auto;
  54. }
  55. .notice{
  56. background-color: #fff;
  57. padding: 20rpx;
  58. display: flex;
  59. }
  60. .notice image{
  61. width: 40rpx;
  62. }
  63. .notice text{
  64. color: #FF583D;
  65. font-size: 32rpx;
  66. position: relative;
  67. left: 10rpx;
  68. top: -12rpx;
  69. }
  70. .notice-list{
  71. width: 80%;
  72. font-size: 30rpx;
  73. line-height: 55rpx;
  74. margin-top: -6rpx;
  75. padding-left: 20rpx;
  76. }
  77. .up-down-view{
  78. background-color: #fff;
  79. margin-top: 20rpx;
  80. }
  81. .content-list{
  82. display: flex;
  83. width: 300vw;
  84. }
  85. .number{
  86. width: 50rpx;
  87. display: inline-block;
  88. text-align: center;
  89. color: #CE994F;
  90. font-size: 30rpx;
  91. font-weight: 500;
  92. margin-right: 10rpx;
  93. margin-top: 3rpx;
  94. }
  95. image.number{
  96. margin-top: 25rpx;
  97. }
  98. .avatar{
  99. width: 90rpx;
  100. height: 90rpx;
  101. border-radius: 50%;
  102. margin-right: 15rpx;
  103. margin-left: 10rpx;
  104. }
  105. .up-down{
  106. width: 100%;
  107. margin-right: 20rpx;
  108. }
  109. .up-down>navigator{
  110. padding: 6rpx 0;
  111. border-bottom: 1px solid #f2f2f2;
  112. display: flex;
  113. font-size: 30rpx;
  114. }
  115. .up-down .text{
  116. width: 20%;
  117. /* font-weight: 500; */
  118. margin-left: 10rpx;
  119. }
  120. .up-down .down,.up-down .up{
  121. width: 20%;
  122. }
  123. .up-down .usm{
  124. width: 40%;
  125. overflow: hidden;
  126. text-overflow: ellipsis;
  127. white-space: nowrap;
  128. margin-left: 10rpx;
  129. }
  130. .title_1{
  131. text-align: right;
  132. }
  133. .title_1 text{
  134. display: inline-block;
  135. width: 18%;
  136. font-size: 24rpx;
  137. color: #999;
  138. text-align: left;
  139. /* margin-left: -5rpx; */
  140. }
  141. .up-title{
  142. font-size: 33rpx;
  143. padding: 20rpx;
  144. }
  145. .up-title navigator{
  146. float: right;
  147. font-size: 28rpx;
  148. top:5rpx;
  149. }
  150. .more-image{
  151. width: 32rpx;
  152. position: relative;
  153. top:8rpx;
  154. }
  155. .up-down navigator text{
  156. line-height: 80rpx;
  157. }
  158. .up-down>text{
  159. color: rgb(128, 128, 128);
  160. font-size: 30rpx;
  161. margin-bottom: 10rpx;
  162. display: block;
  163. }
  164. .article-img{
  165. max-width: 100rpx;
  166. height: 100rpx;
  167. border-radius: 8rpx;
  168. }
  169. .article-name{
  170. display: inline-block;
  171. width: 82%;
  172. line-height: 38rpx !important;
  173. height: 38rpx;
  174. font-size: 30rpx;
  175. }
  176. .article-title{
  177. font-size: 33rpx;
  178. margin-bottom: 30rpx;
  179. }
  180. .article-title navigator{
  181. font-size: 30rpx;
  182. color: rgb(128, 128, 128);
  183. float: right !important;
  184. }
  185. .baike{
  186. background-color: #fff;
  187. width: 100%;
  188. padding:20rpx;
  189. margin: 20rpx 0;
  190. }
  191. .baike .article-title{
  192. margin-bottom: 30rpx;
  193. font-size: 33rpx;
  194. }
  195. .baike .article-title navigator{
  196. font-size: 28rpx;
  197. color: rgb(128, 128, 128);
  198. float: right !important;
  199. }
  200. .baike-list{
  201. color: #333;
  202. font-size: 32rpx;
  203. margin-bottom: 20rpx;
  204. padding: 0 0 30rpx;
  205. border-bottom: 1px solid #f2f2f2;
  206. }
  207. .baike-list text{
  208. margin-right: 10rpx;
  209. }
  210. .baike-info{
  211. display: flex;
  212. margin-top: 20rpx;
  213. }
  214. .baike-info image{
  215. margin-top: 10rpx;
  216. width: 130rpx;
  217. height: 130rpx;
  218. border-radius: 10rpx;
  219. }
  220. .baike-info text{
  221. display: block;
  222. width: 85%;
  223. padding-left: 20rpx;
  224. padding-top: 10rpx;
  225. /* padding: 20rpx; */
  226. color: #000;
  227. /* text-overflow: -o-ellipsis-lastline; */
  228. overflow: hidden;text-overflow: ellipsis;display: -webkit-box;
  229. -webkit-line-clamp: 3;-webkit-box-orient: vertical;align-content: center;
  230. height: 100%;
  231. font-size: 30rpx;
  232. }
  233. .tab{
  234. background: #fff;
  235. /* margin-top: 16rpx; */
  236. padding:0 20rpx;
  237. display: flex;
  238. border-bottom: 1px solid #f2f2f2;
  239. }
  240. .tab view{
  241. font-size: 32rpx;
  242. color: #333;
  243. line-height: 80rpx;
  244. transition: all .1s linear;
  245. margin-right: 30rpx;
  246. }
  247. .tab .act{
  248. color: #FF583D;
  249. border-bottom: 2px solid #FF583D;
  250. font-size: 32rpx;
  251. }
  252. .swiper-content{
  253. background: #fff;
  254. height: calc(100vh - 86rpx);
  255. }
  256. scroll-view{
  257. height: 100%;
  258. padding: 25rpx 25rpx 0;
  259. }
  260. .swiper-content scroll-view{
  261. padding-top: 0;
  262. }
  263. .item1{
  264. border-bottom: 1px solid #F5F5F5;
  265. margin: 30rpx 0;
  266. }
  267. .name{
  268. font-size: 32rpx;
  269. /* font-weight: 500; */
  270. margin-bottom: 20rpx;
  271. }
  272. .name>text{
  273. color: #AAAAAA;
  274. font-size: 20rpx;
  275. border: 1px solid #AAAAAA;
  276. border-radius: 4rpx;
  277. font-weight: 400;
  278. padding: 0 4rpx;
  279. position: relative;
  280. top: -3rpx;
  281. }
  282. .name view{
  283. float: right;
  284. color: #CE994F;
  285. font-size: 22rpx;
  286. text-align: center;
  287. position: relative;
  288. top: -5rpx;
  289. }
  290. .name view text{
  291. display: block;
  292. font-size: 32rpx;
  293. color: #CE994F;
  294. position: relative;
  295. top: -8rpx;
  296. }
  297. .info{
  298. font-size: 30rpx;
  299. padding: 10rpx 0;
  300. display: flex;
  301. flex-wrap: wrap;
  302. }
  303. .info view{
  304. color: #666;
  305. width: 85%;
  306. vertical-align: top;
  307. }
  308. .info label{
  309. font-weight: 500;
  310. color: #333;
  311. }
  312. .imgs{
  313. margin: 30rpx 0;
  314. }
  315. .img{
  316. display: inline-block;
  317. width: 224rpx;
  318. height: 224rpx;
  319. border-radius: 8rpx;
  320. margin-right: 8rpx;
  321. margin-bottom: 8rpx;
  322. }
  323. /* //热门股票 */
  324. .item2{
  325. padding: 20rpx 25rpx 0;
  326. }
  327. .date-picker{
  328. text-align: center;
  329. font-weight: 500;
  330. font-size: 32rpx;
  331. }
  332. .hot{
  333. border-radius: 16rpx;
  334. margin-top: 30rpx;
  335. /* box-shadow: 0px 0px 12px 0px rgba(218, 217, 217, 0.5); */
  336. }
  337. .hot_tab{
  338. display: flex;
  339. }
  340. .hot_tab view{
  341. width: 50%;
  342. text-align: center;
  343. font-size: 30rpx;
  344. line-height: 88rpx;
  345. position: relative;
  346. }
  347. .hot_tab .act1{
  348. font-weight: bold;
  349. }
  350. .act1 text{
  351. position: absolute;
  352. width: 64rpx;
  353. height: 6rpx;
  354. bottom: 0;
  355. left: 0;
  356. right: 0;
  357. margin: auto;
  358. background: rgba(217, 75, 36, 1);
  359. border-radius: 40rpx;
  360. }
  361. .tab1{
  362. color: #D94B24;
  363. padding: 0 24rpx;
  364. font-weight: 500;
  365. font-size: 40rpx;
  366. line-height: 88rpx;
  367. border-radius: 16rpx 16rpx 0px 0px;
  368. background: linear-gradient(124deg, #FEEAEC 0%, #FFAEAF 100%);
  369. }
  370. .tab2{
  371. color: #2383E5;
  372. padding: 0 24rpx;
  373. font-weight: 500;
  374. font-size: 40rpx;
  375. line-height: 88rpx;
  376. border-radius: 16rpx 16rpx 0px 0px;
  377. background: linear-gradient(124deg, #ECF6FF 0%, #B4D9FF 100%);
  378. }
  379. .hot image{
  380. width: 54rpx;
  381. position: relative;
  382. top:3rpx;
  383. }
  384. .gp{
  385. display: flex;
  386. justify-content: space-between;
  387. padding: 24rpx 0;
  388. flex-wrap: wrap;
  389. border-bottom: 1px solid #F5F5F5;
  390. }
  391. .gp-name{
  392. font-weight: 500;
  393. font-size: 32rpx;
  394. width: 60%;
  395. padding-left: 8rpx;
  396. }
  397. .num{
  398. font-size: 28rpx;
  399. color: #999;
  400. text-align: right;
  401. width: 200rpx;
  402. }
  403. .num text{
  404. font-size: 36rpx;
  405. font-weight: 500;
  406. color: #D94B24;
  407. }
  408. .comment{
  409. width: 100%;
  410. padding-top: 10rpx;
  411. padding-left: 60rpx;
  412. }
  413. .comment text{
  414. color: #666;
  415. margin:0 10rpx;
  416. font-size: 28rpx;
  417. }
  418. .more{
  419. display: block;
  420. line-height: 94rpx;
  421. text-align: center;
  422. font-size: 28rpx;
  423. color: #333;
  424. }
  425. .more image{
  426. width: 24rpx;
  427. position: relative;
  428. top: 3rpx;
  429. }
  430. /* 胜率 */
  431. .win{
  432. position: relative;
  433. padding: 30rpx 0;
  434. padding-left: 59rpx;
  435. border-bottom: 1px solid #F5F5F5;
  436. }
  437. .win image{
  438. width: 50rpx;
  439. position: absolute;
  440. top: 33rpx;
  441. left: 0;
  442. }
  443. .hot .rank{
  444. width:50rpx;text-align:center;color:#CE994F;
  445. display: inline-block;
  446. }
  447. .win .rank{
  448. position: absolute;
  449. top: 32rpx;
  450. left: 0;
  451. width:50rpx;text-align:center;color:#CE994F;
  452. }
  453. .win .name view{
  454. float: right;
  455. color: #666;
  456. font-size: 28rpx;
  457. text-align: center;
  458. position: relative;
  459. top: 0;
  460. font-weight: 400;
  461. }
  462. .win .name view text{
  463. font-size: 36rpx;
  464. color: #E90001;
  465. display: inline;
  466. top: 0;
  467. }
  468. .win .tag{
  469. font-size: 28rpx;
  470. color: #CE994F;
  471. border: 1px solid #CE994F;
  472. border-radius: 8rpx;
  473. margin-right: 8rpx;
  474. font-weight: 400;
  475. padding: 0 8rpx;
  476. margin-bottom: 10rpx;
  477. }
  478. /* 冠军心得 */
  479. .list{
  480. display: flex;
  481. justify-content: space-between;
  482. border-bottom: 1px solid #F5F5F5;
  483. padding: 24rpx 0;
  484. }
  485. .list image{
  486. width: 174rpx;
  487. height: 120rpx;
  488. border-radius: 8rpx;
  489. }
  490. .list>view{
  491. width: 70%;
  492. font-size: 32rpx;
  493. }
  494. .list .title{
  495. height: 88rpx;
  496. }
  497. .list text{
  498. font-size: 28rpx;
  499. color: #999;
  500. }
  501. .exp{
  502. color: #D94B24;
  503. font-size: 24rpx;
  504. }
  505. .relist{
  506. position: relative;
  507. padding-left: 80rpx;
  508. margin-bottom: 24rpx;
  509. }
  510. .relist image{
  511. width: 90rpx;
  512. height: 90rpx;
  513. position: absolute;
  514. left: 0;
  515. border-radius: 100%;
  516. }
  517. .content{
  518. font-size: 32rpx;
  519. margin-top: 20rpx;
  520. }
  521. .msg .name{
  522. font-size: 32rpx;
  523. color: #333;
  524. margin-left: 30rpx;
  525. }
  526. .msg .date{
  527. font-size: 28rpx;
  528. color: #333;
  529. margin-left: 30rpx;
  530. }
  531. .item_money{
  532. font-size: 33rpx;
  533. }
  534. .item_money_title{
  535. font-size: 30rpx;
  536. }
  537. .recomment{
  538. padding: 24rpx 0;
  539. border-bottom: 1px solid rgba(245, 245, 245, 1);
  540. }
  541. .recomment image{
  542. width: 32rpx;
  543. margin-right: 10rpx;
  544. position: relative;
  545. top: 5rpx;
  546. }
  547. .recomment text{
  548. color: #999;
  549. font-size: 28rpx;
  550. margin-right: 40rpx;
  551. }
  552. .marquee_container{
  553. width: 100%;
  554. background-color: #fff;
  555. /* background: rgba(255, 244.8, 244.8, 1); */
  556. /* box-shadow:0px 4px 12px 0px rgba(0,0,0,0.08); */
  557. border-radius:4px;
  558. padding: 10px 8px;
  559. position: relative;
  560. overflow: hidden;
  561. height: 125rpx;
  562. margin-bottom: 20rpx;
  563. }
  564. .marquee_container navigator{
  565. background-color: #ff0f03;
  566. position: absolute;
  567. right: 20rpx;
  568. top: 0;
  569. color: #fff;
  570. padding: 0 20rpx;
  571. height: 70rpx;
  572. line-height: 70rpx;
  573. border-radius: 6rpx;
  574. font-size: 26rpx;
  575. bottom: 0;
  576. margin: auto;
  577. }
  578. .marquee_text{
  579. color:#333;
  580. font-weight: 600;
  581. font-size: 34rpx;
  582. }
  583. .marquee_text text{
  584. display: block;
  585. color:#666;
  586. font-size: 26rpx;
  587. margin-top: 5rpx;
  588. font-weight: 400;
  589. }
  590. .group_list{
  591. display: flex;
  592. width: 100%;
  593. flex-wrap: wrap;
  594. justify-content: space-between;
  595. }
  596. .g_list{
  597. position: relative;
  598. text-align: center;
  599. padding: 10rpx 40rpx;
  600. /* margin-right: 15rpx; */
  601. width: 30%;
  602. margin-bottom: 15px;
  603. }
  604. .g_list text{
  605. display: block;
  606. position: relative;
  607. z-index: 9;
  608. font-size: 26rpx;
  609. font-weight: 500;
  610. }
  611. .g_list view{
  612. position: relative;
  613. z-index: 9;
  614. font-size: 30rpx;
  615. font-weight: 500;
  616. margin-top: 10rpx;
  617. }
  618. .group_list image{
  619. width: 100%;
  620. position: absolute;
  621. left: 0;
  622. top: 0;
  623. }
  624. .g_list .fund{
  625. font-weight: bolder;
  626. font-size: 32rpx;
  627. margin: 5rpx 0;
  628. }
  629. .today{
  630. padding: 25rpx;
  631. font-size: 26rpx;
  632. }
  633. .change{
  634. color: #E90001;
  635. font-size: 30rpx;
  636. text-decoration: underline;
  637. display: inline;
  638. }
  639. .yk_list{
  640. margin-top: 20rpx;
  641. }
  642. .yk{
  643. display: flex;
  644. /* justify-content: space-between; */
  645. font-size: 24rpx;
  646. }
  647. .week_name{
  648. width: 15%;
  649. padding: 12px 0;
  650. font-size: 26rpx;
  651. }
  652. .week_total{
  653. width: 15%;
  654. text-align: center;
  655. padding: 10rpx 0;
  656. }
  657. .week_incom{
  658. width: 70%;
  659. display: flex;
  660. }
  661. .week_incom>view{
  662. padding: 5px 0;
  663. width: 20%;
  664. text-align: center;
  665. /* border: 1px solid red; */
  666. }
  667. .week_incom text{
  668. display: block;
  669. color: #fff;
  670. }
  671. .week_incom .down{
  672. background-color: #07B20B;
  673. color: #fff !important;
  674. }
  675. .week_incom .up{
  676. background-color: #E90001;
  677. color: #fff !important;
  678. }
  679. .week_incom .none{
  680. background-color: #a3a3a3;
  681. /* color: #fff !important; */
  682. }
  683. .score{
  684. display: flex;
  685. justify-content: space-between;
  686. align-items: center;
  687. margin-bottom: 10rpx;
  688. font-size: 28rpx;
  689. }
  690. .score>view{
  691. width: 75%;
  692. }
  693. .score view view{
  694. height: 15rpx;
  695. }