feat: integrate customer service chat functionality and add socket.io-client dependency

- Implemented a customer service chat interface in the application.
- Added socket.io-client for real-time communication.
- Updated language files to include customer service related translations.
- Modified navigation to direct users to the customer service page.
- Enhanced UI elements for better user experience in chat interactions.
This commit is contained in:
li
2026-01-29 03:04:52 +08:00
parent 14c8cbffcc
commit 322cc24208
12 changed files with 1629 additions and 72 deletions
+16
View File
@@ -86,6 +86,7 @@ var yn = {
user: "Của tôi",
userBalance: "Số dư",
customerService: "Hỗ trợ trực tuyến",
logout: "Đăng xuất",
tip: "Gợi ý",
logoutTip: "Xác nhận đăng xuất?",
@@ -178,6 +179,21 @@ var yn = {
chooseCoin: "Vui lòng chọn loại tiền tệ",
flagshipHall: "Hội trường hàng đầu",
liveHall: "Hội trường trực tiếp",
// Hỗ trợ trực tuyến
csConnected: "Đã kết nối",
csConnecting: "Đang kết nối...",
csWelcome: "Chào mừng đến với hỗ trợ trực tuyến",
csBusy: "Nhân viên đang bận, vui lòng chờ...",
csInputTip: "Hãy nhập câu hỏi của bạn",
csInputPlaceholder: "Nhập tin nhắn và gửi...",
csSend: "Gửi",
csMe: "Tôi",
csAgent: "CSKH",
csSessionEnded: "Phiên đã kết thúc",
csAgentServing: "đang phục vụ bạn",
csAgentJoined: "đã tham gia",
csConnectFailed: "Kết nối thất bại",
};
export { yn };