/* pages/customer-service/detail/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; } .share-icon { font-size: 32rpx; color: #333; } /* 客服基本信息 */ .info-section { background-color: #fff; padding: 120rpx 30rpx 30rpx; margin-bottom: 20rpx; } .header-info { display: flex; align-items: center; } .avatar-container { width: 160rpx; height: 160rpx; margin-right: 30rpx; position: relative; } .avatar { width: 100%; height: 100%; border-radius: 50%; background-color: #f0f0f0; border: 4rpx solid #f0f0f0; } .online-indicator-large { position: absolute; bottom: 0; right: 0; background-color: #52c41a; color: white; font-size: 24rpx; padding: 8rpx 20rpx; border-radius: 20rpx; border: 4rpx solid white; } .offline-indicator-large { position: absolute; bottom: 0; right: 0; background-color: #999; color: white; font-size: 24rpx; padding: 8rpx 20rpx; border-radius: 20rpx; border: 4rpx solid white; } .header-details { flex: 1; } .name-score-row { display: flex; align-items: center; margin-bottom: 12rpx; } .name-large { font-size: 40rpx; font-weight: bold; color: #333; margin-right: 16rpx; } .score-large { font-size: 28rpx; color: #fff; background: linear-gradient(135deg, #ffb800, #ff7700); padding: 6rpx 16rpx; border-radius: 20rpx; } .position { font-size: 32rpx; color: #666; margin-bottom: 8rpx; } .company-large { font-size: 28rpx; color: #999; } /* 核心信息卡片 */ .core-info-section { padding: 0 30rpx; margin-bottom: 20rpx; } .info-card { background-color: #fff; border-radius: 24rpx; padding: 30rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05); } .info-item { display: flex; justify-content: space-between; align-items: center; padding: 20rpx 0; border-bottom: 1rpx solid #f0f0f0; } .info-item:last-child { border-bottom: none; } .info-label { font-size: 30rpx; color: #666; } .info-value { font-size: 30rpx; color: #333; text-align: right; flex: 1; margin-left: 30rpx; } .phone-number { color: #1890ff; } /* 专业技能标签 */ .skills-section { background-color: #fff; padding: 30rpx; margin-bottom: 20rpx; } .section-title { font-size: 32rpx; font-weight: bold; color: #333; margin-bottom: 20rpx; } .skills-container { display: flex; flex-wrap: wrap; gap: 16rpx; padding-bottom: 10rpx; } .skill-tag { background-color: #f0f9ff; color: #1890ff; font-size: 26rpx; padding: 12rpx 24rpx; border-radius: 20rpx; border: 1rpx solid #bae7ff; transition: all 0.2s ease; } .skill-tag:active { background-color: #bae7ff; transform: scale(0.98); } /* 业绩数据 */ .performance-section { background-color: #fff; padding: 30rpx; margin-bottom: 120rpx; } .performance-cards { display: flex; justify-content: space-between; gap: 20rpx; } .performance-card { flex: 1; background-color: #f9f9f9; padding: 24rpx; border-radius: 16rpx; text-align: center; transition: all 0.2s ease; position: relative; overflow: hidden; } .performance-card:active { transform: translateY(2rpx); background-color: #f0f0f0; } .performance-number { font-size: 36rpx; font-weight: bold; color: #333; margin-bottom: 12rpx; } .performance-number.profit-rate { color: #52c41a; } .performance-label { font-size: 24rpx; color: #666; line-height: 1.4; } /* 底部操作按钮 */ .bottom-actions { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background-color: #fff; padding: 20rpx 30rpx; border-top: 1rpx solid #f0f0f0; gap: 20rpx; } .action-button { flex: 1; padding: 24rpx; border-radius: 40rpx; text-align: center; font-size: 32rpx; font-weight: 500; transition: all 0.2s ease; position: relative; overflow: hidden; } .action-button:active { transform: scale(0.98); opacity: 0.9; } .chat-button:active { background-color: #096dd9; } .call-button:active { background-color: #389e0d; } .chat-button { background-color: #1890ff; color: white; } .call-button { background-color: #52c41a; color: white; } .button-text { font-size: 30rpx; }