index.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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: 20rpx;
  231. padding-left: 60rpx;
  232. }
  233. .comment text{
  234. color: #666;
  235. margin:0 10rpx;
  236. }
  237. .more{
  238. display: block;
  239. line-height: 94rpx;
  240. text-align: center;
  241. font-size: 28rpx;
  242. color: #333;
  243. }
  244. .more image{
  245. width: 24rpx;
  246. position: relative;
  247. top: 3rpx;
  248. }
  249. /* 胜率 */
  250. .win{
  251. position: relative;
  252. padding: 30rpx 0;
  253. padding-left: 59rpx;
  254. border-bottom: 1px solid #F5F5F5;
  255. }
  256. .win image{
  257. width: 50rpx;
  258. position: absolute;
  259. top: 33rpx;
  260. left: 0;
  261. }
  262. .hot .rank{
  263. width:50rpx;text-align:center;color:#CE994F;
  264. display: inline-block;
  265. }
  266. .win .rank{
  267. position: absolute;
  268. top: 32rpx;
  269. left: 0;
  270. width:50rpx;text-align:center;color:#CE994F;
  271. }
  272. .win .name view{
  273. float: right;
  274. color: #666;
  275. font-size: 28rpx;
  276. text-align: center;
  277. position: relative;
  278. top: 0;
  279. font-weight: 400;
  280. }
  281. .win .name view text{
  282. font-size: 36rpx;
  283. color: #E90001;
  284. display: inline;
  285. top: 0;
  286. }
  287. .win .tag{
  288. font-size: 28rpx;
  289. color: #CE994F;
  290. border: 1px solid #CE994F;
  291. border-radius: 8rpx;
  292. margin-right: 8rpx;
  293. font-weight: 400;
  294. padding: 0 8rpx;
  295. margin-bottom: 10rpx;
  296. }
  297. /* 冠军心得 */
  298. .list{
  299. display: flex;
  300. justify-content: space-between;
  301. border-bottom: 1px solid #F5F5F5;
  302. padding: 24rpx 0;
  303. }
  304. .list image{
  305. width: 174rpx;
  306. height: 120rpx;
  307. border-radius: 8rpx;
  308. }
  309. .list>view{
  310. width: 70%;
  311. font-size: 32rpx;
  312. }
  313. .list .title{
  314. height: 88rpx;
  315. }
  316. .list text{
  317. font-size: 28rpx;
  318. color: #999;
  319. }
  320. .exp{
  321. color: #D94B24;
  322. font-size: 24rpx;
  323. }