index.less 2.7 KB

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