.common-user-detail-modal { .ivu-modal-content { border-radius: 16px !important; margin-top: calc(var(--status-bar-height) + 46px) !important; } .ivu-modal-body { padding: 0 !important; } .user-detail-body { .profile-header { position: relative; height: 160px; .cover-photo { background: $primary-color; height: 120px; border-top-left-radius: 16px; border-top-right-radius: 16px; } .profile-avatar { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); border: 4px solid #fff; border-radius: 50%; .user-avatar { display: block; } } } .profile-content { padding: 16px 24px 24px; text-align: center; .user-info-top { .username { color: $primary-desc-color; font-size: 14px; } .fullname { font-size: 20px; font-weight: bold; margin: 4px 0; } .meta { display: flex; justify-content: center; align-items: center; color: #808695; font-size: 12px; .common-dialog { cursor: pointer; } .separator { margin: 0 8px; } } } .profile-actions { margin: 16px 0; display: flex; justify-content: center; gap: 8px; } .profile-bio { color: $primary-title-color; line-height: 1.5; margin: 16px 0; padding: 0 50px; font-size: 12px; } .profile-information { text-align: left; background-color: #f8f8f9; padding: 16px; border-radius: 8px; h2 { font-size: 16px; margin-bottom: 12px; } ul { list-style: none; padding: 0; margin: 0; li { display: flex; align-items: flex-start; // 避免多行内容导致垂直居中不齐 padding: 8px 0; font-size: 14px; .ivu-icon { font-size: 20px; margin-right: 12px; color: $primary-desc-color; } .label { color: #808695; flex: 0 0 64px; flex-shrink: 0; line-height: 22px; margin-right: 8px; } .value { color: $primary-title-color; font-weight: 500; flex: 1 1 auto; min-width: 0; margin-left: 0; text-align: right; white-space: normal; word-break: break-word; overflow-wrap: break-word; } } } } .profile-tags { margin-top: 12px; padding-top: 12px; border-top: 1px solid #80869550; cursor: pointer; .tags-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; position: relative; } .ivu-tag { margin: 0; } } } } } // 共同群组弹窗样式 .common-dialog-content { margin: -16px -32px 0; .loading-wrapper { display: flex; justify-content: center; align-items: center; text-align: center; padding-top: 60px; padding-bottom: 100px; } .empty-wrapper { display: flex; justify-content: center; align-items: center; padding-top: 40px; padding-bottom: 80px; .empty-content { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; color: #999; > i { opacity: 0.3; } } } .dialog-list { padding: 0 12px; overflow-y: auto; max-height: calc(100vh - 310px); @media (height <= 900px) { max-height: calc(100vh - 180px); } .dialog-item { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; border-radius: 6px; margin: 4px 0; transition: background-color 0.2s; &:hover { background-color: #f5f7fa; } .dialog-avatar { flex-shrink: 0; margin-right: 12px; .img-avatar, .user-avatar, .icon-avatar { width: 42px; height: 42px; margin-right: 2px; flex-grow: 0; flex-shrink: 0; } .img-avatar { display: flex; align-items: center; justify-content: center; > img { width: 100%; height: 100%; } } .icon-avatar { display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 26px; background-color: #61B2F9; color: #ffffff; &.department { background-color: #5BC7B0; } &.project { background-color: #6E99EB; } &.task { background-color: #9B96DF; font-size: 24px; } } } .dialog-info { flex: 1; min-width: 0; .dialog-name { font-size: 14px; font-weight: 500; color: #17233d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; } .dialog-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #808695; .member-count { flex-shrink: 0; } .last-time { flex-shrink: 0; } } } .enter-icon { flex-shrink: 0; color: #c5c8ce; font-size: 16px; margin-left: 8px; } } &:last-child { padding-bottom: 16px; } } .load-more-wrapper { display: flex; justify-content: center; align-items: center; padding: 12px 0; } }