index.less 1.8 KB

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