diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 62bc35e..84dee5d 100755 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,14 +1,10 @@ - \ No newline at end of file + diff --git a/frontend/src/components/CameraView/index.less b/frontend/src/components/CameraView/index.less index e735744..caca907 100644 --- a/frontend/src/components/CameraView/index.less +++ b/frontend/src/components/CameraView/index.less @@ -4,6 +4,42 @@ left: 0; width: 100%; height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; z-index: 99; - background: rgba(0,0,0,0.4); + background: rgba(0, 0, 0, 0.4); + + .header_box { + width: 50%; + display: flex; + justify-content: flex-end; + padding: 10px 0; + box-sizing: border-box; + } + + .img_box { + width: 50vh; + height: 50vh; + display: flex; + align-items: center; + justify-content: center; + padding: 0; + margin: 0; + + .icon_box { + animation: spin 2s linear infinite; + } + } +} + +@keyframes spin { + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } } \ No newline at end of file diff --git a/frontend/src/components/CameraView/index.vue b/frontend/src/components/CameraView/index.vue index c431ba6..f7913b5 100644 --- a/frontend/src/components/CameraView/index.vue +++ b/frontend/src/components/CameraView/index.vue @@ -1,43 +1,86 @@ - - diff --git a/frontend/src/components/ProcessView/index.less b/frontend/src/components/ProcessView/index.less new file mode 100644 index 0000000..7209835 --- /dev/null +++ b/frontend/src/components/ProcessView/index.less @@ -0,0 +1,4 @@ +.process_box { + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/frontend/src/components/ProcessView/index.vue b/frontend/src/components/ProcessView/index.vue new file mode 100644 index 0000000..45ff946 --- /dev/null +++ b/frontend/src/components/ProcessView/index.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/frontend/src/components/ReasoningView/index.vue b/frontend/src/components/ReasoningView/index.vue index a023518..ebde032 100755 --- a/frontend/src/components/ReasoningView/index.vue +++ b/frontend/src/components/ReasoningView/index.vue @@ -7,7 +7,7 @@ :id="`${num}title`" >
-

{{generateTitle('问题设定')}}:

+

{{ generateTitle('问题设定') }}:

{{ key.title }}
- {{generateTitle('角色')}}({{ item.source }}) - {{generateTitle('模型名称')}}({{ `${item.source}` }}) + {{ generateTitle('角色') }}({{ item.source }}) + {{ generateTitle('模型名称') }}({{ `${item.source}` }})

- {{generateTitle('推理中')}}... + {{ generateTitle('推理中') }}...

- +
@@ -54,7 +69,11 @@ class="complete-box" v-if="completeList[num].show && num === completeList[num].index" > - {{ generateTitle('推理完成,如果希望了解更多可继续在下面框中提问或新建对话。')}} + {{ + generateTitle( + '推理完成,如果希望了解更多可继续在下面框中提问或新建对话。' + ) + }}
@@ -63,7 +82,7 @@ import { ref, defineExpose, defineEmits, defineProps } from 'vue' import { Plus, Minus } from '@element-plus/icons-vue' import { MdPreview } from 'md-editor-v3' -import {generateTitle} from '../../utils/i18n' +import { generateTitle } from '../../utils/i18n' import 'md-editor-v3/lib/style.css' const props: any = defineProps({ reasoningList: { diff --git a/frontend/src/view/reasoning/index.less b/frontend/src/view/reasoning/index.less index 10f9517..12415c1 100755 --- a/frontend/src/view/reasoning/index.less +++ b/frontend/src/view/reasoning/index.less @@ -71,4 +71,25 @@ } } + .camera_dialog { + position: fixed; + top: 0; + left: 66px; + z-index: 99; + display: flex; + align-items: center; + column-gap: 12px; + + .camera_item { + display: flex; + align-items: center; + flex-direction: column; + cursor: pointer; + + span { + font-size: 12px; + color: #fff; + } + } + } } \ No newline at end of file diff --git a/frontend/src/view/reasoning/index.vue b/frontend/src/view/reasoning/index.vue index 72efacb..e9b3b96 100755 --- a/frontend/src/view/reasoning/index.vue +++ b/frontend/src/view/reasoning/index.vue @@ -3,7 +3,7 @@
@@ -17,10 +17,10 @@

- {{ generateTitle("新建对话") }} + {{ generateTitle('新建对话') }}

- {{ generateTitle("回答输出中,暂不能再次提问") }} + {{ generateTitle('回答输出中,暂不能再次提问') }}
@@ -31,28 +31,53 @@ :reasoningList="reasoningList" @changeStatusFun="changeStatusFun" /> +
+
+ + 监控1 +
+
+ + 监控2 +
+
+