index.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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-form {
  175. margin-top: 6px !important;
  176. border: 0 !important;
  177. }
  178. .commons-delete {
  179. display: flex!important;
  180. padding: 5px 15px!important;
  181. justify-content: space-between!important;
  182. align-items: center!important;
  183. color: #999999!important;
  184. background-color: #f2f2f2;
  185. .title {
  186. flex: 1!important;
  187. }
  188. .delete {
  189. width: 20px!important;
  190. cursor: pointer!important;
  191. text-align: center!important;
  192. }
  193. }
  194. .commons-add-btn{
  195. button{
  196. border:none!important;
  197. }
  198. }
  199. :root{
  200. --van-field-label-width:10.2em!important;
  201. }
  202. .has-bottombar:after {
  203. content: '';
  204. z-index: 9998;
  205. position: fixed;
  206. left: 0;
  207. bottom: -50px;
  208. width: 100%;
  209. height: 50px;
  210. background: #fff;
  211. border-radius: 8px;
  212. }
  213. .common-process-card{
  214. margin: 16px 12px;
  215. background: #fff;
  216. }