index.wxss 10 KB

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