index.less 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. .main {
  2. height: var(--thrHeight);
  3. background-color: var(--mainColor);
  4. .one {
  5. display: flex;
  6. flex-direction: row;
  7. padding: 2vw;
  8. border-bottom: 1px solid var(--f1Color);
  9. .one_1 {
  10. flex-grow: 1;
  11. input {
  12. padding: 1vw 0 2vw 2vw;
  13. background-color: var(--f1Color);
  14. border-radius: 5px;
  15. }
  16. }
  17. .one_2 {
  18. width: 20vw;
  19. button {
  20. width: 100%;
  21. padding: 2vw;
  22. font-size: var(--font14Size);
  23. }
  24. }
  25. }
  26. .two {
  27. flex-grow: 1;
  28. position: relative;
  29. .list {
  30. display: flex;
  31. flex-direction: row;
  32. height: 120px;
  33. padding: 2vw;
  34. margin: 2vw 2vw 0;
  35. border-radius: 10px;
  36. .content {
  37. flex-grow: 1;
  38. z-index: 999;
  39. .name {
  40. font-size: var(--font18Szie);
  41. text-align: center;
  42. color: var(--whiteColor);
  43. }
  44. .text1 {
  45. font-size: var(--font14Size);
  46. text {
  47. color: var(--whiteColor);
  48. }
  49. }
  50. }
  51. .logo {
  52. margin: 5vw 0;
  53. image {
  54. width: 80px;
  55. }
  56. }
  57. }
  58. .list:nth-child(1n) {
  59. background-image: linear-gradient(to right, #44a2f0, #9bd1fd);
  60. }
  61. .list:nth-child(2n) {
  62. background-image: linear-gradient(to right, #eb5299, #ffaed4);
  63. }
  64. }
  65. }
  66. .scroll-view {
  67. position: absolute;
  68. top: 0;
  69. left: 0;
  70. right: 0;
  71. bottom: 0;
  72. .list-scroll-view {
  73. display: flex;
  74. flex-direction: column;
  75. }
  76. }