index.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. .top-view {
  2. position: sticky;
  3. top: 0px;
  4. z-index: 999;
  5. .nav-view {
  6. background-color: #407DB8;
  7. width: 100%;
  8. .tab-view {
  9. display: flex;
  10. flex-direction: row;
  11. justify-content: space-between;
  12. align-content: center;
  13. align-items: center;
  14. margin-right: 12px;
  15. width: 75%;
  16. --tabs-nav-background-color: #407DB8;
  17. padding-bottom: 10px;
  18. van-tabs {
  19. width: 180px;
  20. }
  21. .van-tabs__nav {
  22. background-color: #407DB8;
  23. }
  24. image {
  25. margin-left: 10px;
  26. }
  27. }
  28. .gird-view {
  29. display: flex;
  30. flex-direction: row;
  31. justify-content: space-between;
  32. align-items: center;
  33. align-content: center;
  34. &__item {
  35. display: flex;
  36. flex-direction: column;
  37. justify-content: center;
  38. align-content: center;
  39. width: 40px;
  40. height: 40px;
  41. text {
  42. color: #CAE5FF;
  43. font-size: 12px;text-align: center;
  44. }
  45. image {
  46. width: 40px;
  47. height: 20px;
  48. }
  49. }
  50. }
  51. }
  52. .dropdown-menu {
  53. --dropdown-menu-title-font-size: 12px;
  54. }
  55. }
  56. .content-view {
  57. background-color: #f0f0f0;
  58. .vanSwipeCell-item {
  59. background-color: #fff;
  60. margin: 10px 10px 0px 10px;
  61. border-radius: 10px;
  62. display: flex;
  63. flex-direction: column;
  64. align-items: center;
  65. align-content: center;
  66. &__top, &__dwn, &__mid {
  67. width: 100%;
  68. }
  69. &__top {
  70. border-bottom: 1px solid #f0f0f0;
  71. padding: 10px;
  72. display: flex;
  73. flex-direction: row;
  74. justify-content: space-between;
  75. align-content: center;
  76. align-items: center;
  77. text:nth-child(1), text:nth-child(2) {
  78. color: #000;
  79. font-size: 14px;
  80. margin-left: 10px;
  81. }
  82. text:nth-last-child(1) {
  83. color: #999;
  84. font-size: 14px;
  85. margin-right: 10px;
  86. }
  87. }
  88. &__mid {
  89. padding: 10px;
  90. display: flex;
  91. flex-direction: row;
  92. justify-content: space-between;
  93. align-content: center;
  94. align-items: center;
  95. &__left, &__mid {
  96. margin-left: 10px;
  97. }
  98. &__left, &__mid, &__right {
  99. display: flex;
  100. flex-direction: column;
  101. align-content: center;
  102. width: 100%;
  103. text {
  104. color: #4D565D;
  105. font-size: 13px;
  106. padding: 2.5px 0px;
  107. }
  108. }
  109. &__right {
  110. margin-right: 10px;
  111. border: 1px solid #407DB8;
  112. width: 40%;
  113. border-radius: 10px;
  114. padding: 10px 0px;
  115. align-items: center;
  116. }
  117. }
  118. &__dwn {
  119. border-top: 1px solid #f0f0f0;
  120. display: flex;
  121. flex-direction: row;
  122. justify-content: space-between;
  123. align-content: center;
  124. align-items: center;
  125. padding: 10px;
  126. text:nth-child(1) {
  127. color: #000;
  128. font-size: 14px;
  129. margin-left: 10px;
  130. }
  131. text:nth-child(2) {
  132. color: #999;
  133. font-size: 12px;
  134. margin-right: 10px;
  135. }
  136. }
  137. }
  138. }
  139. .vanSwipeCell-right {
  140. height: inherit;
  141. color: white;
  142. display: flex;
  143. .item {
  144. width: 50px;
  145. text-align: center;
  146. display: flex;
  147. justify-content: center;
  148. align-items: center;
  149. font-size: 12px;
  150. }
  151. }