his.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /* mMine/pages/myorders/his/his.wxss */
  2. .topView {
  3. position: sticky;
  4. top: 0;
  5. z-index: 999;
  6. .result-view {
  7. display: flex;
  8. justify-content: space-between;
  9. padding: 5px 10px;
  10. align-items: center;
  11. align-content: center;
  12. text {
  13. color: #666;
  14. font-size: 12px;
  15. width: 20px;
  16. }
  17. }
  18. .title-view {
  19. margin: 10px;
  20. background-color: #f0f0f0;
  21. border-radius: 10px;
  22. display: flex;
  23. align-items: center;
  24. align-content: center;
  25. flex-direction: column;
  26. padding: 5px 10px;
  27. .title-view-up, .title-view-mid, .title-view-dwn {
  28. display: flex;
  29. flex-direction: row;
  30. justify-content: space-between;
  31. align-items: center;
  32. width: 100%;
  33. align-content: center;
  34. height: 25px;
  35. text {
  36. color: #666;
  37. font-size: 13px;
  38. text-align: center;
  39. }
  40. :first-child {
  41. text-align: left;
  42. }
  43. :last-child {
  44. text-align: right;
  45. }
  46. }
  47. .title-view-up {
  48. border-bottom: 1px solid #ddd;
  49. padding-bottom: 5px;
  50. }
  51. .title-view-mid {
  52. padding: 5px 0px;
  53. }
  54. }
  55. }
  56. .item-view {
  57. margin: 10px;
  58. border-radius: 10px;
  59. display: flex;
  60. align-items: center;
  61. align-content: center;
  62. flex-direction: column;
  63. padding: 5px 10px;
  64. border: 1px solid #ddd;
  65. .item-view-up, .item-view-mid, .item-view-dwn {
  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. height: 25px;
  74. text {
  75. color: #333;
  76. font-size: 13px;
  77. /*超出隐藏*/
  78. overflow: hidden;
  79. /*溢出不换行*/
  80. white-space: nowrap;
  81. /*溢出显示用省略号*/
  82. text-overflow: ellipsis;
  83. text-align: center;
  84. }
  85. :first-child {
  86. text-align: left;
  87. }
  88. :last-child {
  89. text-align: right;
  90. }
  91. }
  92. .item-view-up {
  93. border-bottom: 1px solid #ddd;
  94. padding-bottom: 5px;
  95. text {
  96. width: 25%;
  97. }
  98. }
  99. .item-view-mid {
  100. padding: 5px 0px;
  101. :last-child {
  102. width: 30%;
  103. }
  104. }
  105. }
  106. .van-swipe-cell__right {
  107. height: inherit;
  108. color: white;
  109. display: flex;
  110. .item {
  111. width: 65px;
  112. text-align: center;
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. font-size: 12px;
  117. }
  118. }