index.wxss 4.5 KB

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