index.less 1.9 KB

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