-
+
-
@@ -468,11 +468,11 @@
-
-
- 首页--
+
+
+
+
+
-
@@ -1879,13 +1879,13 @@
#icon-setting
-
-
-
- 首页-#icon-shouye-
+
+
+
+
+
+
+

-
-
-
-
+
+
+
+
+
患者信息
已连接
机器人运行正常
@@ -60,20 +60,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- - { + console.log(currentRemote.value.isRemote) if (!currentRemote.value.isRemote) { router.replace('/remote-manage/remote-manage'); return; @@ -805,51 +806,51 @@ function startAI() { width: calc(100% - 205px); height: 100%; - .video-box { - position: relative; - width: 100%; - height: 270px; - background: $main-color; - /* background: url(@/assets/imgs/video_bck.png); - background-size: 100% 100%; */ - - &:hover { - .icon-box { - display: flex; - } - } - - .icon-box { - display: none; - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - font-size: 60px; - color: white; - background: rgba(black, .3); - justify-content: center; - align-items: center; - } - - video { - width: 100%; - height: 100%; - object-fit: cover; - } - } + // .video-box { + // position: relative; + // width: 100%; + // height: 270px; + // background: $main-color; + // /* background: url(@/assets/imgs/video_bck.png); + //background-size: 100% 100%; */ + // + // &:hover { + // .icon-box { + // display: flex; + // } + // } + // + // .icon-box { + // display: none; + // position: absolute; + // top: 0; + // left: 0; + // bottom: 0; + // right: 0; + // font-size: 60px; + // color: white; + // background: rgba(black, .3); + // justify-content: center; + // align-items: center; + // } + // + // video { + // width: 100%; + // height: 100%; + // object-fit: cover; + // } + // } .message-box { width: 100%; // height: 270px; - height: 149px; + height: 100%; // margin-bottom: 5px; .message-log { width: 100%; - height: calc(100% - 40px); - max-height: 109px; + height: 100%; + max-height: calc(100% - 35px); padding: 16px 20px; box-sizing: border-box; border: 1px solid #c8c8c8; diff --git a/vite.config.ts b/vite.config.ts index c4ee5c5..6a7e55c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -23,14 +23,14 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://localhost:9999', // 目标服务器地址 + target: 'http://192.168.71.20:9999', // 目标服务器地址 // target: 'http://110.41.142.124:6379', // 目标服务器地址 ws: true, // 是否启用 WebSocket changeOrigin: true, // 是否修改请求头中的 Origin 字段 rewrite: (path) => path.replace(/^\/api/, ''), }, '/socket.io': { - target: 'ws://localhost:9999', + target: 'ws://192.168.71.20:9999', // target: 'ws://110.41.142.124:6379', ws: true, changeOrigin: true,