Browse Source

Merge pull request '修改问答页面' (#24) from deepseek-zq into master

Reviewed-on: #24
pull/29/head
zhangqi 2 months ago
parent
commit
6f2374cb5c
  1. 17
      view/templates/index/interlocution.html

17
view/templates/index/interlocution.html

@ -8,8 +8,9 @@
<link rel="stylesheet" href="{$smarty.const.CSS_URL}/css/common.css?v={$smarty.const.CSS_JS_VERSION}">
<link rel="stylesheet" href="{$smarty.const.CSS_URL}/css/main.css?v={$smarty.const.CSS_JS_VERSION}">
<link rel="stylesheet" href="{$smarty.const.CSS_URL}/css/deepSeek.css?v={$smarty.const.CSS_JS_VERSION}">
<link rel="stylesheet"
href="{$smarty.const.CSS_URL}/css/default.min.css">
<link rel="stylesheet" href="{$smarty.const.CSS_URL}/css/default.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<script src="{$smarty.const.CSS_URL}/js/jquery-3.6.0.min.js" type="text/javascript"></script>
<script src="{$smarty.const.CSS_URL}/js/marked.min.js"></script>
<!-- 可选样式 -->
@ -201,8 +202,10 @@
<div role="button" class="_7436101 bcc55ca1" id="sendBtn">
<div class="_6f28693">
<div class="ds-icon" style="font-size: 16px; width: 16px; height: 16px;">
<img class="sendBIconnot" src="{$smarty.const.CSS_URL}/images/sendnot.svg" alt="">
<img class="sendBIconActive" src="{$smarty.const.CSS_URL}/images/sendActive.svg" alt="">
<img class="sendBIconnot"
src="{$smarty.const.CSS_URL}/images/sendnot.svg" alt="">
<img class="sendBIconActive"
src="{$smarty.const.CSS_URL}/images/sendActive.svg" alt="">
</div>
</div>
</div>
@ -216,7 +219,7 @@
</div>
</div>
{literal}
<script>
// 新对话按钮点击事件
// document.querySelector('.new-chat-btn').addEventListener('click', function () {
@ -612,7 +615,7 @@
// aiMessageDiv.textContent = aiResponse; // 流式更新
aiMessageDiv.innerHTML = marked.parse(aiResponse);; // 流式更新
}
console.log($('.content-body'),'9898');
console.log($('.content-body'), '9898');
aiMessageDiv.scrollIntoView({
behavior: "smooth"
});
@ -670,6 +673,8 @@
});
});
</script>
{/literal}
</body>
</html>
Loading…
Cancel
Save