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:
+4
-3
@@ -179,9 +179,10 @@ export default {
|
||||
uni.navigateTo({ url });
|
||||
},
|
||||
goService() {
|
||||
// Mock service
|
||||
const url = this.$store.state.app.customServiceUrl;
|
||||
if(url) window.open(url, '_blank');
|
||||
// 跳转到客服页面
|
||||
uni.navigateTo({
|
||||
url: '/pages/user/customservice'
|
||||
});
|
||||
},
|
||||
switchCategory(id) {
|
||||
this.currentCategory = id;
|
||||
|
||||
Reference in New Issue
Block a user