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:
@@ -85,6 +85,7 @@ var tl = {
|
||||
|
||||
user: "ผู้ใช้",
|
||||
userBalance: "ยอด",
|
||||
customerService: "บริการลูกค้า",
|
||||
logout: "ออกจากระบบ",
|
||||
tip: "คำแนะนำ",
|
||||
logoutTip: "คุณต้องการออกจากระบบหรือไม่",
|
||||
@@ -173,6 +174,21 @@ var tl = {
|
||||
chooseCoin: "โปรดเลือกสกุลเงิน",
|
||||
flagshipHall: "แฟล็กชิปฮอลล์",
|
||||
liveHall: "ฮอลล์สด",
|
||||
|
||||
// บริการลูกค้า
|
||||
csConnected: "เชื่อมต่อแล้ว",
|
||||
csConnecting: "กำลังเชื่อมต่อ...",
|
||||
csWelcome: "ยินดีต้อนรับสู่บริการลูกค้า",
|
||||
csBusy: "เจ้าหน้าที่กำลังยุ่ง กรุณารอสักครู่...",
|
||||
csInputTip: "กรุณาใส่คำถามของคุณ",
|
||||
csInputPlaceholder: "พิมพ์ข้อความและส่ง...",
|
||||
csSend: "ส่ง",
|
||||
csMe: "ฉัน",
|
||||
csAgent: "เจ้าหน้าที่",
|
||||
csSessionEnded: "เซสชันสิ้นสุด",
|
||||
csAgentServing: "กำลังให้บริการคุณ",
|
||||
csAgentJoined: "ได้เข้าร่วม",
|
||||
csConnectFailed: "เชื่อมต่อไม่สำเร็จ",
|
||||
};
|
||||
|
||||
export { tl };
|
||||
|
||||
Reference in New Issue
Block a user