.custom-form-container {
|
width: 100%;
|
background-color: #f5f7fa;
|
}
|
|
.custom-form-group {
|
margin-bottom: 12px;
|
background-color: #fff;
|
}
|
|
.custom-form-group-title {
|
color: #333;
|
font-size: 16px;
|
font-weight: 500;
|
padding: 16px 16px 8px;
|
position: relative;
|
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
&::before {
|
content: '';
|
display: block;
|
width: 4px;
|
height: 16px;
|
background-color: #1677ff;
|
position: absolute;
|
left: 0;
|
top: 50%;
|
transform: translateY(-50%);
|
}
|
}
|
|
.custom-form-group-content {
|
padding: 0;
|
}
|
|
.custom-form-header {
|
font-size: 16px;
|
font-weight: 500;
|
color: #333;
|
padding: 16px 16px 8px;
|
background-color: #fff;
|
position: relative;
|
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
&::before {
|
content: '';
|
display: block;
|
width: 4px;
|
height: 16px;
|
background-color: #1677ff;
|
position: absolute;
|
left: 0;
|
top: 50%;
|
transform: translateY(-50%);
|
}
|
}
|
|
.custom-form-item {
|
padding: 0px 16px 0 6px;
|
display: flex;
|
flex-direction: column;
|
border-bottom: none;
|
|
&:last-child {
|
border-bottom: none;
|
}
|
|
&.custom-form-item-tabs {
|
padding-bottom: 4px;
|
}
|
}
|
|
.custom-form-control {
|
margin-left: 8px;
|
width: 100%;
|
}
|
|
.custom-form-input,
|
.custom-form-textarea {
|
width: 100%;
|
border-radius: 4px;
|
font-size: 15px;
|
|
&:focus {
|
border-color: #1677ff;
|
outline: none;
|
}
|
}
|
|
.custom-form-input {
|
height: 47px;
|
line-height: 47px;
|
}
|
|
.custom-form-textarea {
|
min-height: 74px;
|
line-height: normal;
|
padding: 8px 0;
|
}
|
|
.custom-form-select {
|
position: relative;
|
flex: 1 1 auto;
|
|
.dd-picker {
|
width: 100%;
|
}
|
|
.dd-picker-item {
|
border: none !important;
|
background: transparent !important;
|
padding: 0 !important;
|
height: 47px !important;
|
line-height: 47px !important;
|
}
|
|
.custom-form-select-desc {
|
margin-top: 8px;
|
font-size: 15px;
|
color: #999;
|
}
|
}
|
|
.custom-form-select-person {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 8px 12px;
|
border: 1px solid #d9d9d9;
|
border-radius: 4px;
|
cursor: pointer;
|
width: 100%;
|
height: 47px;
|
|
&:active {
|
background-color: rgba(0, 0, 0, 0.02);
|
}
|
}
|
|
.custom-form-select-value {
|
color: #333;
|
font-size: 15px;
|
}
|
|
.custom-form-select-placeholder {
|
color: #999;
|
font-size: 15px;
|
}
|
|
.custom-form-select-arrow {
|
color: #999;
|
}
|
|
.custom-form-switch {
|
display: flex;
|
align-items: center;
|
justify-content: flex-end;
|
height: 47px;
|
}
|
|
.custom-form-switch-text {
|
margin-left: 8px;
|
font-size: 15px;
|
color: #333;
|
}
|
|
.custom-form-upload {
|
padding: 0;
|
margin: 5px 0 10px;
|
width: 100%;
|
|
.ding-upload-container {
|
padding-top: 0;
|
padding-bottom: 0;
|
}
|
|
.identity-document-upload {
|
.dd-upload-form-upload {
|
background-color: #fff;
|
border: none;
|
box-shadow: none;
|
width: 100%;
|
|
.dd-upload-upload-label {
|
color: #999;
|
font-size: 13px;
|
margin-bottom: 5px;
|
}
|
|
.dd-upload-upload-btn {
|
background-color: #fff;
|
border: 1px solid #d9d9d9;
|
color: #333;
|
padding: 8px 16px;
|
border-radius: 4px;
|
font-size: 15px;
|
width: 100%;
|
text-align: center;
|
margin-top: 8px;
|
}
|
}
|
|
.dd-upload-upload-list {
|
margin-top: 10px;
|
|
.dd-upload-upload-item {
|
display: flex;
|
align-items: center;
|
margin-bottom: 8px;
|
background: #f5f7fa;
|
padding: 8px;
|
border-radius: 4px;
|
}
|
}
|
}
|
}
|
|
.custom-form-checkbox {
|
.custom-form-checkbox-list {
|
display: flex;
|
flex-direction: column;
|
gap: 12px;
|
}
|
|
.custom-form-checkbox-option {
|
padding: 12px;
|
border: 1px solid #d9d9d9;
|
border-radius: 4px;
|
cursor: pointer;
|
height: 47px;
|
display: flex;
|
align-items: center;
|
|
&.custom-form-checkbox-selected {
|
border-color: #1677ff;
|
background-color: rgba(22, 119, 255, 0.05);
|
}
|
|
.custom-form-checkbox-title {
|
font-size: 15px;
|
font-weight: 500;
|
color: #333;
|
}
|
|
.custom-form-checkbox-subtitle {
|
margin-top: 4px;
|
font-size: 15px;
|
color: #999;
|
}
|
}
|
|
.custom-form-checkbox-desc {
|
margin-top: 8px;
|
font-size: 15px;
|
color: #999;
|
}
|
}
|
|
.custom-form-district {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 8px 12px;
|
border: 1px solid #d9d9d9;
|
border-radius: 4px;
|
cursor: pointer;
|
width: 100%;
|
height: 47px;
|
|
&:active {
|
background-color: rgba(0, 0, 0, 0.02);
|
}
|
}
|
|
.custom-form-district-desc {
|
margin-top: 8px;
|
font-size: 15px;
|
color: #999;
|
}
|
|
.custom-form-select-row {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
width: 100%;
|
height: 47px;
|
}
|
|
.custom-form-label {
|
color: #333;
|
font-size: 15px;
|
position: relative;
|
padding-left: 8px;
|
}
|
|
.custom-form-label-inline {
|
flex: 0 0 auto;
|
margin-bottom: 0px;
|
margin-right: 12px;
|
color: #333;
|
font-size: 15px;
|
font-weight: normal;
|
position: relative;
|
padding-left: 8px;
|
}
|
|
.custom-form-required {
|
color: #ff4d4f;
|
font-size: 14px;
|
position: absolute;
|
left: -4px;
|
}
|
|
.custom-form-subtitle {
|
margin-top: 4px;
|
font-size: 15px;
|
color: #999;
|
}
|
|
.custom-form-picker-trigger {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 8px 12px;
|
border: 1px solid #d9d9d9;
|
border-radius: 4px;
|
font-size: 15px;
|
color: #333;
|
background-color: #fff;
|
width: 100%;
|
overflow: hidden;
|
white-space: nowrap;
|
text-overflow: ellipsis;
|
height: 47px;
|
}
|
|
.custom-form-picker-arrow {
|
color: #999;
|
font-size: 16px;
|
margin-left: 8px;
|
}
|
|
.custom-form-picker-value {
|
flex: 1;
|
overflow: hidden;
|
white-space: nowrap;
|
text-overflow: ellipsis;
|
color: #333;
|
font-size: 15px;
|
}
|
|
.custom-form-picker-trigger:empty .custom-form-picker-value,
|
.custom-form-picker-value:empty {
|
color: #999;
|
}
|
|
.custom-form-value-row {
|
min-height: 47px;
|
padding: 0;
|
}
|
|
.custom-form-value-display {
|
display: flex;
|
justify-content: flex-end;
|
align-items: center;
|
min-width: 0;
|
flex: 1;
|
padding: 0;
|
background: transparent;
|
border: none;
|
box-shadow: none;
|
height: 47px;
|
}
|
|
.custom-form-value-select-text {
|
color: #171a1d;
|
font-size: 15px;
|
text-align: right;
|
margin-right: 8px;
|
flex: 1;
|
overflow: hidden;
|
white-space: nowrap;
|
text-overflow: ellipsis;
|
}
|
|
.custom-form-value-select-text-placeholder {
|
color: rgba(23, 26, 29, 0.4);
|
font-size: 15px;
|
}
|
|
.dtm-date-picker-form-inner-node-content {
|
color: rgba(23, 26, 29, 0.4);
|
font-size: 15px;
|
}
|
.dtm-date-picker-format-value {
|
margin-right: 8px;
|
}
|
|
.dtm-date-picker-form-inner-node-arrow {
|
margin-left: 0px;
|
color: #bfbfbf;
|
}
|
|
.custom-form-value-arrow {
|
color: #bfbfbf;
|
font-size: 16px;
|
flex-shrink: 0;
|
margin-left: 0px;
|
}
|
|
.custom-form-title-row {
|
display: flex;
|
align-items: center;
|
margin-bottom: 8px;
|
}
|
|
.custom-form-label-upload {
|
color: #333;
|
font-size: 15px;
|
font-weight: normal;
|
}
|
|
.custom-form-radio {
|
display: flex;
|
align-items: center;
|
|
&-option {
|
display: flex;
|
align-items: center;
|
cursor: pointer;
|
margin-right: 16px;
|
|
input[type='radio'] {
|
margin-right: 4px;
|
}
|
|
&:last-child {
|
margin-right: 0;
|
}
|
}
|
|
&-label {
|
font-size: 14px;
|
color: #333;
|
}
|
|
&-desc {
|
margin-top: 4px;
|
font-size: 12px;
|
color: #999;
|
}
|
}
|
|
.ding-upload-title {
|
font-size: 15px;
|
font-weight: 500;
|
color: #333;
|
margin-bottom: 4px;
|
}
|
|
.ding-upload-label {
|
width: 100%;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-between;
|
align-items: top;
|
}
|
|
.ding-upload-subtitle {
|
font-size: 14px;
|
color: rgba(23, 26, 29, 0.4);
|
}
|
:global {
|
.ddm-upload-form {
|
.ddm-upload-form-text {
|
color: #999;
|
}
|
|
.ddm-upload-form-remove {
|
color: #999;
|
|
&:hover {
|
color: #f5222d;
|
}
|
}
|
|
.ddm-upload-form-file-name {
|
color: #333;
|
}
|
|
.ddm-upload-form-preview {
|
color: #1a6fb8;
|
}
|
|
.ddm-upload-form-upload-button {
|
background-color: #f5f5f5;
|
border: 1px dashed #d9d9d9;
|
color: #666;
|
|
&:hover {
|
border-color: #1a6fb8;
|
color: #1a6fb8;
|
}
|
}
|
}
|
}
|
& .dtm-upload-form-upload-btn {
|
align-items: flex-start;
|
}
|
|
& .dtm-upload-list {
|
margin-top: 10px;
|
}
|