index.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. margin: 0 0 2vw 0;
  10. .one_1 {
  11. flex-grow: 1;
  12. input {
  13. padding: 1vw 0 2vw 2vw;
  14. background-color: var(--f1Color);
  15. border-radius: 5px;
  16. }
  17. }
  18. .one_2 {
  19. width: 20vw;
  20. button {
  21. width: 100%;
  22. padding: 2vw;
  23. font-size: var(--font14Size);
  24. }
  25. }
  26. }
  27. .two {
  28. position: relative;
  29. flex-grow: 1;
  30. background-color: var(--whiteColor);
  31. padding: 0 2vw;
  32. .list {
  33. background-color: var(--f9Color);
  34. margin: 0 0 2vw 0;
  35. padding: 2vw;
  36. margin: 0 2vw 2vw 2vw;
  37. border-radius: 5px;
  38. display: flex;
  39. flex-direction: row;
  40. .list_1 {
  41. width: 62vw;
  42. .name {
  43. font-size: var(--font16Szie);
  44. font-weight: bold;
  45. margin: 0 0 2vw 0;
  46. padding: 0 2vw 0 0;
  47. overflow: hidden;
  48. text-overflow: ellipsis;
  49. -webkit-line-clamp: 2;
  50. word-break: break-all;
  51. display: -webkit-box;
  52. -webkit-box-orient: vertical;
  53. }
  54. .brief{
  55. font-size: var(--font14Szie);
  56. padding: 0 2vw 0 0;
  57. overflow: hidden;
  58. text-overflow: ellipsis;
  59. -webkit-line-clamp: 3;
  60. word-break: break-all;
  61. display: -webkit-box;
  62. -webkit-box-orient: vertical;
  63. }
  64. }
  65. .list_2 {
  66. width: 30vw;
  67. swiper {
  68. height: 18vh;
  69. .image {
  70. width: 100%;
  71. height: 100%;
  72. border-radius: 10px;
  73. }
  74. }
  75. }
  76. // .list_1 {
  77. // .swiper {
  78. // height: 30vh;
  79. // }
  80. // .image {
  81. // width: 100%;
  82. // height: 100%;
  83. // }
  84. // }
  85. // .list_2 {
  86. // position: absolute;
  87. // top: 2vw;
  88. // width: 92vw;
  89. // color: var(--whiteColor);
  90. // .name {
  91. // text-align: center;
  92. // font-size: var(--font20Szie);
  93. // font-weight: bold;
  94. // margin: 3vw 0 1vw 0;
  95. // overflow: hidden;
  96. // text-overflow: ellipsis;
  97. // -webkit-line-clamp: 2;
  98. // word-break: break-all;
  99. // display: -webkit-box;
  100. // -webkit-box-orient: vertical;
  101. // -webkit-text-stroke: 1px var(--redColor);
  102. // }
  103. // .address {
  104. // text-align: center;
  105. // font-size: var(--font18Szie);
  106. // margin: 0 0 2vw 0;
  107. // overflow: hidden;
  108. // text-overflow: ellipsis;
  109. // -webkit-line-clamp: 2;
  110. // word-break: break-all;
  111. // display: -webkit-box;
  112. // -webkit-box-orient: vertical;
  113. // -webkit-text-stroke: 1px var(--blueColor);
  114. // }
  115. // .other {
  116. // display: flex;
  117. // flex-direction: row;
  118. // justify-content: space-around;
  119. // font-size: var(--font18Szie);
  120. // -webkit-text-stroke: 1px var(--blueColor);
  121. // }
  122. // }
  123. }
  124. }
  125. }
  126. .scroll-view {
  127. position: absolute;
  128. top: 0;
  129. left: 0;
  130. right: 0;
  131. bottom: 0;
  132. .list-scroll-view {
  133. display: flex;
  134. flex-direction: column;
  135. }
  136. }