diff --git a/assets/css/common.scss b/assets/css/common.scss index b49f23b..2105f92 100644 --- a/assets/css/common.scss +++ b/assets/css/common.scss @@ -25,7 +25,7 @@ text-overflow: ellipsis; //文本溢出部分用省略号表示 display: -webkit-box; //特别显示模式 -webkit-line-clamp: 2; //行数 - line-clamp: 2; + line-clamp: 2; -webkit-box-orient: vertical; //盒子中内容竖直排列 } @@ -55,6 +55,9 @@ p { text-align: left; } + table{ + max-width: 100% !important; + } } .pretty-header { height: 59px; @@ -86,4 +89,4 @@ .breadcrumb-item + .breadcrumb-item::before { content: '>>'; -} \ No newline at end of file +} diff --git a/env.js b/env.js index 1598e44..fa5d9f6 100644 --- a/env.js +++ b/env.js @@ -8,9 +8,9 @@ module.exports = { // 开发环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api dev: { MODE: 'dev', - // VUE_APP_API_URL: 'http://127.0.0.1:8099/', - VUE_APP_API_URL: 'https://admin.cdtrucktralier.com/', - VUE_APP_WEBSOCKET: 'wss://admin.cdtrucktralier.com/ws/asset/' + VUE_APP_API_URL: 'http://127.0.0.1:8099/', + // VUE_APP_API_URL: 'https://admin.cdtrucktralier.com/', + VUE_APP_WEBSOCKET: 'ws://127.0.0.1:8099/ws/asset/' }, // 生产环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api 非独立部署默认为空 prod: { diff --git a/locales/en.json b/locales/en.json index ee64998..e96268c 100644 --- a/locales/en.json +++ b/locales/en.json @@ -124,6 +124,7 @@ "chat": { "title": "Online Service", "description": "Please enter your question... Press Enter to send.", - "littleTitle": "Hello! It's a pleasure to assist you. How may I help you?" + "littleTitle": "Hello! It's a pleasure to assist you. How may I help you?", + "downloadApp": "You can also click to download the APP (Android) and have a conversation with the online customer service." } -} \ No newline at end of file +} diff --git a/locales/zh.json b/locales/zh.json index 286849c..96b4cde 100644 --- a/locales/zh.json +++ b/locales/zh.json @@ -4,7 +4,7 @@ "viewDetails": "查看详情", "truckModel": "卡车型号", "dimension": "尺寸(长x宽x高)(毫米)", - "overhang": "悬垂(前/后)(mm)", + "overhang": "悬垂(前/后)(mm)", "wheelBase": "轴距(mm)", "maxSpeed": "最高速度(公里/小时)", "curbWeight": "整备质量(kg)", @@ -124,6 +124,7 @@ "chat": { "title": "在线客服", "description": "请输入您的问题...按Enter发送", - "littleTitle": "您好!很高兴为您服务,请问有什么可以帮您?" + "littleTitle": "您好!很高兴为您服务,请问有什么可以帮您?", + "downloadApp": "您也可以点击下载APP(安卓),与在线客服进行会话" } -} \ No newline at end of file +} diff --git a/pages/products/chatForm.vue b/pages/products/chatForm.vue index 8b8a4fa..bd93d00 100644 --- a/pages/products/chatForm.vue +++ b/pages/products/chatForm.vue @@ -1,6 +1,6 @@