page{ background-color: #f6f7fb; } /* 切换客服页面样式 */ .change-service-container { display: flex; flex-direction: column; } /* 头部 */ .change-service-header { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 15px; background-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding-bottom: 15rpx; } .back-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; } .page-title { font-size: 16px; font-weight: 500; color: #333; } .empty-header { width: 40px; } /* 客服列表 */ .service-list { flex: 1; padding: 10px; overflow-y: auto; } /* 加载状态 */ .loading { display: flex; align-items: center; justify-content: center; height: 100px; font-size: 14px; color: #999; } /* 空状态 */ .empty-service { display: flex; align-items: center; justify-content: center; height: 200px; font-size: 14px; color: #999; } /* 客服项 */ .service-item { display: flex; align-items: center; padding: 15px; margin-bottom: 10px; background-color: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); } .service-item:active { background-color: #f0f0f0; } .service-item.selected { border: 2px solid #07c160; } /* 客服头像 */ .service-avatar { width: 60px; height: 60px; border-radius: 50%; margin-right: 15px; } /* 客服信息 */ .service-info { flex: 1; } .service-name { display: block; font-size: 16px; font-weight: 500; color: #333; margin-bottom: 5px; } .service-desc { font-size: 14px; color: #666; line-height: 1.4; } /* 选中图标 */ .selected-icon { margin-left: 10px; } /* 确认按钮区域 */ .confirm-section { padding: 15px; background-color: #fff; border-top: 1px solid #eee; } .confirm-btn { width: 100%; height: 45px; background-color: #07c160; color: #fff; font-size: 16px; border-radius: 25px; display: flex; align-items: center; justify-content: center; } .confirm-btn:disabled { background-color: #ccc; color: #fff; } /* 滚动条样式 */ .service-list::-webkit-scrollbar { width: 6px; } .service-list::-webkit-scrollbar-track { background-color: #f1f1f1; border-radius: 3px; } .service-list::-webkit-scrollbar-thumb { background-color: #c1c1c1; border-radius: 3px; } .service-list::-webkit-scrollbar-thumb:hover { background-color: #a8a8a8; }