index.wxss 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  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: 24rpx;
  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: 25rpx;
  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: 26rpx;
  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: 26rpx;
  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: 28rpx;
  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: 28rpx;
  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: 24rpx;
  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. }
  240. .tab{
  241. background: #fff;
  242. margin-top: 16rpx;
  243. padding:0 20rpx;
  244. display: flex;
  245. border-bottom: 1px solid #f2f2f2;
  246. }
  247. .tab view{
  248. font-size: 28rpx;
  249. color: #333;
  250. line-height: 80rpx;
  251. transition: all .1s linear;
  252. margin-right: 30rpx;
  253. }
  254. .tab .act{
  255. color: #FF583D;
  256. border-bottom: 2px solid #FF583D;
  257. }
  258. .swiper-content{
  259. background: #fff;
  260. height: calc(100vh - 86rpx);
  261. }
  262. scroll-view{
  263. height: 100%;
  264. padding: 25rpx 25rpx 0;
  265. }
  266. .swiper-content scroll-view{
  267. padding-top: 0;
  268. }
  269. .item1{
  270. border-bottom: 1px solid #F5F5F5;
  271. margin: 30rpx 0;
  272. }
  273. .name{
  274. font-size: 32rpx;
  275. font-weight: 500;
  276. margin-bottom: 20rpx;
  277. }
  278. .name>text{
  279. color: #AAAAAA;
  280. font-size: 20rpx;
  281. border: 1px solid #AAAAAA;
  282. border-radius: 4rpx;
  283. font-weight: 400;
  284. padding: 0 4rpx;
  285. position: relative;
  286. top: -3rpx;
  287. }
  288. .name view{
  289. float: right;
  290. color: #CE994F;
  291. font-size: 22rpx;
  292. text-align: center;
  293. position: relative;
  294. top: -5rpx;
  295. }
  296. .name view text{
  297. display: block;
  298. font-size: 32rpx;
  299. color: #CE994F;
  300. position: relative;
  301. top: -8rpx;
  302. }
  303. .info{
  304. font-size: 30rpx;
  305. padding: 10rpx 0;
  306. display: flex;
  307. flex-wrap: wrap;
  308. }
  309. .info view{
  310. color: #666;
  311. width: 85%;
  312. vertical-align: top;
  313. }
  314. .info label{
  315. font-weight: 500;
  316. color: #333;
  317. }
  318. .imgs{
  319. margin: 30rpx 0;
  320. }
  321. .img{
  322. display: inline-block;
  323. width: 224rpx;
  324. height: 224rpx;
  325. border-radius: 8rpx;
  326. margin-right: 8rpx;
  327. margin-bottom: 8rpx;
  328. }
  329. /* //热门股票 */
  330. .item2{
  331. padding: 20rpx 25rpx 0;
  332. }
  333. .date-picker{
  334. text-align: center;
  335. font-weight: 500;
  336. font-size: 32rpx;
  337. }
  338. .hot{
  339. border-radius: 16rpx;
  340. margin-top: 30rpx;
  341. /* box-shadow: 0px 0px 12px 0px rgba(218, 217, 217, 0.5); */
  342. }
  343. .hot_tab{
  344. display: flex;
  345. }
  346. .hot_tab view{
  347. width: 50%;
  348. text-align: center;
  349. font-size: 30rpx;
  350. line-height: 88rpx;
  351. position: relative;
  352. }
  353. .hot_tab .act1{
  354. font-weight: bold;
  355. }
  356. .act1 text{
  357. position: absolute;
  358. width: 64rpx;
  359. height: 6rpx;
  360. bottom: 0;
  361. left: 0;
  362. right: 0;
  363. margin: auto;
  364. background: rgba(217, 75, 36, 1);
  365. border-radius: 40rpx;
  366. }
  367. .tab1{
  368. color: #D94B24;
  369. padding: 0 24rpx;
  370. font-weight: 500;
  371. font-size: 40rpx;
  372. line-height: 88rpx;
  373. border-radius: 16rpx 16rpx 0px 0px;
  374. background: linear-gradient(124deg, #FEEAEC 0%, #FFAEAF 100%);
  375. }
  376. .tab2{
  377. color: #2383E5;
  378. padding: 0 24rpx;
  379. font-weight: 500;
  380. font-size: 40rpx;
  381. line-height: 88rpx;
  382. border-radius: 16rpx 16rpx 0px 0px;
  383. background: linear-gradient(124deg, #ECF6FF 0%, #B4D9FF 100%);
  384. }
  385. .hot image{
  386. width: 54rpx;
  387. position: relative;
  388. top:3rpx;
  389. }
  390. .gp{
  391. display: flex;
  392. justify-content: space-between;
  393. padding: 24rpx 0;
  394. flex-wrap: wrap;
  395. border-bottom: 1px solid #F5F5F5;
  396. }
  397. .gp-name{
  398. font-weight: 500;
  399. font-size: 32rpx;
  400. width: 60%;
  401. padding-left: 8rpx;
  402. }
  403. .num{
  404. font-size: 28rpx;
  405. color: #999;
  406. text-align: right;
  407. width: 200rpx;
  408. }
  409. .num text{
  410. font-size: 36rpx;
  411. font-weight: 500;
  412. color: #D94B24;
  413. }
  414. .comment{
  415. width: 100%;
  416. padding-top: 10rpx;
  417. padding-left: 60rpx;
  418. }
  419. .comment text{
  420. color: #666;
  421. margin:0 10rpx;
  422. font-size: 28rpx;
  423. }
  424. .more{
  425. display: block;
  426. line-height: 94rpx;
  427. text-align: center;
  428. font-size: 28rpx;
  429. color: #333;
  430. }
  431. .more image{
  432. width: 24rpx;
  433. position: relative;
  434. top: 3rpx;
  435. }
  436. /* 胜率 */
  437. .win{
  438. position: relative;
  439. padding: 30rpx 0;
  440. padding-left: 59rpx;
  441. border-bottom: 1px solid #F5F5F5;
  442. }
  443. .win image{
  444. width: 50rpx;
  445. position: absolute;
  446. top: 33rpx;
  447. left: 0;
  448. }
  449. .hot .rank{
  450. width:50rpx;text-align:center;color:#CE994F;
  451. display: inline-block;
  452. }
  453. .win .rank{
  454. position: absolute;
  455. top: 32rpx;
  456. left: 0;
  457. width:50rpx;text-align:center;color:#CE994F;
  458. }
  459. .win .name view{
  460. float: right;
  461. color: #666;
  462. font-size: 28rpx;
  463. text-align: center;
  464. position: relative;
  465. top: 0;
  466. font-weight: 400;
  467. }
  468. .win .name view text{
  469. font-size: 36rpx;
  470. color: #E90001;
  471. display: inline;
  472. top: 0;
  473. }
  474. .win .tag{
  475. font-size: 28rpx;
  476. color: #CE994F;
  477. border: 1px solid #CE994F;
  478. border-radius: 8rpx;
  479. margin-right: 8rpx;
  480. font-weight: 400;
  481. padding: 0 8rpx;
  482. margin-bottom: 10rpx;
  483. }
  484. /* 冠军心得 */
  485. .list{
  486. display: flex;
  487. justify-content: space-between;
  488. border-bottom: 1px solid #F5F5F5;
  489. padding: 24rpx 0;
  490. }
  491. .list image{
  492. width: 174rpx;
  493. height: 120rpx;
  494. border-radius: 8rpx;
  495. }
  496. .list>view{
  497. width: 70%;
  498. font-size: 32rpx;
  499. }
  500. .list .title{
  501. height: 88rpx;
  502. }
  503. .list text{
  504. font-size: 28rpx;
  505. color: #999;
  506. }
  507. .exp{
  508. color: #D94B24;
  509. font-size: 24rpx;
  510. }
  511. .relist{
  512. position: relative;
  513. padding-left: 80rpx;
  514. margin-bottom: 24rpx;
  515. }
  516. .relist>image{
  517. width: 64rpx;
  518. height: 64rpx;
  519. position: absolute;
  520. left: 0;
  521. top: 0;
  522. border-radius: 100%;
  523. }
  524. .content,.msg .name{
  525. font-size: 30rpx;
  526. line-height: 48rpx;
  527. color: #333;
  528. }
  529. .msg view{
  530. color: #666;
  531. font-size: 28rpx;
  532. }
  533. .msg view label{
  534. font-size: 28rpx;
  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. }