index.wxss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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. .tab{
  58. background: #fff;
  59. margin-top: 16rpx;
  60. padding:0 25rpx;
  61. display: flex;
  62. justify-content: space-between;
  63. }
  64. .tab view{
  65. font-size: 28rpx;
  66. color: #333;
  67. line-height: 90rpx;
  68. transition: all .1s linear;
  69. }
  70. .tab .act{
  71. font-size: 38rpx;
  72. font-weight: 500;
  73. line-height: 88rpx;
  74. }
  75. swiper{
  76. background: #fff;
  77. height: calc(100vh - 92rpx - 100rpx);
  78. }
  79. scroll-view{
  80. height: 100%;
  81. padding: 20rpx 25rpx 0;
  82. }
  83. .item1{
  84. border-bottom: 1px solid #F5F5F5;
  85. margin-bottom: 30rpx;
  86. }
  87. .name{
  88. font-size: 32rpx;
  89. font-weight: 500;
  90. margin-bottom: 20rpx;
  91. }
  92. .name>text{
  93. color: #AAAAAA;
  94. font-size: 20rpx;
  95. border: 1px solid #AAAAAA;
  96. border-radius: 4rpx;
  97. font-weight: 400;
  98. padding: 0 4rpx;
  99. position: relative;
  100. top: -3rpx;
  101. }
  102. .name view{
  103. float: right;
  104. color: #CE994F;
  105. font-size: 22rpx;
  106. text-align: center;
  107. position: relative;
  108. top: -5rpx;
  109. }
  110. .name view text{
  111. display: block;
  112. font-size: 32rpx;
  113. color: #CE994F;
  114. position: relative;
  115. top: -8rpx;
  116. }
  117. .info{
  118. font-size: 30rpx;
  119. padding: 10rpx 0;
  120. display: flex;
  121. flex-wrap: wrap;
  122. }
  123. .info view{
  124. color: #666;
  125. width: 85%;
  126. vertical-align: top;
  127. }
  128. .info label{
  129. font-weight: 500;
  130. color: #333;
  131. }
  132. .imgs{
  133. margin: 30rpx 0;
  134. }
  135. .img{
  136. display: inline-block;
  137. width: 224rpx;
  138. height: 224rpx;
  139. border-radius: 8rpx;
  140. margin-right: 8rpx;
  141. margin-bottom: 8rpx;
  142. }
  143. /* //热门股票 */
  144. .item2{
  145. padding: 20rpx 25rpx 0;
  146. }
  147. .date-picker{
  148. text-align: center;
  149. font-weight: 500;
  150. font-size: 32rpx;
  151. }
  152. .hot{
  153. border-radius: 16rpx;
  154. margin-top: 30rpx;
  155. /* box-shadow: 0px 0px 12px 0px rgba(218, 217, 217, 0.5); */
  156. }
  157. .hot_tab{
  158. display: flex;
  159. }
  160. .hot_tab view{
  161. width: 50%;
  162. text-align: center;
  163. font-size: 30rpx;
  164. line-height: 88rpx;
  165. position: relative;
  166. }
  167. .hot_tab .act1{
  168. font-weight: bold;
  169. }
  170. .act1 text{
  171. position: absolute;
  172. width: 64rpx;
  173. height: 6rpx;
  174. bottom: 0;
  175. left: 0;
  176. right: 0;
  177. margin: auto;
  178. background: rgba(217, 75, 36, 1);
  179. border-radius: 40rpx;
  180. }
  181. .tab1{
  182. color: #D94B24;
  183. padding: 0 24rpx;
  184. font-weight: 500;
  185. font-size: 40rpx;
  186. line-height: 88rpx;
  187. border-radius: 16rpx 16rpx 0px 0px;
  188. background: linear-gradient(124deg, #FEEAEC 0%, #FFAEAF 100%);
  189. }
  190. .tab2{
  191. color: #2383E5;
  192. padding: 0 24rpx;
  193. font-weight: 500;
  194. font-size: 40rpx;
  195. line-height: 88rpx;
  196. border-radius: 16rpx 16rpx 0px 0px;
  197. background: linear-gradient(124deg, #ECF6FF 0%, #B4D9FF 100%);
  198. }
  199. .hot image{
  200. width: 54rpx;
  201. position: relative;
  202. top:3rpx;
  203. }
  204. .gp{
  205. display: flex;
  206. justify-content: space-between;
  207. padding: 24rpx 0;
  208. flex-wrap: wrap;
  209. border-bottom: 1px solid #F5F5F5;
  210. }
  211. .gp-name{
  212. font-weight: 500;
  213. font-size: 32rpx;
  214. width: 60%;
  215. padding-left: 8rpx;
  216. }
  217. .num{
  218. font-size: 28rpx;
  219. color: #999;
  220. text-align: right;
  221. width: 200rpx;
  222. }
  223. .num text{
  224. font-size: 36rpx;
  225. font-weight: 500;
  226. color: #D94B24;
  227. }
  228. .comment{
  229. width: 100%;
  230. padding-top: 10rpx;
  231. padding-left: 60rpx;
  232. }
  233. .comment text{
  234. color: #666;
  235. margin:0 10rpx;
  236. font-size: 28rpx;
  237. }
  238. .more{
  239. display: block;
  240. line-height: 94rpx;
  241. text-align: center;
  242. font-size: 28rpx;
  243. color: #333;
  244. }
  245. .more image{
  246. width: 24rpx;
  247. position: relative;
  248. top: 3rpx;
  249. }
  250. /* 胜率 */
  251. .win{
  252. position: relative;
  253. padding: 30rpx 0;
  254. padding-left: 59rpx;
  255. border-bottom: 1px solid #F5F5F5;
  256. }
  257. .win image{
  258. width: 50rpx;
  259. position: absolute;
  260. top: 33rpx;
  261. left: 0;
  262. }
  263. .hot .rank{
  264. width:50rpx;text-align:center;color:#CE994F;
  265. display: inline-block;
  266. }
  267. .win .rank{
  268. position: absolute;
  269. top: 32rpx;
  270. left: 0;
  271. width:50rpx;text-align:center;color:#CE994F;
  272. }
  273. .win .name view{
  274. float: right;
  275. color: #666;
  276. font-size: 28rpx;
  277. text-align: center;
  278. position: relative;
  279. top: 0;
  280. font-weight: 400;
  281. }
  282. .win .name view text{
  283. font-size: 36rpx;
  284. color: #E90001;
  285. display: inline;
  286. top: 0;
  287. }
  288. .win .tag{
  289. font-size: 28rpx;
  290. color: #CE994F;
  291. border: 1px solid #CE994F;
  292. border-radius: 8rpx;
  293. margin-right: 8rpx;
  294. font-weight: 400;
  295. padding: 0 8rpx;
  296. margin-bottom: 10rpx;
  297. }
  298. /* 冠军心得 */
  299. .list{
  300. display: flex;
  301. justify-content: space-between;
  302. border-bottom: 1px solid #F5F5F5;
  303. padding: 24rpx 0;
  304. }
  305. .list image{
  306. width: 174rpx;
  307. height: 120rpx;
  308. border-radius: 8rpx;
  309. }
  310. .list>view{
  311. width: 70%;
  312. font-size: 32rpx;
  313. }
  314. .list .title{
  315. height: 88rpx;
  316. }
  317. .list text{
  318. font-size: 28rpx;
  319. color: #999;
  320. }
  321. .exp{
  322. color: #D94B24;
  323. font-size: 24rpx;
  324. }
  325. .relist{
  326. position: relative;
  327. padding-left: 80rpx;
  328. margin-bottom: 24rpx;
  329. }
  330. .relist>image{
  331. width: 64rpx;
  332. height: 64rpx;
  333. position: absolute;
  334. left: 0;
  335. top: 0;
  336. border-radius: 100%;
  337. }
  338. .content,.msg .name{
  339. font-size: 30rpx;
  340. line-height: 48rpx;
  341. color: #333;
  342. }
  343. .msg view{
  344. color: #666;
  345. font-size: 28rpx;
  346. }
  347. .msg view label{
  348. font-size: 28rpx;
  349. }
  350. .recomment{
  351. padding: 24rpx 0;
  352. border-bottom: 1px solid rgba(245, 245, 245, 1);
  353. }
  354. .recomment image{
  355. width: 32rpx;
  356. margin-right: 10rpx;
  357. position: relative;
  358. top: 5rpx;
  359. }
  360. .recomment text{
  361. color: #999;
  362. font-size: 28rpx;
  363. margin-right: 40rpx;
  364. }