index.less 2.2 KB

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