diff --git a/src/views/components/HistoryRecord.vue b/src/views/components/HistoryRecord.vue index 0440045..0a9e227 100644 --- a/src/views/components/HistoryRecord.vue +++ b/src/views/components/HistoryRecord.vue @@ -582,7 +582,7 @@ defineExpose({ // 生命周期 onMounted(() => { - loadFromLocalStorage(); + // loadFromLocalStorage(); }); // 监听历史记录变化,自动保存 diff --git a/src/views/homePage.vue b/src/views/homePage.vue index da0342f..4815d9e 100644 --- a/src/views/homePage.vue +++ b/src/views/homePage.vue @@ -740,35 +740,37 @@ onUnmounted(() => { @@ -1252,6 +1254,26 @@ body { /* margin-right: 5px; */ } +.input-container { + position: relative; + width: 100%; +} + +.send-btn-inner { + position: absolute; + right: 10px; + top: 50%; + transform: translateY(-50%); + height: 28px !important; + width: auto; + z-index: 10; + transition: all 0.3s ease; +} + +.send-btn-inner:hover { + transform: translateY(-50%) scale(1.1); +} + /* 音频播放动画 */ @keyframes pulse { 0% { @@ -1289,10 +1311,10 @@ body { box-shadow: none !important; overflow-y: auto !important; transition: all 0.2s ease-out; - padding: 8px 20px 8px 45px !important; resize: none !important; line-height: 1.5 !important; max-height: 100px !important; + padding-right: 45px !important; } .msg-input:deep(.el-textarea__inner::placeholder) { @@ -1304,7 +1326,7 @@ body { .msg-input { min-height: 34px; width: 100%; - border-radius: 20px; + border-radius: 5px; font-size: 16px; transition: all 0.3s ease-out; overflow-y: hidden;