index.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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. }
  122. .info view{
  123. color: #666;
  124. width: 85%;
  125. vertical-align: top;
  126. }
  127. .info label{
  128. font-weight: 500;
  129. color: #333;
  130. }
  131. .imgs{
  132. margin: 30rpx 0;
  133. }
  134. .img{
  135. display: inline-block;
  136. width: 224rpx;
  137. height: 224rpx;
  138. border-radius: 8rpx;
  139. margin-right: 8rpx;
  140. margin-bottom: 8rpx;
  141. }
  142. /* //热门股票 */
  143. .item2{
  144. padding: 20rpx 25rpx 0;
  145. }
  146. .date-picker{
  147. text-align: center;
  148. font-weight: 500;
  149. font-size: 32rpx;
  150. }
  151. .hot{
  152. border-radius: 16rpx;
  153. margin-top: 30rpx;
  154. box-shadow: 0px 0px 12px 0px rgba(218, 217, 217, 0.5);
  155. }
  156. .tab1{
  157. color: #D94B24;
  158. padding: 0 24rpx;
  159. font-weight: 500;
  160. font-size: 40rpx;
  161. line-height: 88rpx;
  162. border-radius: 16rpx 16rpx 0px 0px;
  163. background: linear-gradient(124deg, #FEEAEC 0%, #FFAEAF 100%);
  164. }
  165. .tab2{
  166. color: #2383E5;
  167. padding: 0 24rpx;
  168. font-weight: 500;
  169. font-size: 40rpx;
  170. line-height: 88rpx;
  171. border-radius: 16rpx 16rpx 0px 0px;
  172. background: linear-gradient(124deg, #ECF6FF 0%, #B4D9FF 100%);
  173. }
  174. .hot image{
  175. width: 54rpx;
  176. position: relative;
  177. top:3rpx;
  178. }
  179. .gp{
  180. display: flex;
  181. justify-content: space-between;
  182. padding: 24rpx;
  183. }
  184. .gp-name{
  185. font-weight: 500;
  186. font-size: 32rpx;
  187. width: 70%;
  188. padding-left: 8rpx;
  189. }
  190. .num{
  191. font-size: 28rpx;
  192. color: #666;
  193. text-align: right;
  194. width: 200rpx;
  195. }
  196. .num text{
  197. font-size: 36rpx;
  198. font-weight: 500;
  199. }
  200. .more{
  201. display: block;
  202. border-top: 1px solid #F5F5F5;
  203. line-height: 94rpx;
  204. text-align: center;
  205. font-size: 28rpx;
  206. color: #333;
  207. }
  208. .more image{
  209. width: 24rpx;
  210. position: relative;
  211. top: 3rpx;
  212. }
  213. /* 胜率 */
  214. .win{
  215. position: relative;
  216. padding: 30rpx 0;
  217. padding-left: 59rpx;
  218. border-bottom: 1px solid #F5F5F5;
  219. }
  220. .win image{
  221. width: 50rpx;
  222. position: absolute;
  223. top: 33rpx;
  224. left: 0;
  225. }
  226. .win .rank{
  227. position: absolute;
  228. top: 32rpx;
  229. left: 0;
  230. width:50rpx;text-align:center;color:#CE994F;
  231. }
  232. .win .name view{
  233. float: right;
  234. color: #666;
  235. font-size: 28rpx;
  236. text-align: center;
  237. position: relative;
  238. top: 0;
  239. font-weight: 400;
  240. }
  241. .win .name view text{
  242. font-size: 36rpx;
  243. color: #E90001;
  244. display: inline;
  245. top: 0;
  246. }
  247. .win .tag{
  248. font-size: 28rpx;
  249. color: #CE994F;
  250. border: 1px solid #CE994F;
  251. border-radius: 8rpx;
  252. margin-right: 8rpx;
  253. font-weight: 400;
  254. padding: 0 8rpx;
  255. }
  256. /* 冠军心得 */
  257. .list{
  258. display: flex;
  259. justify-content: space-between;
  260. border-bottom: 1px solid #F5F5F5;
  261. padding: 24rpx 0;
  262. }
  263. .list image{
  264. width: 174rpx;
  265. height: 120rpx;
  266. border-radius: 8rpx;
  267. }
  268. .list>view{
  269. width: 70%;
  270. font-size: 32rpx;
  271. }
  272. .list .title{
  273. height: 88rpx;
  274. }
  275. .list text{
  276. font-size: 28rpx;
  277. color: #999;
  278. }
  279. .exp{
  280. color: #D94B24;
  281. font-size: 24rpx;
  282. }