@media screen and (max-width: 1000px) { .ant-form .ant-form-item .ant-form-item-label { flex: none !important; } .ant-row { margin: 0 !important; } .ant-form-item { margin-bottom: 0px !important; } } :deep(.ant-row) { margin: 10px !important; } .form-data-page { width: 100%; overflow: auto; background: white; position: relative; &::before { content: ''; // /* 必须提供内容属性,即使它是一个空字符串 */ // left: 50%; // transform: translateX(-50%); // position: absolute; // width: 1200px; // height: 205px; // background: linear-gradient(180deg, rgba(15, 147, 255, 0.5) 0%, rgba(#1880ff, 0.5) 100%); // background: white; // opacity: 0.08; // border-bottom: 2px solid #1677ff; // box-sizing: content-box; } } .mvc-a-hh { margin: 0 auto; width: 1200px; height: 130px; background: white; .mvc-header { width: 1200px; margin: auto; .mvc-txt { width: 100%; font-size: 14px; font-weight: normal; color: #467af8; display: flex; justify-content: center; padding: 0px 0; position: relative; .mvc-logo { position: absolute; width: 134px; height: 36px; left: 0; top: 10px; img { width: 100%; height: 100%; } } } .sheet-row { display: flex; justify-content: flex-end; padding-top: 13px; } .header-title { display: flex; justify-content: center; align-items: center; height: 58px; background-image: url('/src/assets/flow/title.svg'); img { height: 70px; } } .header-info { display: flex; justify-content: center; align-items: center; height: 31px; } .header-info-mobile { display: flex; justify-content: center; align-items: center; height: 31px; } } } .MvcSheet { max-width: 100%; margin: 0 auto; background: #f5f5f5; // overflow: hidden; .mvc-content { width: 1200px; margin: auto; padding: 0 0 0 0; } } .btn-com { margin-left: 4px; min-width: 90px; height: 28px; background: #4279F9; border-radius: 6px 6px 0px 0px; } .comment { /* 页脚样式 */ width: 1200px; margin: auto; .sub-com-title { width: 100%; min-height: 39px; font-size: 16px; font-weight: bold; color: #467af8; display: flex; border-top: 2px solid #e2eaff; border-bottom: 2px solid #e2eaff; background: linear-gradient(180deg, #fcfdff 3%, #eef3ff 100%); display: flex; align-items: center; padding: 0 20px; img { width: 19px; height: 23px; margin-right: 10px; } } .cm-header { flex: 1; display: flex; justify-content: space-between; font-weight: 600; } } .submit-comment { padding: 10px 0 10px 0px; } .basic { position: fixed; /* 页脚样式 */ padding: 10px; } /* 标签样式 */ :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-label) { border: 1px solid #eceff7; box-sizing: border-box; padding-top: 4px; height: 39px; text-align: center; } /* 内容样式 */ :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper) { border: 1px solid #eceff7; box-sizing: border-box; padding-top: 4px; height: 39px; text-align: left; } /* 取消所有控件的边框 */ :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper input), :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper span), :deep(.grid-col.ant-col.ant-col-8 .ant-row.ant-form-item .ant-col.ant-form-item-control-wrapper div) { border: none; } :deep(.ant-form-inline .ant-form-item > .ant-form-item-control-wrapper), :deep(.ant-form-inline .ant-form-item > .ant-form-item-label) {} /* 禁用的样式 */ :deep(.ant-input-number-disabled), :deep(.ant-select-disabled .ant-select-selection), :deep(.ant-btn[disabled]), :deep(.ant-input-disabled) { background-color: #fafafa !important; color: black; } /* 禁用的样式-placeholder */ :deep(.ant-input-number-disabled)::placeholder, :deep(.ant-select.ant-select-disabled) .ant-select-selection__placeholder, :deep(.ant-input-disabled)::placeholder { color: transparent; } /* card的样式 */ :deep(.grid-row.ant-card.ant-card-bordered) { padding: 10px; position: relative; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* 添加阴影 */ transition: transform 0.1s ease, box-shadow 0.1s ease; /* 平滑过渡效果 */ } /* card的样式 */ :deep(.ant-card-head) { min-height: 39px !important; } /* card的样式 */ :deep(.ant-card-head .ant-card-head-title) { padding: 8px; } :deep(.comment) {} .form-skeleton{ width: 1200px; /* 设置宽度为1200px */ margin: 0 auto; /* 上下外边距为0,左右外边距自动,实现水平居中 */ height: 30px; /* 设置高度以便观察效果 */ text-align: center; /* 文本居中对齐 */ line-height: 30px; /* 等于高度,使文字垂直居中 */ }