You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
383 lines
5.9 KiB
383 lines
5.9 KiB
/* pages/customer-service/index.wxss */
|
|
.container {
|
|
padding-bottom: 100rpx;
|
|
background-color: #f8f8f8;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* 顶部导航栏 */
|
|
.nav-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 44rpx 30rpx 20rpx;
|
|
background-color: #fff;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nav-left {
|
|
width: 80rpx;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.back-icon {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.nav-title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 30rpx;
|
|
}
|
|
|
|
.search-icon, .settings-icon {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
}
|
|
|
|
/* 搜索区域 */
|
|
.search-container {
|
|
background-color: #fff;
|
|
padding: 20rpx 30rpx;
|
|
border-bottom: 10rpx solid #f8f8f8;
|
|
position: fixed;
|
|
top: 110rpx;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 999;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.search-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #f5f5f5;
|
|
border-radius: 40rpx;
|
|
padding: 16rpx 24rpx;
|
|
margin-bottom: 20rpx;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.search-bar:focus-within {
|
|
background-color: #e6f7ff;
|
|
box-shadow: 0 0 0 4rpx rgba(24, 144, 255, 0.1);
|
|
}
|
|
|
|
.search-icon-small {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
margin-right: 16rpx;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
.filter-area {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.area-picker {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #f5f5f5;
|
|
padding: 12rpx 24rpx;
|
|
border-radius: 24rpx;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.picker-arrow {
|
|
margin-left: 8rpx;
|
|
font-size: 20rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 经纪人列表 */
|
|
.broker-list {
|
|
background-color: #f8f8f8;
|
|
padding: 0 30rpx;
|
|
margin-top: 280rpx; /* 为固定导航和搜索区域留出空间 */
|
|
}
|
|
|
|
.broker-item {
|
|
background-color: #fff;
|
|
border-radius: 24rpx;
|
|
margin: 20rpx 0;
|
|
padding: 28rpx;
|
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.broker-item:active {
|
|
transform: translateY(2rpx);
|
|
box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0.03);
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
.broker-info {
|
|
display: flex;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.avatar-container {
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
margin-right: 24rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.avatar {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background-color: #f0f0f0;
|
|
border: 2rpx solid #f0f0f0;
|
|
}
|
|
|
|
.online-indicator {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
background-color: #52c41a;
|
|
color: white;
|
|
font-size: 18rpx;
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 12rpx;
|
|
border: 2rpx solid white;
|
|
}
|
|
|
|
.offline-indicator {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
background-color: #999;
|
|
color: white;
|
|
font-size: 18rpx;
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 12rpx;
|
|
border: 2rpx solid white;
|
|
}
|
|
|
|
.broker-details {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.name-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 8rpx;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.name {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin-right: 12rpx;
|
|
}
|
|
|
|
.score-text {
|
|
font-size: 24rpx;
|
|
color: #fff;
|
|
background: linear-gradient(135deg, #ffb800, #ff7700);
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 12rpx;
|
|
margin-right: 8rpx;
|
|
}
|
|
|
|
.online-status {
|
|
font-size: 22rpx;
|
|
color: #52c41a;
|
|
}
|
|
|
|
.company {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-bottom: 6rpx;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.department {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
margin-bottom: 6rpx;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.area {
|
|
font-size: 26rpx;
|
|
color: #333;
|
|
margin-bottom: 6rpx;
|
|
line-height: 1.4;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.experience {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
margin-top: 8rpx;
|
|
}
|
|
|
|
/* 专业技能标签预览 */
|
|
.skills-preview {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10rpx;
|
|
margin-top: 12rpx;
|
|
}
|
|
|
|
.skill-tag-small {
|
|
background-color: #f0f9ff;
|
|
color: #1890ff;
|
|
font-size: 22rpx;
|
|
padding: 8rpx 16rpx;
|
|
border-radius: 16rpx;
|
|
border: 1rpx solid #bae7ff;
|
|
}
|
|
|
|
.skill-more {
|
|
background-color: #f5f5f5;
|
|
color: #999;
|
|
font-size: 22rpx;
|
|
padding: 8rpx 16rpx;
|
|
border-radius: 16rpx;
|
|
border: 1rpx solid #e0e0e0;
|
|
}
|
|
|
|
/* 业绩数据统计样式 */
|
|
.performance-stats {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 16rpx;
|
|
padding-top: 16rpx;
|
|
border-top: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.stat-item {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
display: block;
|
|
}
|
|
|
|
.stat-value.profit-rate {
|
|
color: #52c41a;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 22rpx;
|
|
color: #999;
|
|
margin-top: 4rpx;
|
|
display: block;
|
|
}
|
|
|
|
.stat-divider {
|
|
color: #e0e0e0;
|
|
font-size: 24rpx;
|
|
margin: 0 10rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 24rpx;
|
|
padding-top: 20rpx;
|
|
border-top: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.button-chat, .button-call {
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.button-chat {
|
|
background-color: #e6f7f0;
|
|
}
|
|
|
|
.button-call {
|
|
background-color: #e6f0f7;
|
|
}
|
|
|
|
.button-chat:active {
|
|
transform: scale(0.95);
|
|
opacity: 0.9;
|
|
background-color: #c3e6cb;
|
|
}
|
|
|
|
.button-call:active {
|
|
transform: scale(0.95);
|
|
opacity: 0.9;
|
|
background-color: #b3d8ff;
|
|
}
|
|
|
|
.button-icon {
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 100rpx 0;
|
|
background-color: #fff;
|
|
margin: 20rpx 0;
|
|
border-radius: 24rpx;
|
|
}
|
|
|
|
.empty-state text:first-child {
|
|
font-size: 100rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
}
|
|
|