Files
shz-admin/src/pages/Company/List/detail.less
FengHui 7b38f5b96a
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
bug修复
2026-05-26 17:06:53 +08:00

165 lines
2.9 KiB
Plaintext

.company-detail {
&__header {
margin: -8px -8px 20px;
padding: 20px 24px;
border-radius: 8px;
background: linear-gradient(135deg, #f0f5ff 0%, #e6f4ff 50%, #f9f0ff 100%);
border: 1px solid #d6e4ff;
}
&__name {
margin: 0 0 10px;
font-size: 20px;
font-weight: 600;
line-height: 1.4;
color: rgba(0, 0, 0, 0.88);
word-break: break-word;
}
&__meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
&__industry {
font-size: 13px;
color: rgba(0, 0, 0, 0.55);
padding: 2px 10px;
background: rgba(255, 255, 255, 0.75);
border-radius: 4px;
border: 1px solid rgba(0, 0, 0, 0.06);
}
&__section {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
&__section-title {
position: relative;
margin-bottom: 12px;
padding-left: 10px;
font-size: 15px;
font-weight: 600;
color: rgba(0, 0, 0, 0.88);
line-height: 1.5;
&::before {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 3px;
height: 14px;
margin-top: -7px;
border-radius: 2px;
background: #1677ff;
}
}
&__desc {
:global {
.ant-descriptions-item-label {
width: 108px;
font-weight: 500;
color: rgba(0, 0, 0, 0.65);
background: #fafafa !important;
}
.ant-descriptions-item-content {
color: rgba(0, 0, 0, 0.88);
}
}
}
&__intro {
padding: 14px 16px;
font-size: 14px;
line-height: 1.75;
color: rgba(0, 0, 0, 0.75);
white-space: pre-wrap;
word-break: break-word;
background: #fafafa;
border: 1px solid #f0f0f0;
border-radius: 8px;
}
&__contacts {
display: flex;
flex-direction: column;
gap: 10px;
}
&__contact-card {
display: flex;
gap: 14px;
padding: 14px 16px;
background: #fff;
border: 1px solid #f0f0f0;
border-radius: 8px;
transition: box-shadow 0.2s, border-color 0.2s;
&:hover {
border-color: #d6e4ff;
box-shadow: 0 2px 8px rgba(22, 119, 255, 0.08);
}
}
&__contact-avatar {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
font-size: 18px;
color: #1677ff;
background: #e6f4ff;
border-radius: 50%;
}
&__contact-body {
flex: 1;
min-width: 0;
}
&__contact-name {
margin-bottom: 6px;
font-size: 15px;
font-weight: 600;
color: rgba(0, 0, 0, 0.88);
}
&__contact-row {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 4px;
font-size: 13px;
color: rgba(0, 0, 0, 0.65);
&:last-child {
margin-bottom: 0;
}
:global(.anticon) {
color: rgba(0, 0, 0, 0.35);
font-size: 13px;
}
}
&__empty {
color: rgba(0, 0, 0, 0.25);
}
&__footer {
display: flex;
justify-content: flex-end;
}
}