index.less 2.3 KB

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