index.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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. }
  29. .marquee_container:hover{
  30. /* 不起作用 */
  31. animation-play-state: paused;
  32. }
  33. .marquee_text{
  34. color:#333;
  35. font-size: 28rpx;
  36. display: flex;
  37. white-space: nowrap;
  38. animation-name: around;
  39. animation-duration: 15s; /*过渡时间*/
  40. animation-iteration-count: infinite;
  41. animation-timing-function:linear;
  42. }
  43. .marquee_text navigator{
  44. margin-right: 20px;
  45. }
  46. .marquee_container image{
  47. width: 60px;
  48. max-height: 30px;
  49. position: absolute;
  50. left: 10px;
  51. top: 30rpx;
  52. }
  53. page{
  54. background: #F7F7F7;
  55. }
  56. .tab{
  57. background: #fff;
  58. margin-top: 16rpx;
  59. padding:0 25rpx;
  60. display: flex;
  61. justify-content: space-between;
  62. }
  63. .tab view{
  64. font-size: 28rpx;
  65. color: #333;
  66. line-height: 90rpx;
  67. transition: all .1s linear;
  68. }
  69. .tab .act{
  70. font-size: 38rpx;
  71. font-weight: 500;
  72. }
  73. swiper{
  74. background: #fff;
  75. height: calc(100vh - 92rpx - 100rpx);
  76. }
  77. scroll-view{
  78. height: 100%;
  79. padding: 20rpx 25rpx 0;
  80. }
  81. .item1{
  82. border-bottom: 1px solid #F5F5F5;
  83. margin-bottom: 30rpx;
  84. }
  85. .name{
  86. font-size: 32rpx;
  87. font-weight: 500;
  88. margin-bottom: 20rpx;
  89. }
  90. .name>text{
  91. color: #AAAAAA;
  92. font-size: 22rpx;
  93. border: 1px solid #AAAAAA;
  94. border-radius: 4rpx;
  95. font-weight: 400;
  96. padding: 0 4rpx;
  97. position: relative;
  98. top: -3rpx;
  99. }
  100. .name view{
  101. float: right;
  102. color: #CE994F;
  103. font-size: 22rpx;
  104. text-align: center;
  105. position: relative;
  106. top: -5rpx;
  107. }
  108. .name view text{
  109. display: block;
  110. font-size: 32rpx;
  111. color: #CE994F;
  112. position: relative;
  113. top: -8rpx;
  114. }
  115. .info{
  116. font-size: 30rpx;
  117. padding: 10rpx 0;
  118. display: flex;
  119. }
  120. .info view{
  121. color: #666;
  122. width: 85%;
  123. vertical-align: top;
  124. }
  125. .info label{
  126. font-weight: 500;
  127. color: #333;
  128. }
  129. .imgs{
  130. margin: 30rpx 0;
  131. }
  132. .img{
  133. display: inline-block;
  134. width: 224rpx;
  135. height: 224rpx;
  136. border-radius: 8rpx;
  137. margin-right: 8rpx;
  138. margin-bottom: 8rpx;
  139. }
  140. /* //热门股票 */
  141. .item2{
  142. padding: 20rpx 25rpx 0;
  143. }
  144. .date-picker{
  145. text-align: center;
  146. font-weight: 500;
  147. font-size: 32rpx;
  148. }
  149. .hot{
  150. border-radius: 16rpx;
  151. margin-top: 30rpx;
  152. box-shadow: 0px 0px 12px 0px rgba(218, 217, 217, 0.5);
  153. }
  154. .tab1{
  155. color: #D94B24;
  156. padding: 0 24rpx;
  157. font-weight: 500;
  158. font-size: 40rpx;
  159. line-height: 88rpx;
  160. border-radius: 16rpx 16rpx 0px 0px;
  161. background: linear-gradient(124deg, #FEEAEC 0%, #FFAEAF 100%);
  162. }
  163. .tab2{
  164. color: #2383E5;
  165. padding: 0 24rpx;
  166. font-weight: 500;
  167. font-size: 40rpx;
  168. line-height: 88rpx;
  169. border-radius: 16rpx 16rpx 0px 0px;
  170. background: linear-gradient(124deg, #ECF6FF 0%, #B4D9FF 100%);
  171. }
  172. .hot image{
  173. width: 54rpx;
  174. }
  175. .gp{
  176. display: flex;
  177. justify-content: space-between;
  178. padding: 24rpx;
  179. }
  180. .gp-name{
  181. font-weight: 500;
  182. font-size: 32rpx;
  183. width: 70%;
  184. padding-left: 4rpx;
  185. }
  186. .num{
  187. font-size: 28rpx;
  188. color: #666;
  189. text-align: right;
  190. }
  191. .num text{
  192. font-size: 36rpx;
  193. font-weight: 500;
  194. }
  195. .more{
  196. display: block;
  197. border-top: 1px solid #F5F5F5;
  198. line-height: 94rpx;
  199. text-align: center;
  200. font-size: 28rpx;
  201. color: #333;
  202. }
  203. .more image{
  204. width: 24rpx;
  205. position: relative;
  206. top: 3rpx;
  207. }
  208. /* 胜率 */
  209. .win{
  210. position: relative;
  211. padding: 30rpx 0;
  212. padding-left: 59rpx;
  213. border-bottom: 1px solid #F5F5F5;
  214. }
  215. .win image{
  216. width: 50rpx;
  217. position: absolute;
  218. top: 30rpx;
  219. left: 0;
  220. }
  221. .win .rank{
  222. position: absolute;
  223. top: 30rpx;
  224. left: 0;
  225. width:50rpx;text-align:center;color:#CE994F;
  226. }
  227. .win .name view{
  228. float: right;
  229. color: #666;
  230. font-size: 28rpx;
  231. text-align: center;
  232. position: relative;
  233. top: 0;
  234. font-weight: 400;
  235. }
  236. .win .name view text{
  237. font-size: 36rpx;
  238. color: #E90001;
  239. display: inline;
  240. top: 0;
  241. }
  242. .win .tag{
  243. font-size: 28rpx;
  244. color: #CE994F;
  245. border: 1px solid #CE994F;
  246. border-radius: 8rpx;
  247. margin-right: 8rpx;
  248. font-weight: 400;
  249. padding: 0 8rpx;
  250. }
  251. /* 冠军心得 */
  252. .list{
  253. display: flex;
  254. justify-content: space-between;
  255. border-bottom: 1px solid #F5F5F5;
  256. padding: 24rpx 0;
  257. }
  258. .list image{
  259. width: 174rpx;
  260. height: 120rpx;
  261. border-radius: 8rpx;
  262. }
  263. .list>view{
  264. width: 70%;
  265. font-size: 32rpx;
  266. }
  267. .list .title{
  268. height: 88rpx;
  269. }
  270. .list text{
  271. font-size: 28rpx;
  272. color: #999;
  273. }