index.less 2.6 KB

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