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;
  44. text-align: center;
  45. }
  46. image {
  47. width: 40px;
  48. height: 20px;
  49. }
  50. }
  51. }
  52. }
  53. .dropdown-menu {
  54. --dropdown-menu-title-font-size: 12px;
  55. }
  56. }
  57. .content-view {
  58. background-color: #f0f0f0;
  59. .vanSwipeCell-item {
  60. background-color: #fff;
  61. margin: 10px 10px 0px 10px;
  62. border-radius: 10px;
  63. display: flex;
  64. flex-direction: column;
  65. align-items: center;
  66. align-content: center;
  67. &__top, &__dwn, &__mid {
  68. width: 100%;
  69. }
  70. &__top {
  71. border-bottom: 1px solid #f0f0f0;
  72. padding: 10px;
  73. display: flex;
  74. flex-direction: row;
  75. justify-content: space-between;
  76. align-content: center;
  77. align-items: center;
  78. text:nth-child(1), text:nth-child(2) {
  79. color: #000;
  80. font-size: 14px;
  81. margin-left: 10px;
  82. }
  83. text:nth-last-child(1) {
  84. color: #999;
  85. font-size: 14px;
  86. margin-right: 10px;
  87. }
  88. }
  89. &__mid {
  90. padding: 10px;
  91. display: flex;
  92. flex-direction: row;
  93. justify-content: space-between;
  94. align-content: center;
  95. align-items: center;
  96. &__left, &__mid {
  97. margin-left: 10px;
  98. }
  99. &__left, &__mid, &__right {
  100. display: flex;
  101. flex-direction: column;
  102. align-content: center;
  103. width: 100%;
  104. text {
  105. color: #4D565D;
  106. font-size: 13px;
  107. padding: 2.5px 0px;
  108. }
  109. }
  110. &__right {
  111. margin-right: 10px;
  112. border: 1px solid #407DB8;
  113. width: 40%;
  114. border-radius: 10px;
  115. padding: 10px 0px;
  116. align-items: center;
  117. }
  118. }
  119. &__dwn {
  120. border-top: 1px solid #f0f0f0;
  121. display: flex;
  122. flex-direction: row;
  123. justify-content: space-between;
  124. align-content: center;
  125. align-items: center;
  126. padding: 10px;
  127. text:nth-child(1) {
  128. color: #000;
  129. font-size: 14px;
  130. margin-left: 10px;
  131. }
  132. text:nth-child(2) {
  133. color: #999;
  134. font-size: 12px;
  135. margin-right: 10px;
  136. }
  137. }
  138. }
  139. }
  140. .vanSwipeCell-right {
  141. height: inherit;
  142. color: white;
  143. display: flex;
  144. .item {
  145. width: 50px;
  146. text-align: center;
  147. display: flex;
  148. justify-content: center;
  149. align-items: center;
  150. font-size: 12px;
  151. }
  152. }