index.less 3.0 KB

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