$theme-color: #1fe4dc; $border-color: #e7e7e7; $info-width: 100px; $info-w: 60px; input { appearance: none; line-height: 36px; height: 36px; border: solid 1px $border-color; padding-left: 10px; } .btn { text-align: center; cursor: pointer; } .parmary { background-color: $theme-color; width: 126px; height: 36px; line-height: 36px; margin-top: 20px; } .choose { background-color: #ddd; color: #fff; width: 100px; line-height: 26px; height: 26px; font-size: 12px; margin: 12px 0 20px; } .el-upload { position: absolute; top: 0; left: 0; opacity: 0; line-height: 1; cursor: pointer; height: 100%; z-index: 10; width: 100%; padding: 0; margin: 0; font-size: 0; display: inline-block; } .cancel{ background: #e7e7e7!important; margin-left: 5px; } .information-layout{ $theme-color: #1fe4dc; .top-con{ position: relative; width: 100%; img{ width: 120%; } .tc{ color: #fff; width: 92%; position: absolute; top: 50%; left: 50%; display: flex; justify-content: space-between; align-items: center; transform: translate(-50%,-50%); color: 12px; >div{ &:first-of-type{ min-width: 70%; } } p{ font-size: 12px; word-break: break-all; margin-bottom: 2px; } .child-name{ display: inline-block; position: relative; cursor: pointer; ul{ background-color: #fff; position: absolute; width: calc(100% + 32px); top: 22px; left: -5px; color: #969696; max-height: 0; overflow: hidden; transition:all 0.3s ease; border-radius: 4px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.65); li{ line-height: 28px; padding: 0 5px; } } } .tab-active{ ul{ max-height: 120px; overflow: auto; } } .sanjiao{ display: inline-block; position: relative; &::before{ content: ''; border: 6px solid transparent; border-top-color: #cfcfcf; border-left-width: 4px; border-right-width: 4px; position: absolute; right: -16px; top: 4px; z-index: 1; } } .capacity{ .c-line{ width: 100%; height: 6px; border-radius: 5px; background-color: #ccc; overflow: hidden; font-size: 12px; margin: 5px 0; .active{ background-color: $theme-color; height: 100%; } } .c-dec{ padding-top: 4px; font-size: 12px; } .c-detail{ font-size: 10px; } } .btn{ background: $theme-color; color: #000000; display: inline-block; min-width: 85px; text-align: center; height: 25px; line-height: 25px; border-radius: 6px; font-weight: bold; flex-shrink: 0; margin-left: 10px; padding: 0 5px; } } } .info { p { line-height: 1; margin: 15px 0; span { padding-right: 10px; } } .p-desc { color: #a0a0a0; line-height: 24px; } .card-img{ font-size: 0; display: inline-block; cursor: pointer; background-position: center; background-size: auto 100%; } .avatar { width: 90px; height: 90px; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); margin: 0; background-size: cover; background-repeat: no-repeat; } .nickname { width: 250px; } } .info{ .s-tx{ position: relative; &>p{ position: absolute; left: 0; top: 0; margin: 0; } .avatar{ margin-left: $info-w; } } p{ span{ display: inline-block; &:first-of-type{ width: $info-w; } } } } .info-en{ .s-tx{ .avatar{ margin-left: $info-width; } } p{ span{ &:first-of-type{ width: $info-width; } } } } .edit-info { display: flex; .info-left { &>p{ margin: 10px 0; display: flex; align-items: center; >span{ &:first-of-type{ flex-shrink: 0; } } .ant-input{ width: 70%; } } min-width: 210px; .i-tx{ position: relative; &>p{ position: absolute; left: 0; top: 0; margin: 0; } .itx-con{ display: flex; margin-left: $info-w; font-size: 14px; .avatar{ flex-shrink: 0; } .it-right{ margin-left: 20px; .user-upload{ margin-bottom: 10px; p{ line-height: 17px; width: 180px; font-size: 12px; color: #898A8E; padding: 8px 0; } .ant-btn{ display: block; height: 24px; line-height: 24px; position: relative; background: #EDEFF2; color: #000000; letter-spacing: 0.8px; border: none; span{ pointer-events: none; } } } p{ line-height: 1.6; margin: 0; font-size: 12px; } } } } } .choose { cursor: pointer; position: relative; span { cursor: pointer; } } } .edit-en{ .info-left { .i-tx{ .itx-con{ margin-left: $info-width; } } } } .address-con{ background: #fff; .sub-title{ font-size: 14px; line-height: 21px; font-weight: 700; padding: 13px 16px; border-bottom: 1px solid #e9e9e9; display: flex; justify-content: space-between; align-items: center; } .address-scon{ padding: 16px; } .address-input-con{ padding: 16px; font-size: 12px; line-height: 1.5; margin-bottom: 10px; color: rgba(0, 0, 0, 0.65); .address-input-item{ display: flex; margin-bottom:8px; .address-sub{ width: 100%; .top-title{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(0, 0, 0, 0.85); padding: 0 0 8px; margin: 0; display: block; text-align: left; line-height: 1.5; &::before{ display: inline-block; margin-right: 4px; content: "*"; font-family: SimSun; line-height: 1; font-size: 12px; color: #f04134; } } } .address-name,.prov-name{ width: 33.33%; padding-right:4px; flex-shrink: 0; } .prov-name{ width: 50%; } .address-phone,.city-name{ flex: auto; } } .p-dec{ line-height:32px; margin-bottom: 8px; } } .address-show,.invoice-show{ display: flex; align-items: center; justify-content: space-between; padding: 18px 16px; margin-bottom: 10px; position: relative; .add-info{ max-width: calc(100% - 40px); .show-name{ font-size: 14px; color: #000000; line-height: 20px; margin-bottom: 8px; display: flex; justify-content: space-between; span{ overflow-wrap: break-word; width: 100%; flex: 1; } } .show-address{ font-size: 10px; color: #898A8E; line-height: 15px; overflow-wrap: break-word; width: 100%; } } .add-edit{ position: absolute; top: 20px; right: 20px; img{ width: 20px; } } } } } .check-con .check-box .checkbox-inner-checked::after{ border-color: #000; top: 37%; left: 13%; width: 4px; height: 8px; } .ant-btn{ display: inline-block; width: 65px; position: relative; margin-right: 5px; span{ font-weight: normal; display: inline-block; position: absolute; left: 50%; height: auto; top: 50%; transform: translate(-50%,-50%); } } .cancel { background: #e7e7e7 !important; margin-left: 0; }