.account-wrapper { margin-top: 1rem; display: flex; justify-content: space-between; } .account-left { width: 59%; } .account-info { width: 100%; background: #ffffff; border-radius: 0.4rem; padding: 2rem; } .account-info h2, .account-right h2 { font-size: 1.6rem; display: flex; align-items: center; } .account-info h2 span, .account-right h2 span { background: #FF7200; width: 0.3rem; height: 1.6rem; margin-right: 0.8rem; } .account-info-wrapper { display: flex; justify-content: space-between; flex-wrap: wrap; margin-top: 4rem; align-items: flex-end; } .account-info-wrapper > div { width: 32%; margin-bottom: 3rem; } .account-sex { position: relative; } .account-sex input { cursor: pointer; } .account-sex i { position: absolute; font-size: 1.8rem; top: 3.5rem; right: 1.5rem; } .account-info-wrapper > div p { font-size: 1.3rem; } .account-name p:before, .account-bind-phone p:before, .account-bind-email p:before { content: "*"; color: #FF7200; margin-right: 0.5rem; } .account-info-wrapper > div input { width: calc(100% - 1rem); height: 3.4rem; line-height: 3.4rem; font-size: 1.3rem; outline: none; padding: 1.5rem; border: #c1c1c1 1px solid; border-radius: 0.2rem; margin-top: 1rem; } .account-info-wrapper > div input::placeholder { color: #999999; } .layui-inline, .layui-input-inline { width: 100% !important; margin-right: 0 !important; margin-bottom: 0 !important; } .layui-form-item { margin-bottom: 0 !important; } .account-company, .account-job, .account-bind-phone, .account-bind-email { width: 49% !important; } .account-company, .account-job { margin-bottom: 0 !important; } .layui-laydate { border: none !important; border-radius: 0.4rem !important; box-shadow: 0 0.1rem 1rem 0.1rem rgb(0 84 199 / 10%) !important; left: 94rem !important; } .layui-laydate-header i { font-size: 1.2rem !important; } .layui-laydate-header i:hover, .laydate-set-ym span:hover { color: #0147a6 !important; } .layui-laydate .layui-this, .layui-laydate .layui-this > div { border-radius: 0.4rem !important; background: #0147a6 !important; } .layui-laydate-header { border-bottom: #f6f8ff 1px solid; } .layui-laydate-footer { border-top: #f6f8ff 1px solid; } .laydate-footer-btns span:first-child { border-radius: 0.4rem 0 0 0.4rem; } .laydate-footer-btns span:last-child { border-radius: 0 0.4rem 0.4rem 0; } .layui-laydate-footer span { border: 1px solid #f6f8ff; background-color: #fff; } .layui-laydate-footer span:hover { color: #0147a6; } .account-sex ul { position: absolute; top: 6rem; background: #ffffff; width: calc(100% - 1rem); box-shadow: 0 0.1rem 1rem 0.1rem rgb(0 84 199 / 10%); left: 0; padding: 0.6rem 0; max-height: 16.5rem; border: 1px solid #f3f7ff; border-radius: 0.4rem; overflow: hidden; overflow-y: scroll; z-index: 1; display: none; } .account-sex ul li { height: 4rem; line-height: 4rem; cursor: pointer; font-size: 1.4rem; padding: 0 1.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .account-sex ul li:hover { background: #f3f7ff; color: #0147a6; } .account-sex ul::-webkit-scrollbar { width: 0.4rem; display: none; background: none; } .account-sex ul::-webkit-scrollbar-thumb { border-radius: 1rem; -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); opacity: 0.2; background: #e5e5e5; } .account-sex ul::-webkit-scrollbar-track { -webkit-box-shadow: none; border-radius: 0; background: rgba(254, 254, 254, 0.3); } .account-sex ul:hover::-webkit-scrollbar { display: block; } .select-active { color: #0147a6; font-weight: 600; background: #f3f7ff; } .account-right h2 { margin-bottom: 4rem; } .account-right { width: 40%; background: #ffffff; border-radius: 0.4rem; padding: 2rem; } .avatar-preview { background: #f9f9f9; display: flex; justify-content: center; align-items: center; width: 38%; aspect-ratio: 1/1; position: relative; margin: auto; border-radius: 50%; overflow: hidden; } .avatar-preview input { position: absolute; left: 0; width: 100%; aspect-ratio: 1/1; opacity: 0; cursor: pointer; } .avatar-preview i { font-size: 4.5rem; color: #dddddd; } .avatar-upload-wrapper { display: flex; flex-direction: column; justify-content: center; } .avatar-upload-wrapper button { width: 38%; margin: 4.5rem auto 0 auto; background: #0147a6; border: #0147a6 1px solid; border-radius: 0.4rem; color: #ffffff; height: 3.6rem; font-size: 1.3rem; letter-spacing: 0.2rem; } .change-img { position: relative; width: 20%; margin: 1.5rem auto 0 auto; text-align: center; font-size: 1.2rem; color: #0147a6; text-decoration: underline; display: none; } .change-img input { position: absolute; width: 100%; height: 100%; left: 0; opacity: 0; cursor: pointer; } .submit-btn { display: flex; align-items: center; justify-content: space-between; margin: 4rem 1rem 0 0; } .submit-btn button { font-size: 1.3rem; color: #ffffff; background: #0147a6; border: #0147a6 1px solid; border-radius: 0.4rem; width: 26%; height: 3.6rem; letter-spacing: 0.2rem; cursor: pointer; } .submit-btn p { font-size: 1.3rem; color: #999999; display: flex; align-items: center; } .submit-btn p i { font-size: 2rem; color: #FF7200; margin-right: 0.5rem; } /* 兼容不同分辨率样式 */ @media screen and (max-width: 1919px) and (min-width: 1680px) { .user-wrapper { padding: 0 18rem; } .layui-laydate { left: 49.3% !important; } } @media screen and (max-width: 1679px) and (min-width: 1600px) { .user-wrapper { padding: 0 18rem; } .layui-laydate { left: 49.3% !important; } } @media screen and (max-width: 1599px) and (min-width: 1440px) { .user-wrapper { padding: 0 14rem; } .user-left-wrapper { width: 17%; } .user-right-wrapper { width: 82%; } .layui-laydate { left: 50.3% !important; } } @media screen and (max-width: 1439px) and (min-width: 1280px) { .user-wrapper { padding: 0 8rem; } .user-left-wrapper { width: 17%; } .user-right-wrapper { width: 82%; } .layui-laydate { left: 50.3% !important; } }