feat:客服更新

This commit is contained in:
dzc committed 2026-03-27 11:28:08 +08:00
1 parent 11b4ce4c95
commit 22d5881e21
3 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -4,9 +4,9 @@ NODE_ENV=production
VITE_DEV=true
# 请求路径
VITE_BASE_URL='https://yffzpapi.zianxin.com'
VITE_BASE_URL='https://hrf48v5ife.fy.takin.cc'
VITE_CHAT_URL='http://localhost:8080/#/home/chat'
VITE_CHAT_URL='http://service.htysapp.com/#/home/chat'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
VITE_UPLOAD_TYPE=server
+1 -1
View File
@@ -6,7 +6,7 @@ VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://api.htysapp.com'
VITE_CHAT_URL='http://chatmsgpc.zianxin.com/#/home/chat'
VITE_CHAT_URL='http://service.htysapp.com/#/home/chat'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
VITE_UPLOAD_TYPE=server
@@ -13,11 +13,11 @@
</el-icon>
</div>
</template>
<iframe id="chat-iframe" src="http://localhost:8080/#/home/chat" class="min-h-70vh" height="100%" width="100%"
frameborder="0">
<iframe id="chat-iframe" :src="chatUrl" class="min-h-70vh" height="100%" width="100%" frameborder="0">
您当前的浏览器不支持页面上的功能,请升级您当前的浏览器版本或使用谷歌浏览器访问当前页面
</iframe>
</el-dialog>
</template>
<script setup lang="tsx">
@@ -25,6 +25,8 @@ import { BellFilled } from '@element-plus/icons-vue'
const dialogVisible = ref(false)
const chatUrl = computed(() => import.meta.env.VITE_CHAT_URL)
const dialogClose = () => {
dialogVisible.value = false
}