formWork.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. @media screen and (max-width: 1000px) {
  2. .ant-form .ant-form-item .ant-form-item-label {
  3. flex: none !important;
  4. }
  5. .ant-row {
  6. margin: 0 !important;
  7. }
  8. .ant-form-item {
  9. margin-bottom: 0px !important;
  10. }
  11. }
  12. :deep(.ant-row) {
  13. margin: 10px !important;
  14. }
  15. .form-data-page {
  16. width: 100%;
  17. overflow: auto;
  18. background: white;
  19. position: relative;
  20. &::before {
  21. content: '';
  22. // /* 必须提供内容属性,即使它是一个空字符串 */
  23. // left: 50%;
  24. // transform: translateX(-50%);
  25. // position: absolute;
  26. // width: 1200px;
  27. // height: 205px;
  28. // background: linear-gradient(180deg, rgba(15, 147, 255, 0.5) 0%, rgba(#1880ff, 0.5) 100%);
  29. // background: white;
  30. // opacity: 0.08;
  31. // border-bottom: 2px solid #1677ff;
  32. // box-sizing: content-box;
  33. }
  34. }
  35. .mvc-a-hh {
  36. margin: 0 auto;
  37. width: 1200px;
  38. height: 130px;
  39. background: white;
  40. .mvc-header {
  41. width: 1200px;
  42. margin: auto;
  43. .mvc-txt {
  44. width: 100%;
  45. font-size: 14px;
  46. font-weight: normal;
  47. color: #467af8;
  48. display: flex;
  49. justify-content: center;
  50. padding: 0px 0;
  51. position: relative;
  52. .mvc-logo {
  53. position: absolute;
  54. width: 134px;
  55. height: 36px;
  56. left: 0;
  57. top: 10px;
  58. img {
  59. width: 100%;
  60. height: 100%;
  61. }
  62. }
  63. }
  64. .sheet-row {
  65. display: flex;
  66. justify-content: flex-end;
  67. padding-top: 13px;
  68. }
  69. .header-title {
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. height: 58px;
  74. background-image: url('/src/assets/flow/title.svg');
  75. img {
  76. height: 70px;
  77. }
  78. }
  79. .header-info {
  80. display: flex;
  81. justify-content: center;
  82. align-items: center;
  83. height: 31px;
  84. }
  85. .header-info-mobile {
  86. display: flex;
  87. justify-content: center;
  88. align-items: center;
  89. height: 31px;
  90. }
  91. }
  92. }
  93. .MvcSheet {
  94. max-width: 100%;
  95. margin: 0 auto;
  96. background: #f5f5f5;
  97. // overflow: hidden;
  98. .mvc-content {
  99. width: 1200px;
  100. margin: auto;
  101. padding: 0 0 0 0;
  102. }
  103. }
  104. .btn-com {
  105. margin-left: 4px;
  106. min-width: 90px;
  107. height: 28px;
  108. background: #4279F9;
  109. border-radius: 6px 6px 0px 0px;
  110. }
  111. .comment {
  112. /* 页脚样式 */
  113. width: 1200px;
  114. margin: auto;
  115. .sub-com-title {
  116. width: 100%;
  117. min-height: 39px;
  118. font-size: 16px;
  119. font-weight: bold;
  120. color: #467af8;
  121. display: flex;
  122. border-top: 2px solid #e2eaff;
  123. border-bottom: 2px solid #e2eaff;
  124. background: linear-gradient(180deg, #fcfdff 3%, #eef3ff 100%);
  125. display: flex;
  126. align-items: center;
  127. padding: 0 20px;
  128. img {
  129. width: 19px;
  130. height: 23px;
  131. margin-right: 10px;
  132. }
  133. }
  134. .cm-header {
  135. flex: 1;
  136. display: flex;
  137. justify-content: space-between;
  138. font-weight: 600;
  139. }
  140. }
  141. .submit-comment {
  142. padding: 10px 0 10px 0px;
  143. }
  144. .basic {
  145. position: fixed;
  146. /* 页脚样式 */
  147. padding: 10px;
  148. }
  149. /* 标签样式 */
  150. :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-label) {
  151. border: 1px solid #eceff7;
  152. box-sizing: border-box;
  153. padding-top: 4px;
  154. height: 39px;
  155. text-align: center;
  156. }
  157. /* 内容样式 */
  158. :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper) {
  159. border: 1px solid #eceff7;
  160. box-sizing: border-box;
  161. padding-top: 4px;
  162. height: 39px;
  163. text-align: left;
  164. }
  165. /* 取消所有控件的边框 */
  166. :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper input),
  167. :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper span),
  168. :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper div) {
  169. border: none;
  170. }
  171. :deep(.ant-form-inline .ant-form-item > .ant-form-item-control-wrapper),
  172. :deep(.ant-form-inline .ant-form-item > .ant-form-item-label) {}
  173. /* 禁用的样式 */
  174. :deep(.ant-input-number-disabled),
  175. :deep(.ant-select-disabled .ant-select-selection),
  176. :deep(.ant-btn[disabled]),
  177. :deep(.ant-input-disabled) {
  178. background-color: #fafafa !important;
  179. color: black;
  180. }
  181. /* 禁用的样式-placeholder */
  182. :deep(.ant-input-number-disabled)::placeholder,
  183. :deep(.ant-select.ant-select-disabled) .ant-select-selection__placeholder,
  184. :deep(.ant-input-disabled)::placeholder {
  185. color: transparent;
  186. }
  187. /* card的样式 */
  188. :deep(.grid-row.ant-card.ant-card-bordered) {
  189. padding: 10px;
  190. position: relative;
  191. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  192. /* 添加阴影 */
  193. transition:
  194. transform 0.1s ease,
  195. box-shadow 0.1s ease;
  196. /* 平滑过渡效果 */
  197. }
  198. /* card的样式 */
  199. :deep(.ant-card-head) {
  200. min-height: 39px !important;
  201. }
  202. /* card的样式 */
  203. :deep(.ant-card-head .ant-card-head-title) {
  204. padding: 8px;
  205. }
  206. :deep(.comment) {}
  207. .form-skeleton{
  208. width: 1200px; /* 设置宽度为1200px */
  209. margin: 0 auto; /* 上下外边距为0,左右外边距自动,实现水平居中 */
  210. height: 30px; /* 设置高度以便观察效果 */
  211. text-align: center; /* 文本居中对齐 */
  212. line-height: 30px; /* 等于高度,使文字垂直居中 */
  213. }