index.less 2.6 KB

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