Browse Source

修改问答页面

pull/24/head
zq 2 months ago
parent
commit
1b3941589a
  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/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/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/deepSeek.css?v={$smarty.const.CSS_JS_VERSION}">
<link rel="stylesheet" <link rel="stylesheet" href="{$smarty.const.CSS_URL}/css/default.min.css">
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/jquery-3.6.0.min.js" type="text/javascript"></script>
<script src="{$smarty.const.CSS_URL}/js/marked.min.js"></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 role="button" class="_7436101 bcc55ca1" id="sendBtn">
<div class="_6f28693"> <div class="_6f28693">
<div class="ds-icon" style="font-size: 16px; width: 16px; height: 16px;"> <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="sendBIconnot"
<img class="sendBIconActive" src="{$smarty.const.CSS_URL}/images/sendActive.svg" alt=""> src="{$smarty.const.CSS_URL}/images/sendnot.svg" alt="">
<img class="sendBIconActive"
src="{$smarty.const.CSS_URL}/images/sendActive.svg" alt="">
</div> </div>
</div> </div>
</div> </div>
@ -216,7 +219,7 @@
</div> </div>
</div> </div>
{literal}
<script> <script>
// 新对话按钮点击事件 // 新对话按钮点击事件
// document.querySelector('.new-chat-btn').addEventListener('click', function () { // document.querySelector('.new-chat-btn').addEventListener('click', function () {
@ -612,7 +615,7 @@
// aiMessageDiv.textContent = aiResponse; // 流式更新 // aiMessageDiv.textContent = aiResponse; // 流式更新
aiMessageDiv.innerHTML = marked.parse(aiResponse);; // 流式更新 aiMessageDiv.innerHTML = marked.parse(aiResponse);; // 流式更新
} }
console.log($('.content-body'),'9898'); console.log($('.content-body'), '9898');
aiMessageDiv.scrollIntoView({ aiMessageDiv.scrollIntoView({
behavior: "smooth" behavior: "smooth"
}); });
@ -670,6 +673,8 @@
}); });
}); });
</script> </script>
{/literal}
</body> </body>
</html> </html>
Loading…
Cancel
Save