index.wxss 8.9 KB

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