@import "../../../../src/theme.less"; .save { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 99; .modalBody { width: 60%; background: #fff; border-radius: 5px; padding: 10px 20px; color: #333; .title { width: 100%; text-align: center; font-size: 18px; position: relative; i { position: absolute; right: 0; top: 0; font-size: 20px; color: #666; cursor: pointer; padding: 0 5px; } } .content { width: 100%; height: 117px; background: #f9fafb; border: 1px solid #e5e9ed; border-radius: 5px; overflow: hidden; margin-top: 12px; div { text-align: center; margin: 0; &.icon { margin-top: 17px; i { color: #34b349; font-size: 30px !important; &.transport-wenhao { color: #f5a523; } &.transport-shibai { color: #ff3a52; } } } &.defeat { color: #333; font-size: 18px; } &:nth-child(3) { font-size: 14px; color: #666; } } } button { margin-top: 10px; &.btn { margin-left: 8px; } } } // 新增 &.add { .modalBody { width: 40%; height: auto; .content { width: 100%; height: auto; padding: 19px 14px 0 14px; max-height: 500px; overflow-y: auto; .addForm { .ant-form-item { margin-bottom: 8px; .ant-select{ width: 100% !important; } .ant-input-number{ width: 100% !important; } .ant-form-item-label { line-height: 14px; text-align: left; } } .address{ position: relative; .addressList{ position: absolute; top: 100%; left: 0; width: 100%; max-height: 256px; z-index: 2; background: #fff; border: 1px solid #d9d9d9; border-radius: 4px; overflow: hidden auto; .addressItem{ padding: 5px 12px; cursor: pointer; &:hover{ background-color: #e9f7e9; } } } } } .editForm { .ant-form-item { margin-bottom: 14px; .ant-input-number{ width: 100% !important; } .ant-form-item-label { line-height: 0; } } } } button:nth-child(1) { margin-right: 20px; } } } }