index.acss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. .cell-index {
  2. display: block;
  3. height: initial;
  4. }
  5. @import "../common/index.acss";
  6. .cell-index .van-cell {
  7. position: relative;
  8. display: -webkit-flex;
  9. display: flex;
  10. box-sizing: border-box;
  11. width: 100%;
  12. padding: 10px 16px;
  13. padding: var(--cell-vertical-padding, 10px)
  14. var(--cell-horizontal-padding, 16px);
  15. font-size: 14px;
  16. font-size: var(--cell-font-size, 14px);
  17. line-height: 24px;
  18. line-height: var(--cell-line-height, 24px);
  19. color: #323233;
  20. color: var(--cell-text-color, #323233);
  21. background-color: #fff;
  22. background-color: var(--cell-background-color, #fff);
  23. }
  24. .cell-index .van-cell:after {
  25. position: absolute;
  26. box-sizing: border-box;
  27. -webkit-transform-origin: center;
  28. transform-origin: center;
  29. content: " ";
  30. pointer-events: none;
  31. right: 16px;
  32. bottom: 0;
  33. left: 16px;
  34. border-bottom: 1px solid #ebedf0;
  35. -webkit-transform: scaleY(0.5);
  36. transform: scaleY(0.5);
  37. }
  38. .cell-index .van-cell--borderless:after {
  39. display: none;
  40. }
  41. .cell-index .van-cell-group {
  42. background-color: #fff;
  43. background-color: var(--cell-background-color, #fff);
  44. }
  45. .cell-index .van-cell__label {
  46. margin-top: 3px;
  47. margin-top: var(--cell-label-margin-top, 3px);
  48. font-size: 12px;
  49. font-size: var(--cell-label-font-size, 12px);
  50. line-height: 18px;
  51. line-height: var(--cell-label-line-height, 18px);
  52. color: #969799;
  53. color: var(--cell-label-color, #969799);
  54. }
  55. .cell-index view.van-cell__value {
  56. overflow: hidden;
  57. text-align: right;
  58. vertical-align: middle;
  59. color: #969799;
  60. color: var(--cell-value-color, #969799);
  61. }
  62. .cell-index .van-cell__title,
  63. .cell-index .van-cell__value {
  64. -webkit-flex: 1;
  65. flex: 1;
  66. }
  67. .cell-index .van-cell__title:empty,
  68. .cell-index .van-cell__value:empty {
  69. display: none;
  70. }
  71. .cell-index .van-cell__left-icon-wrap,
  72. .cell-index .van-cell__right-icon-wrap {
  73. display: -webkit-flex;
  74. display: flex;
  75. -webkit-align-items: center;
  76. align-items: center;
  77. height: 24px;
  78. height: var(--cell-line-height, 24px);
  79. font-size: 16px;
  80. font-size: var(--cell-icon-size, 16px);
  81. }
  82. .cell-index .van-cell__left-icon-wrap {
  83. margin-right: 4px;
  84. margin-right: var(--padding-base, 4px);
  85. }
  86. .cell-index .van-cell__right-icon-wrap {
  87. margin-left: 4px;
  88. margin-left: var(--padding-base, 4px);
  89. color: #969799;
  90. color: var(--cell-right-icon-color, #969799);
  91. }
  92. .cell-index .van-cell__left-icon {
  93. vertical-align: middle;
  94. }
  95. .cell-index .van-cell__left-icon,
  96. .cell-index .van-cell__right-icon {
  97. line-height: 24px;
  98. line-height: var(--cell-line-height, 24px);
  99. }
  100. .cell-index .van-cell--clickable.van-cell--hover {
  101. background-color: #f2f3f5;
  102. background-color: var(--cell-active-color, #f2f3f5);
  103. }
  104. .cell-index .van-cell--required {
  105. overflow: visible;
  106. }
  107. .cell-index .van-cell--required:before {
  108. position: absolute;
  109. content: "*";
  110. left: 8px;
  111. left: var(--padding-xs, 8px);
  112. font-size: 14px;
  113. font-size: var(--cell-font-size, 14px);
  114. color: #ee0a24;
  115. color: var(--cell-required-color, #ee0a24);
  116. }
  117. .cell-index .van-cell--center {
  118. -webkit-align-items: center;
  119. align-items: center;
  120. }
  121. .cell-index .van-cell--large {
  122. padding-top: 12px;
  123. padding-top: var(--cell-large-vertical-padding, 12px);
  124. padding-bottom: 12px;
  125. padding-bottom: var(--cell-large-vertical-padding, 12px);
  126. }
  127. .cell-index .van-cell--large .van-cell__title {
  128. font-size: 16px;
  129. font-size: var(--cell-large-title-font-size, 16px);
  130. }
  131. .cell-index .van-cell--large .van-cell__value {
  132. font-size: 16px;
  133. font-size: var(--cell-large-value-font-size, 16px);
  134. }
  135. .cell-index .van-cell--large .van-cell__label {
  136. font-size: 14px;
  137. font-size: var(--cell-large-label-font-size, 14px);
  138. }