index.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. .topView {
  2. position: sticky;
  3. top: 0;
  4. z-index: 999;
  5. .result-view {
  6. display: flex;
  7. justify-content: space-between;
  8. padding: 5px 10px;
  9. align-items: center;
  10. align-content: center;
  11. van-tabs {
  12. width: 100px;
  13. }
  14. text {
  15. color: #666;
  16. font-size: 12px;
  17. width: 20px;
  18. }
  19. }
  20. .title-view {
  21. margin: 10px;
  22. background-color: #f0f0f0;
  23. border-radius: 10px;
  24. display: flex;
  25. align-items: center;
  26. align-content: center;
  27. flex-direction: column;
  28. padding: 5px 10px;
  29. .title-view-up, .title-view-mid, .title-view-dwn {
  30. display: flex;
  31. flex-direction: row;
  32. justify-content: space-between;
  33. align-items: center;
  34. width: 100%;
  35. align-content: center;
  36. height: 25px;
  37. text {
  38. color: #666;
  39. font-size: 13px;
  40. text-align: center;
  41. }
  42. :first-child {
  43. text-align: left;
  44. }
  45. :last-child {
  46. text-align: right;
  47. }
  48. }
  49. .title-view-up {
  50. border-bottom: 1px solid #ddd;
  51. padding-bottom: 5px;
  52. }
  53. .title-view-mid {
  54. padding: 5px 0px;
  55. }
  56. }
  57. }
  58. .item-view {
  59. margin: 10px;
  60. border-radius: 10px;
  61. display: flex;
  62. align-items: center;
  63. align-content: center;
  64. flex-direction: column;
  65. padding: 5px 10px;
  66. border: 1px solid #ddd;
  67. .item-view-up, .item-view-mid, .item-view-dwn {
  68. display: flex;
  69. flex-direction: row;
  70. justify-content: space-between;
  71. align-items: center;
  72. height: 50%;
  73. width: 100%;
  74. align-content: center;
  75. height: 25px;
  76. text {
  77. color: #333;
  78. font-size: 13px;
  79. /*超出隐藏*/
  80. overflow: hidden;
  81. /*溢出不换行*/
  82. white-space: nowrap;
  83. /*溢出显示用省略号*/
  84. text-overflow: ellipsis;
  85. text-align: center;
  86. }
  87. :first-child {
  88. text-align: left;
  89. }
  90. :last-child {
  91. text-align: right;
  92. }
  93. }
  94. .item-view-up {
  95. border-bottom: 1px solid #ddd;
  96. padding-bottom: 5px;
  97. text {
  98. width: 25%;
  99. }
  100. }
  101. .item-view-mid {
  102. padding: 5px 0px;
  103. :last-child {
  104. width: 30%;
  105. }
  106. }
  107. }
  108. .van-swipe-cell__right {
  109. height: inherit;
  110. color: white;
  111. display: flex;
  112. .item {
  113. width: 65px;
  114. text-align: center;
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. font-size: 12px;
  119. }
  120. }