common.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /* 列表 */
  2. /* #ifndef APP-NVUE */
  3. .uni-list {
  4. background-color: #FFFFFF;
  5. position: relative;
  6. width: 100%;
  7. display: flex;
  8. flex-direction: column;
  9. font-size: 32rpx;
  10. }
  11. .title{
  12. font-size:14px;
  13. }
  14. .uni-list:after {
  15. position: absolute;
  16. z-index: 10;
  17. right: 0;
  18. bottom: 0;
  19. left: 0;
  20. height: 1px;
  21. content: '';
  22. -webkit-transform: scaleY(.5);
  23. transform: scaleY(.5);
  24. background-color: #c8c7cc;
  25. }
  26. .uni-list-cell {
  27. position: relative;
  28. display: flex;
  29. flex-direction: row;
  30. justify-content: space-between;
  31. align-items: center;
  32. }
  33. .uni-list-cell-hover {
  34. background-color: #eee;
  35. }
  36. .uni-list-cell-pd {
  37. padding: 22rpx 30rpx;
  38. }
  39. .uni-list-cell-left {
  40. white-space: nowrap;
  41. font-size: 28rpx;
  42. padding: 0 30rpx;
  43. }
  44. .uni-list-left-pl {
  45. margin-right: 20rpx;
  46. }
  47. .minw{
  48. min-width: 180rpx;
  49. }
  50. .uni-list-cell-db,
  51. .uni-list-cell-right {}
  52. .uni-list-cell::after {
  53. position: absolute;
  54. z-index: 3;
  55. right: 0;
  56. bottom: 0;
  57. left: 30rpx;
  58. height: 1px;
  59. content: '';
  60. -webkit-transform: scaleY(.5);
  61. transform: scaleY(.5);
  62. background-color: #c8c7cc;
  63. }
  64. .uni-list .uni-list-cell:last-child::after {
  65. height: 0rpx;
  66. }
  67. .uni-list-cell-last.uni-list-cell::after {
  68. height: 0rpx;
  69. }
  70. .uni-list-cell-divider {
  71. position: relative;
  72. display: flex;
  73. color: #999;
  74. background-color: #f7f7f7;
  75. padding: 15rpx 20rpx;
  76. }
  77. .uni-list-cell-divider::before {
  78. position: absolute;
  79. right: 0;
  80. top: 0;
  81. left: 0;
  82. height: 1px;
  83. content: '';
  84. -webkit-transform: scaleY(.5);
  85. transform: scaleY(.5);
  86. background-color: #c8c7cc;
  87. }
  88. .uni-list-cell-divider::after {
  89. position: absolute;
  90. right: 0;
  91. bottom: 0;
  92. left: 0rpx;
  93. height: 1px;
  94. content: '';
  95. -webkit-transform: scaleY(.5);
  96. transform: scaleY(.5);
  97. background-color: #c8c7cc;
  98. }
  99. .uni-list-cell-navigate {
  100. font-size: 30rpx;
  101. padding: 22rpx 30rpx;
  102. line-height: 48rpx;
  103. position: relative;
  104. display: flex;
  105. box-sizing: border-box;
  106. width: 100%;
  107. flex: 1;
  108. justify-content: space-between;
  109. align-items: center;
  110. }
  111. .uni-list-cell-navigate {
  112. padding-right: 36rpx;
  113. }
  114. .uni-navigate-badge {
  115. padding-right: 50rpx;
  116. }
  117. .uni-list-cell-navigate.uni-navigate-right:after {
  118. font-family: uniicons;
  119. content: '\e583';
  120. position: absolute;
  121. right: 24rpx;
  122. top: 50%;
  123. color: #bbb;
  124. -webkit-transform: translateY(-50%);
  125. transform: translateY(-50%);
  126. }
  127. .uni-list-cell-navigate.uni-navigate-bottom:after {
  128. font-family: uniicons;
  129. content: '\e581';
  130. position: absolute;
  131. right: 24rpx;
  132. top: 50%;
  133. color: #bbb;
  134. -webkit-transform: translateY(-50%);
  135. transform: translateY(-50%);
  136. }
  137. .uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
  138. font-family: uniicons;
  139. content: '\e580';
  140. position: absolute;
  141. right: 24rpx;
  142. top: 50%;
  143. color: #bbb;
  144. -webkit-transform: translateY(-50%);
  145. transform: translateY(-50%);
  146. }
  147. .uni-collapse.uni-list-cell {
  148. flex-direction: column;
  149. }
  150. .uni-list-cell-navigate.uni-active {
  151. background: #eee;
  152. }
  153. .uni-list.uni-collapse {
  154. box-sizing: border-box;
  155. height: 0;
  156. overflow: hidden;
  157. }
  158. .uni-collapse .uni-list-cell {
  159. padding-left: 20rpx;
  160. }
  161. .uni-collapse .uni-list-cell::after {
  162. left: 52rpx;
  163. }
  164. .uni-list.uni-active {
  165. height: auto;
  166. }
  167. .uni-input {
  168. height: 50rpx;
  169. text-align: right;
  170. padding: 5rpx 5rpx;
  171. min-width: 330rpx;
  172. line-height: 50rpx;
  173. font-size: 28rpx;
  174. background: #FFF;
  175. }
  176. .uni-input-time {
  177. font-size: 28rpx;
  178. padding: 15rpx 25rpx;
  179. }
  180. .uni-textarea {
  181. padding: 5rpx 5rpx;
  182. text-align: right;
  183. width: auto !important;
  184. min-width: 330rpx;
  185. font-size: 28rpx;
  186. background: #FFF;
  187. height: 50rpx;
  188. }
  189. ::placeholder{
  190. font-size: 28rpx;
  191. }
  192. /* #endif */