diff --git a/src/renderer/src/components/ai-chart/index.vue b/src/renderer/src/components/ai-chart/index.vue index 95cfaa6..03bb26b 100644 --- a/src/renderer/src/components/ai-chart/index.vue +++ b/src/renderer/src/components/ai-chart/index.vue @@ -3,21 +3,20 @@ - - +
+ + +
+ +
@@ -55,12 +54,13 @@
+
+ + +
-
- - -
-
+ + @@ -75,7 +75,6 @@ import vDrag from '@/views/tool/directive/drag' const { ipcRenderer } = window.electron || {} - const userStore = useUserStore().user @@ -218,6 +217,7 @@ onMounted(() => { } .page-ai-chart { + .ai-icon { position: fixed; right: 30px; @@ -227,6 +227,7 @@ onMounted(() => { } .chart-card { + background-color: #fff; position: fixed; bottom: 20px; right: 20px; @@ -234,34 +235,30 @@ onMounted(() => { height: calc(100% - 110px); border-radius: 10px; z-index: 10; - :deep(.el-card__header) { - padding: 10px; - } - - :deep(.el-card__body) { - height: calc(100% - 50px); - padding: 10px 15px; - } + box-shadow: 0px 0px 12px rgba(0, 0, 0, .12); .chart-body { - height: calc(100% - 60px); + padding: 10px 15px; + height: calc(100% - 110px); + -webkit-app-region: no-drag; } } .card-max { width: 100%; height: 100%; - left: 0; - top: 0; + left: 0 !important; + top: 0 !important; } .chart-header { justify-content: space-between; font-size: 14px; - + padding: 10px; + border-bottom: 1px solid #e4e7ed; + -webkit-app-region: no-drag; .header-name { align-items: center; - .header-icon { font-size: 28px; align-items: center; @@ -354,7 +351,10 @@ onMounted(() => { } .chart-input { - position: relative; + position: absolute; + width: 90%; + left: 5%; + bottom: 15px; display: flex; align-items: center; padding-top: 15px; diff --git a/src/renderer/src/layout/components/Header.vue b/src/renderer/src/layout/components/Header.vue index a8849e0..253fab4 100644 --- a/src/renderer/src/layout/components/Header.vue +++ b/src/renderer/src/layout/components/Header.vue @@ -197,7 +197,6 @@ const changeSubject = async (command) =>{ edustage: command.edustage, edusubject: command.edusubject } - console.log(data,'data') await updateUserInfo(data) await userStore.login({username: phonenumber, password: plainpwd}) await userStore.getInfo()