index.wxss 9.2 KB

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