index.less 2.2 KB

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