IM/system-res/css/component/company-detail.css
2025-06-05 09:30:54 +08:00

156 lines
3.0 KiB
CSS

/* 企业详情样式 */
.tl-rtc-app-company-detail {
padding: 20px 0;
height: 100%;
background-color: #f9f9f9;
overflow-y: auto;
overflow-x: hidden;
position: relative;
z-index: 1;
}
/* 企业详情侧边栏动画样式 */
.tl-rtc-app-company-detail .layui-layer.layui-layer-page[type="page"] {
overflow: hidden !important;
}
.tl-rtc-app-company-detail .company-info-card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
overflow: hidden;
display: flex;
flex-direction: column;
height: calc(100% - 20px);
}
.tl-rtc-app-company-detail .company-header {
padding: 0px 20px 20px;
text-align: center;
background-color: #f8f8f8;
border-bottom: 1px solid #eee;
}
.tl-rtc-app-company-detail .company-logo {
width: 80px;
height: 80px;
margin: 0 auto 15px;
border-radius: 50%;
overflow: hidden;
background-color: #e8e8e8;
display: flex;
align-items: center;
justify-content: center;
}
.tl-rtc-app-company-detail .company-logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.tl-rtc-app-company-detail .company-logo-placeholder {
font-size: 40px;
color: #fff;
background-color: #1E9FFF;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.tl-rtc-app-company-detail .company-name {
font-size: 18px;
margin-bottom: 5px;
color: #333;
}
.tl-rtc-app-company-detail .company-id {
font-size: 12px;
color: #999;
}
.tl-rtc-app-company-detail .company-body {
padding: 20px;
flex: 1;
overflow-y: auto;
}
.tl-rtc-app-company-detail .info-item {
margin-bottom: 15px;
display: flex;
}
.tl-rtc-app-company-detail .info-label {
color: #666;
width: 80px;
flex-shrink: 0;
}
.tl-rtc-app-company-detail .info-value {
color: #333;
flex: 1;
word-break: break-all;
}
.tl-rtc-app-company-detail .info-description {
display: block;
}
.tl-rtc-app-company-detail .info-description .info-label {
display: block;
margin-bottom: 5px;
}
.tl-rtc-app-company-detail .description {
background-color: #f8f8f8;
padding: 10px;
border-radius: 4px;
min-height: 60px;
margin-top: 5px;
line-height: 1.6;
}
.tl-rtc-app-company-detail .company-footer {
padding: 15px 20px;
text-align: center;
border-top: 1px solid #eee;
}
/* 企业链接样式 */
.tl-rtc-app-company-detail-link {
color: #1E9FFF;
text-decoration: none;
cursor: pointer;
}
.tl-rtc-app-company-detail-link:hover {
color: #0d8bdc;
text-decoration: underline;
}
@media screen and (max-width: 576px) {
.tl-rtc-app-company-detail {
padding: 10px;
}
.tl-rtc-app-company-detail .company-header {
padding: 15px 10px;
}
.tl-rtc-app-company-detail .company-logo {
width: 60px;
height: 60px;
}
.tl-rtc-app-company-detail .company-body {
padding: 15px 10px;
}
.tl-rtc-app-company-detail .info-label {
width: 70px;
}
}