|
|
|
@ -84,7 +84,6 @@
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
|
0% {
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
@ -183,7 +182,8 @@
|
|
|
|
|
|
|
|
|
|
<div class="input-area">
|
|
|
|
|
<label for="questionInput"></label><textarea id="questionInput" placeholder="请输入您的问题..."></textarea>
|
|
|
|
|
<div class="examples">
|
|
|
|
|
|
|
|
|
|
<div class="examples">
|
|
|
|
|
<div class="example-category">
|
|
|
|
|
<h3>知识库内问题示例:</h3>
|
|
|
|
|
<div class="example-list">
|
|
|
|
@ -227,13 +227,12 @@
|
|
|
|
|
<button id="submitBtn" onclick="submitQuestion()"><span class="icon">💡</span>提问</button>
|
|
|
|
|
<button id="clearBtn" onclick="clearAll()"><span class="icon">🗑️</span>清空</button>
|
|
|
|
|
<button id="saveWordBtn" onclick="saveToWord()"><span class="icon">📄</span>保存为Word</button>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
// 禁用所有按钮
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
|
const buttons = document.querySelectorAll('button');
|
|
|
|
|
buttons.forEach(btn => btn.disabled = true);
|
|
|
|
|
});
|
|
|
|
|