index.less 2.6 KB

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