index.wxss 9.3 KB

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