index.less 3.1 KB

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