index.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. // css初始化
  2. html,
  3. body {
  4. margin: 0;
  5. padding: 0;
  6. font-size: 14px;
  7. width: 100vw;
  8. // min-height: 100vh;
  9. background-color: #f2f2f2;
  10. max-width: 500px;
  11. margin: 0 auto;
  12. }
  13. ul,
  14. li {
  15. list-style: none;
  16. padding: 0;
  17. margin: 0;
  18. }
  19. .cl-blue {
  20. color: #0084ff;
  21. }
  22. .cl-green {
  23. color: #34C724;
  24. }
  25. .cl-red {
  26. color: #FF655B;
  27. }
  28. .cl-yl {
  29. color: #FFB800;
  30. }
  31. #app {}
  32. .commons-title {
  33. height: 52px;
  34. line-height: 52px;
  35. color: #333;
  36. font-size: 16px;
  37. font-weight: bold;
  38. position: relative;
  39. padding: 0 16px;
  40. }
  41. .commons-title::before {
  42. content: '';
  43. display: inline-block;
  44. width: 4px;
  45. height: 12px;
  46. background: #409eff;
  47. position: absolute;
  48. left: 0;
  49. top: 20px;
  50. background: #0084ff;
  51. border-radius: 2px 2px 2px 2px;
  52. }
  53. .van-toast {
  54. background-color: rgba(0, 0, 0, .7) !important;
  55. width: 120px !important;
  56. height: 120px !important;
  57. box-sizing: border-box !important;
  58. }
  59. .common-title {
  60. height: 52px;
  61. line-height: 52px;
  62. color: #333;
  63. font-size: 16px;
  64. font-weight: bold;
  65. position: relative;
  66. padding: 0 16px;
  67. }
  68. .common-title::before {
  69. content: "";
  70. display: inline-block;
  71. width: 4px;
  72. height: 12px;
  73. background: #409eff;
  74. position: absolute;
  75. left: 0;
  76. top: 20px;
  77. background: #0084ff;
  78. border-radius: 2px 2px 2px 2px;
  79. }
  80. .common-form-text {
  81. line-height: 28px;
  82. color: #999;
  83. font-size: 14px;
  84. border-bottom: 1px solid #e5e5e5;
  85. padding: 10px 0;
  86. margin-bottom: 6px;
  87. .common-form-text-item {}
  88. .common-form-text-item-value {
  89. color: #333333;
  90. font-size: 16px;
  91. font-weight: 500;
  92. }
  93. }
  94. .border-btm {
  95. border-bottom: 1px solid #ddd;
  96. }
  97. .common-mobile-table {
  98. width: 100%;
  99. border-collapse: collapse;
  100. border-spacing: 0;
  101. overflow-x: auto;
  102. padding: 0 12px;
  103. box-sizing: border-box;
  104. table {
  105. width: 100%;
  106. border-collapse: collapse;
  107. border-spacing: 0;
  108. text-align: center;
  109. th {
  110. background-color: #F1F1F1;
  111. color: #666666;
  112. padding: 15px 0;
  113. min-width: 100px;
  114. }
  115. td {
  116. border-bottom: 1px solid #ddd;
  117. padding: 15px 0;
  118. color: #333333;
  119. }
  120. }
  121. }
  122. .common-steps {
  123. .label {
  124. height: 28px;
  125. line-height: 28px;
  126. font-size: 14px;
  127. .name {
  128. color: #333333;
  129. font-weight: bold;
  130. }
  131. .tip {
  132. color: #999999;
  133. font-size: 12px;
  134. margin-left: 8px;
  135. }
  136. .state {
  137. float: right;
  138. font-weight: 500;
  139. }
  140. }
  141. .content {
  142. padding: 14px 12px;
  143. background: #F1F1F1;
  144. color: #666;
  145. border-radius: 4px;
  146. }
  147. p {
  148. font-size: 12px;
  149. color: #999;
  150. }
  151. }
  152. .van-field--label-top .van-icon-arrow {
  153. position: absolute;
  154. right: 10px;
  155. top: 0;
  156. height: 70px;
  157. line-height: 70px;
  158. }
  159. .commons-item-title-delete {
  160. background-color: #f2f2f2;
  161. height: 30px;
  162. line-height: 30px;
  163. padding: 0 10px !important;
  164. margin: 0 10px;
  165. .delete {
  166. width: 30px !important;
  167. font-size: 12px;
  168. }
  169. }
  170. .van-cell-group--inset {
  171. margin: 0 !important;
  172. border-radius: 0 !important;
  173. }
  174. .van-field__label--top {
  175. color: #666 !important;
  176. }
  177. .van-form {
  178. margin-top: 6px !important;
  179. border: 0 !important;
  180. }
  181. .commons-delete {
  182. display: flex !important;
  183. padding: 5px 15px !important;
  184. justify-content: space-between !important;
  185. align-items: center !important;
  186. color: #999999 !important;
  187. background-color: #f2f2f2;
  188. .title {
  189. flex: 1 !important;
  190. }
  191. .delete {
  192. width: 20px !important;
  193. cursor: pointer !important;
  194. text-align: center !important;
  195. }
  196. }
  197. .commons-add-btn {
  198. button {
  199. border: none !important;
  200. }
  201. }
  202. :root {
  203. --van-field-label-width: 10.2em !important;
  204. }
  205. .has-bottombar:after {
  206. content: '';
  207. z-index: 9998;
  208. position: fixed;
  209. left: 0;
  210. bottom: -50px;
  211. width: 100%;
  212. height: 50px;
  213. background: #fff;
  214. border-radius: 8px;
  215. }
  216. .common-process-card {
  217. margin: 16px 12px;
  218. background: #fff;
  219. }
  220. .van-tabbar--fixed,
  221. .van-tabbar {
  222. z-index: 10000 !important;
  223. }
  224. .iosListBox {
  225. height: calc(100vh - 180px);
  226. overflow-y: auto;
  227. }
  228. .androidListBox {
  229. height: calc(100vh - 160px);
  230. overflow-y: auto;
  231. }