大数据平台的小程序版本

index.wxss 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. .rank_bg{
  2. width: 100%;
  3. height: 1300rpx;
  4. position: fixed;
  5. top: 0;
  6. left: 0;
  7. }
  8. .searchPlaceholderHome {
  9. color: #2562FF;
  10. }
  11. .headerBox{
  12. width: 100%;
  13. position: fixed;
  14. left: 0;
  15. top: 0rpx;
  16. z-index: 999;
  17. background: #2562FF;
  18. }
  19. .header{
  20. width: 100%;
  21. display: flex;
  22. align-items: center;
  23. position: relative;
  24. }
  25. .header .search{
  26. width: 38rpx;
  27. height: 38rpx;
  28. position: absolute;
  29. left: 30rpx;
  30. top: 50%;
  31. transform: translateY(-50%);
  32. }
  33. .header .pageName{
  34. color: #ffffff;
  35. width: 300rpx;
  36. font-size: 32rpx;
  37. font-weight: bold;
  38. line-height: 44rpx;
  39. text-align: center;
  40. position: absolute;
  41. left: 0;
  42. right: 0;
  43. top: 50%;
  44. transform: translateY(-50%);
  45. margin: auto;
  46. }
  47. .tabBox{
  48. color: #ffffff;
  49. font-size: 28rpx;
  50. line-height: 40rpx;
  51. display: flex;
  52. justify-content: space-between;
  53. width: 100%;
  54. padding: 0 14rpx 20rpx;
  55. background: #2562FF;
  56. }
  57. .tabBox .tab.tabActive {
  58. font-size: 32rpx;
  59. color: #fff;
  60. }
  61. .tabBox .tab.tabActive::after{
  62. content: '';
  63. display: block;
  64. width: 44rpx;
  65. height: 6rpx;
  66. background: #FFFFFF;
  67. border-radius: 5rpx;
  68. margin: auto;
  69. margin-top: 16rpx;
  70. }
  71. .tabBox .tab{
  72. width: 150rpx;
  73. text-align: center;
  74. color: #E3E3E3;
  75. font-size: 28rpx;
  76. }
  77. .choiceBox{
  78. position: relative;
  79. padding: 0 0 22rpx 28rpx;
  80. }
  81. .choiceBox .choice{
  82. display: inline-block;
  83. /* float: left; */
  84. color: #2562FF;
  85. border-radius: 32rpx;
  86. /* border: 1rpx solid #fff; */
  87. display: inline-block;
  88. padding: 0 20rpx;
  89. height: 64rpx;
  90. background: #ffffff;
  91. font-size: 28rpx;
  92. line-height: 64rpx;
  93. position: relative;
  94. z-index: 2;
  95. margin-right: 24rpx;
  96. }
  97. .choiceBox .choice .sj{
  98. display: inline-block;
  99. /*
  100. width: 0;
  101. height: 0;
  102. border-right: 13rpx solid transparent;
  103. border-left: 13rpx solid transparent;
  104. border-top: 13rpx solid #2562FF;
  105. vertical-align: middle; */
  106. }
  107. .choiceBox .choice .sj image {
  108. width: 20rpx;
  109. height: auto;
  110. }
  111. .choiceBox .choiceActive{
  112. /* background: #2562FF !important;
  113. color: #fff!important; */
  114. /* background: #fff!important;
  115. color: #2562FF!important;
  116. border: 2rpx solid #2562FF!important; */
  117. z-index: 3;
  118. }
  119. /* .choiceBox .choiceActive .sj {
  120. border-top: 13rpx solid #2562FF;
  121. } */
  122. .choiceBox .timeChoice{
  123. position: absolute;
  124. left: 0;
  125. top: 68rpx;
  126. width: 100vw;
  127. min-height: 80vh;
  128. z-index: 2;
  129. }
  130. .choiceBox .timeChoice .block{
  131. background: #F3F7F9;
  132. padding: 50rpx;
  133. }
  134. .choiceBox .timeChoice .timeChoiceBox view{
  135. height: 58rpx;
  136. line-height: 58rpx;
  137. background: rgba(172, 195, 255, .4);
  138. border-radius: 29rpx;
  139. padding: 0 20rpx;
  140. color: #2B3D6E;
  141. font-size: 28rpx;
  142. display: inline-block;
  143. margin-right: 12rpx;
  144. margin-bottom: 38rpx;
  145. }
  146. .scrollMain {
  147. overflow-y: scroll;
  148. background: #F1F1F1;
  149. min-height: 90vh;
  150. }
  151. .choiceMain {
  152. background: #F1F1F1;
  153. border-top-left-radius: 54rpx;
  154. border-top-right-radius: 54rpx;
  155. z-index: 1000;
  156. }
  157. .timeChoiceBox .choiceActive {
  158. background: #2562FF!important;
  159. color: #fff!important;
  160. }
  161. .timeChoice .timeChoiceBox1 view{
  162. margin-right: 20rpx;
  163. }
  164. .all {
  165. background: #F1F1F1;
  166. position: relative;
  167. }
  168. .cantiner{
  169. position: relative;
  170. z-index: 1;
  171. border-top-left-radius: 46rpx;
  172. border-top-right-radius: 46rpx;
  173. }
  174. .listBigBox{
  175. margin: 0 20rpx 20rpx;
  176. height: 238rpx;
  177. background: #fff;
  178. border-radius: 14rpx;
  179. display: flex;
  180. align-items: center;
  181. justify-content: space-between;
  182. padding: 0 12rpx;
  183. }
  184. .listBigBox .list_videoImgBox{
  185. width: 246rpx;
  186. height: 174rpx;
  187. position: relative;
  188. border-radius: 11rpx;
  189. overflow: hidden;
  190. }
  191. .listBigBox .list_videoImg{
  192. width: 246rpx;
  193. height: 174rpx;
  194. position: absolute;
  195. top: 0;
  196. bottom: 0;
  197. left: 0;
  198. margin: auto;
  199. }
  200. .listBigBox .list_Info{
  201. flex: 1;
  202. margin-left:12rpx ;
  203. max-width: 420rpx;
  204. }
  205. .listBigBox .list_Info .videoTitle{
  206. font-size: 28rpx;
  207. font-weight: bold;
  208. line-height: 40rpx;
  209. width: 420rpx;
  210. overflow: hidden;
  211. text-overflow:ellipsis; white-space: nowrap;
  212. color: #000;
  213. }
  214. .userTitleBox{
  215. display: flex;
  216. align-items: center;
  217. margin-top: 30rpx;
  218. }
  219. .userTitleBox .userBox{
  220. display: flex;
  221. align-items: center;
  222. }
  223. .userTitleBox .userBox .head_url{
  224. width: 56rpx;
  225. height: 56rpx;
  226. border-radius: 50%;
  227. margin-right: 12rpx;
  228. }
  229. .userTitleBox .userTitle{
  230. max-width: 200rpx;
  231. color: #000;
  232. font-size: 28rpx;
  233. line-height: 30rpx;
  234. overflow: hidden;
  235. text-overflow:ellipsis; white-space: nowrap;
  236. /* margin-top: 10rpx; */
  237. }
  238. .userTitleBox .auth_div{
  239. flex: 1;
  240. overflow: hidden;
  241. text-overflow:ellipsis;
  242. white-space: nowrap;
  243. margin-left: 10rpx;
  244. max-width: 200rpx;
  245. }
  246. .userTitleBox .auth_div .icon{
  247. width: 34rpx;
  248. height: 34rpx;
  249. vertical-align: middle;
  250. }
  251. .userTitleBox .auth_div text{
  252. color: #89899C;
  253. font-size: 24rpx;
  254. line-height: 34rpx;
  255. vertical-align: middle;
  256. }
  257. .listBigBox .list_Info .other{
  258. display: flex;
  259. align-items: center;
  260. justify-content: space-between;
  261. margin-top: 10rpx;
  262. }
  263. .listBigBox .list_Info .other .time{
  264. color: #89899C;
  265. font-size: 26rpx;
  266. line-height: 36rpx;
  267. }
  268. .listBigBox .list_Info .other .zan image{
  269. width: 26rpx;
  270. height: 24rpx;
  271. margin-right: 12rpx;
  272. }
  273. .listBigBox .list_Info .other .zan text{
  274. color: #89899C;
  275. font-size: 28rpx;
  276. line-height: 40rpx;
  277. }
  278. .videoInCrRank{
  279. margin: 0 20rpx 20rpx;
  280. height: 322rpx;
  281. background: #fff;
  282. border-radius: 14rpx;
  283. display: flex;
  284. align-items: center;
  285. justify-content: space-between;
  286. padding: 0 12rpx;
  287. }
  288. .videoInCrRank .videoimgBox{
  289. width: 160rpx;
  290. height: 260rpx;
  291. background: #242236;
  292. border-radius: 11rpx;
  293. position: relative;
  294. }
  295. .videoInCrRank .videoimgBox image{
  296. width: 100%;
  297. height: auto;
  298. position: absolute;
  299. top: 0;
  300. bottom: 0;
  301. left: 0;
  302. margin: auto;
  303. }
  304. .videoInCrRank .videoItemInfo{
  305. margin-left: 20rpx;
  306. width:500rpx
  307. }
  308. .videoInCrRank .videoItemInfo .videoTitle{
  309. color: #000;
  310. font-size: 28rpx;
  311. font-weight: bold;
  312. line-height: 40rpx;
  313. width: 440rpx;
  314. overflow: hidden;
  315. text-overflow:ellipsis; white-space: nowrap;
  316. }
  317. .videoInCrRank .videoItemInfo .videoTime{
  318. color: #89899C;
  319. font-size: 26rpx;
  320. line-height: 36rpx;
  321. margin-top: 10rpx;
  322. }
  323. .videoInCrRank .videoItemInfo .userTitleBox{
  324. margin-top: 10rpx;
  325. }
  326. .userData{
  327. display: flex;
  328. align-items: center;
  329. justify-content: space-between;
  330. margin-top: 20rpx;
  331. border-top: 1px solid rgba(137, 137, 156, .2);
  332. padding-top: 10rpx;
  333. }
  334. .userData .userDataItem{
  335. text-align: center;
  336. }
  337. .userData .userDataItem .data{
  338. color: #000;
  339. font-size: 32rpx;
  340. line-height: 44rpx;
  341. font-weight: 600;
  342. }
  343. .userData .userDataItem view{
  344. color: #89899C;
  345. font-size: 20rpx;
  346. line-height: 36rpx;
  347. margin-top: 6rpx;
  348. }
  349. .searchView{
  350. width: 360rpx;
  351. height: 64rpx;
  352. border-radius: 32rpx;
  353. border: 2rpx solid #2562FF;
  354. display: flex;
  355. align-items: center;
  356. }
  357. .searchView input{
  358. flex:1;
  359. font-size: 26rpx;
  360. padding-left: 16rpx;
  361. color: #2562FF;
  362. }
  363. .searchView .searchButton{
  364. width: 72rpx;
  365. height: 60rpx;
  366. color: #1F53D9;
  367. border-radius: 30px;
  368. background: #ffffff;
  369. font-size: 26rpx;
  370. line-height: 60rpx;
  371. text-align: center;
  372. }
  373. .flexBox {
  374. display: block;
  375. width: 100vw;
  376. padding: 0 0 0 28rpx;
  377. }
  378. /* 标签 */
  379. .topicList {
  380. margin: 0 20rpx 20rpx;
  381. background: #fff;
  382. border-radius: 14rpx;
  383. }
  384. .topicInfo {
  385. display: flex;
  386. padding: 30rpx;
  387. }
  388. .topicInfo .topicImg {
  389. width: 72rpx;
  390. height: 72rpx;
  391. }
  392. .topicInfo .topicText {
  393. flex: 1;
  394. padding-left: 18rpx;
  395. }
  396. .topicInfo .topicName {
  397. color: #000;
  398. font-size: 28rpx;
  399. font-weight: bold;
  400. width: 360rpx;
  401. overflow: hidden;
  402. text-overflow: ellipsis;
  403. white-space: nowrap;
  404. }
  405. .topicFlex {
  406. display: flex;
  407. justify-content: space-between;
  408. color: #89899C;
  409. font-size: 26rpx;
  410. }
  411. .topicLeft {
  412. font-size: 26rpx;
  413. }
  414. .topicFlex .topicRight {
  415. font-size: 24rpx;
  416. }
  417. .starImg {
  418. width: 26rpx;
  419. height: auto;
  420. vertical-align: middle;
  421. }
  422. .topicBox {
  423. width: 100%;
  424. height: 180rpx;
  425. position: relative;
  426. background: #F3F7F9;
  427. }
  428. .topicBox .index {
  429. width: 40rpx;
  430. line-height: 180rpx;
  431. position: absolute;
  432. top: 0;
  433. left: 18rpx;
  434. color: #89899C;
  435. }
  436. .topicBox .indexImg {
  437. width: 40rpx;
  438. height: auto;
  439. position: absolute;
  440. top: 0;
  441. left: 0;
  442. }
  443. .topicMore {
  444. padding: 24rpx 0 18rpx 78rpx;
  445. }
  446. .topicItem {
  447. display: inline-block;
  448. position: relative;
  449. width: 131rpx;
  450. height: 131rpx;
  451. border-radius: 8rpx;
  452. margin-right: 24rpx;
  453. overflow: hidden
  454. }
  455. .topicItem image {
  456. width: 100%;
  457. height: 100%;
  458. position: absolute;
  459. top: 0;
  460. bottom: 0;
  461. left: 0;
  462. margin: auto;
  463. }
  464. .trendBox{
  465. margin: 20rpx;
  466. height: 407rpx;
  467. background: #fff;
  468. border-radius: 14rpx;
  469. padding: 12rpx;
  470. }
  471. .trendBox .searchTab{
  472. color: #000;
  473. font-size: 28rpx;
  474. line-height: 40rpx;
  475. margin-top: 20rpx;
  476. }
  477. .trendBox .searchTab text{
  478. color: #F4864A;
  479. }
  480. .scrollView{
  481. display: flex;
  482. white-space: nowrap;
  483. margin-top: 44rpx;
  484. }
  485. .scrollView .scroll-item{
  486. position: relative;
  487. width: 150rpx;
  488. height: 150rpx;
  489. border-radius: 6px;
  490. overflow: hidden;
  491. margin-right: 18rpx;
  492. display: inline-block;
  493. }
  494. .scrollView .scroll-item .videoImg{
  495. width: 100%;
  496. position: absolute;
  497. top: 0;
  498. bottom: 0;
  499. left: 0;
  500. margin:auto;
  501. }
  502. .scrollView .scroll-item .zan{
  503. display: flex;
  504. align-items: center;
  505. justify-content: center;
  506. width: 100%;
  507. height: 46rpx;
  508. background: rgba(16, 20, 38, 0.7);
  509. position: absolute;
  510. bottom: 0;
  511. left: 0;
  512. }
  513. .scrollView .scroll-item .zan image{
  514. width: 26rpx;
  515. height: 26rpx;
  516. margin-right: 6rpx;
  517. }
  518. .scrollView .scroll-item .zan text{
  519. color: #FFFFFF;
  520. font-size: 24rpx;
  521. line-height: 32rpx;
  522. }
  523. .curveBox{
  524. width: 202rpx;
  525. height: 48rpx;
  526. border-radius: 20rpx;
  527. border: 2px solid rgba(148, 128, 228, 0.5);
  528. display: flex;
  529. align-items: center;
  530. justify-content: space-between;
  531. color: #FFFFFF;
  532. font-size: 24rpx;
  533. line-height: 46rpx;
  534. margin: auto;
  535. margin-top: 28rpx;
  536. }
  537. .curveBox view{
  538. width: 50%;
  539. height: 100%;
  540. text-align: center;
  541. }
  542. .curveBox .active{
  543. background: linear-gradient(90deg, #00D7FF 0%, #3856FF 51%, #A854D3 100%);
  544. border-radius: 18rpx;
  545. width: 106rpx;
  546. }