This commit is contained in:
王创世 2025-03-04 12:26:10 +08:00
parent 09b1d9659c
commit 3cc4f03d08
16 changed files with 611 additions and 333 deletions

16
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
// 使 IntelliSense
//
// 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node-terminal",
"name": "运行脚本: dev",
"request": "launch",
"command": "npm run dev",
"cwd": "${workspaceFolder}"
}
]
}

File diff suppressed because one or more lines are too long

61
dist/ai-CHrumffn.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/ai-logo-BtlK3AB1.js vendored Normal file
View File

@ -0,0 +1 @@
const A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAG1BMVEUAAAD///8/Pz+/v78fHx9fX19/f3+fn5+Pj4/ctHcOAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAmklEQVRYhe3RQQrCMBCF4YdkkmsUvIIHmFXXRbR22YXZu8j9MVM0lmpp3Or7oIU/kDJJASIiIqK/5PKj8wVd9MJeJSb0Fy1t8ep30muL4EbcSudIpT8N5fUILw1G7Lr8yp0jWq/yeoW0ihNwDmrtFcPUFVvkgMotz8EQ4tQVg5XjJ+mst45vX31cslM01luXbL79lURERES/6w4ftR+JUiBWQgAAAABJRU5ErkJggg==";export{A as _};

BIN
dist/deepseek.zip vendored Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.home-container[data-v-00216051]{background-image:url(/deepseek/lay-D9C2X5W3.png);background-position:center;background-size:cover;min-height:100vh;width:100%;position:relative}.company-title[data-v-00216051]{font-size:60px;color:#4d6bfe;text-align:center;padding:40px 0;position:relative;font-weight:600;top:120px;z-index:1}.content-wrapper[data-v-00216051]{flex:1;display:flex;justify-content:center;align-items:center;padding:40px 0;min-height:400px;margin-top:50px}.start-chat-btn .chat-btn[data-v-00216051]{background:#fff;border:none;padding:40px;border-radius:8px;font-size:20px;color:#333;cursor:pointer;box-shadow:0 4px 12px #0000001a;transition:all .3s}.start-chat-btn .chat-btn[data-v-00216051]:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000001f}.start-chat-btn .sub-text[data-v-00216051]{font-size:16px;color:#64748b;margin-top:8px;display:flex;flex-direction:column;align-items:center;gap:4px}.footer[data-v-00216051]{background:#f7f7f7f2;padding:40px 0;position:relative;z-index:1}.footer .info-columns[data-v-00216051]{display:flex;justify-content:space-around;max-width:1200px;margin:0 auto;padding:0 20px}.footer .info-columns .info-column .title[data-v-00216051]{font-weight:700;margin-bottom:20px}.footer .info-columns .info-column .item[data-v-00216051]{color:#666;margin-bottom:10px;font-size:14px}.footer .company-info[data-v-00216051]{max-width:1200px;margin:40px auto 0;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.footer .company-info .logo[data-v-00216051]{width:120px}.footer .company-info .logo img[data-v-00216051]{width:100%}.footer .company-info .qr-codes[data-v-00216051]{display:flex;gap:20px}.footer .company-info .qr-codes .qr-code[data-v-00216051]{width:100px;height:100px;background:#ddd}.footer .company-info .contact-info[data-v-00216051]{color:#666;font-size:14px;line-height:1.8}

View File

@ -1 +0,0 @@
import{c,a as t,u as r,o as l}from"./index-CXb-FhKb.js";const i=(o,n)=>{const e=o.__vccOpts||o;for(const[a,s]of n)e[a]=s;return e},p={class:"home-container"},d={__name:"index",setup(o){const n=r(),e=()=>{n.push("/ai")};return(a,s)=>(l(),c("div",p,[s[1]||(s[1]=t("div",{class:"company-title"}," 洛阳弘义智慧城市建设服务有限公司 ",-1)),t("div",{class:"content-wrapper"},[t("div",{class:"start-chat-btn"},[t("button",{class:"chat-btn",onClick:e,style:{width:"450px"}},s[0]||(s[0]=[t("div",{style:{"font-size":"20px","font-weight":"600",color:"#4D6BFE"}},"开始对话",-1),t("div",{class:"sub-text"},[t("span",null,"免费与 DeepSeek-V3 对话"),t("span",null,"使用全新旗舰模型")],-1)]))])])]))}},_=i(d,[["__scopeId","data-v-00216051"]]);export{_ as default};

File diff suppressed because one or more lines are too long

1
dist/index-DI7mKeew.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./ai-logo-BtlK3AB1.js";import{c,a,b as l,F as e,u as n,o as f}from"./index-D76U6LGa.js";const r="/deepseek/loog-D66dCjAh.png",b=(d,i)=>{const s=d.__vccOpts||d;for(const[v,t]of i)s[v]=t;return s},p={__name:"index",setup(d){const i=n(),s=()=>{i.push("/ai")};return(v,t)=>(f(),c(e,null,[a("div",{class:"home-container"},[t[1]||(t[1]=a("div",{class:"company-title"}," 洛阳弘义智慧城市建设服务有限公司 ",-1)),a("div",{class:"content-wrapper"},[a("div",{class:"start-chat-btn"},[a("button",{class:"chat-btn",onClick:s},t[0]||(t[0]=[a("div",{style:{"font-size":"20px","font-weight":"600",color:"#4D6BFE"}},"开始对话",-1),a("div",{class:"sub-text"},[a("span",null,"免费与 DeepSeek-R1 对话"),a("span",null,"使用全新旗舰模型")],-1)]))])])]),t[2]||(t[2]=l('<div style="height:400px;" data-v-f0783b53></div><div class="footer" data-v-f0783b53><div class="footer-content" data-v-f0783b53><div class="info-columns" data-v-f0783b53><div class="info-column" data-v-f0783b53><div class="title" data-v-f0783b53>洛阳市行政审批和政务信息管理局</div></div><div class="info-column" data-v-f0783b53><div class="title" data-v-f0783b53>洛阳国晟投资控股集团有限公司</div></div><div class="info-column" data-v-f0783b53><div class="title" data-v-f0783b53>洛阳弘义公用事业投资发展集团有限公司</div></div><div class="info-column" data-v-f0783b53><div class="title" data-v-f0783b53>洛阳弘义智慧城市建设服务有限公司</div></div></div><div class="company-info" data-v-f0783b53><div class="logo" data-v-f0783b53><img src="'+r+'" alt="公司logo" data-v-f0783b53></div><div class="contact-info" data-v-f0783b53><div style="word-break:break-all;" data-v-f0783b53>© 2025 有限公司 版权所有</div></div><div class="qr-codes" data-v-f0783b53><div class="qr-code" data-v-f0783b53><img src="'+o+'" alt="二维码1" data-v-f0783b53></div><div class="qr-code" data-v-f0783b53><img src="'+o+'" alt="二维码1" data-v-f0783b53></div></div><div class="contact-info" data-v-f0783b53>网站备案号豫ICP备xxxxxxxx号-1</div><div class="contact-info" style="margin-top:10px;" data-v-f0783b53>豫公网安备 xxxxxxxxx 号 </div></div></div></div>',2))],64))}},u=b(p,[["__scopeId","data-v-f0783b53"]]);export{u as default};

1
dist/index-wISBtklo.css vendored Normal file
View File

@ -0,0 +1 @@
.home-container[data-v-f0783b53]{background-image:url(/deepseek/lay-D9C2X5W3.png);background-position:center;background-size:cover;min-height:100vh;width:100%;position:relative}.company-title[data-v-f0783b53]{font-size:60px;color:#4d6bfe;text-align:center;padding:40px 20px;position:relative;font-weight:600;top:150px;z-index:1}@media screen and (max-width: 768px){.company-title[data-v-f0783b53]{font-size:32px;top:100px;padding:20px}}.content-wrapper[data-v-f0783b53]{flex:1;display:flex;justify-content:center;align-items:center;padding:40px 0;min-height:400px;margin-top:80px}@media screen and (max-width: 768px){.content-wrapper[data-v-f0783b53]{margin-top:40px;padding:20px}}.start-chat-btn .chat-btn[data-v-f0783b53]{background:#fff;border:none;padding:40px;border-radius:20px;font-size:20px;color:#333;cursor:pointer;box-shadow:0 4px 13px #0000001a;transition:all .3s;width:450px}.start-chat-btn .chat-btn[data-v-f0783b53]:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000001f}@media screen and (max-width: 768px){.start-chat-btn .chat-btn[data-v-f0783b53]{width:100%!important;padding:20px}}.start-chat-btn .sub-text[data-v-f0783b53]{font-size:16px;color:#64748b;margin-top:8px;display:flex;flex-direction:column;align-items:center;gap:4px}@media screen and (max-width: 768px){.start-chat-btn .sub-text[data-v-f0783b53]{font-size:14px}}.footer[data-v-f0783b53]{padding:40px 0;width:100%;z-index:1}.footer .footer-content[data-v-f0783b53]{display:flex;justify-content:center;max-width:1200px;align-items:center;margin:0 auto;padding:0 20px}@media screen and (max-width: 768px){.footer .footer-content[data-v-f0783b53]{flex-direction:column;padding:0 20px}}.footer .info-columns[data-v-f0783b53]{display:flex;gap:80px;margin-right:40px}@media screen and (max-width: 768px){.footer .info-columns[data-v-f0783b53]{flex-direction:column;gap:30px;margin-right:0}}.footer .info-columns .info-column .title[data-v-f0783b53]{font-size:16px;font-weight:700;margin-bottom:20px;color:#333}.footer .info-columns .info-column .item[data-v-f0783b53]{color:#666;margin-bottom:15px;font-size:14px;cursor:pointer}.footer .info-columns .info-column .item[data-v-f0783b53]:hover{color:#4d6bfe}@media screen and (max-width: 768px){.footer .info-columns .info-column[data-v-f0783b53]{text-align:center}.footer .info-columns .info-column .title[data-v-f0783b53]{font-size:14px;margin-bottom:10px}}.footer .company-info[data-v-f0783b53]{width:390px;margin-left:80px}.footer .company-info .logo[data-v-f0783b53]{margin-bottom:20px}.footer .company-info .logo img[data-v-f0783b53]{width:120px;height:auto}.footer .company-info .contact-info[data-v-f0783b53]{font-size:14px;color:#94a3b8}.footer .company-info .contact-info div[data-v-f0783b53]{white-space:nowrap}.footer .company-info .qr-codes[data-v-f0783b53]{display:flex;gap:20px;margin:20px 0}.footer .company-info .qr-codes .qr-code[data-v-f0783b53]{box-shadow:0 2px 8px #00000057;width:80px;height:80px;border-radius:4px}.footer .company-info .qr-codes .qr-code img[data-v-f0783b53]{border-radius:4px;width:100%;height:100%;object-fit:cover}@media screen and (max-width: 768px){.footer .company-info[data-v-f0783b53]{width:100%;margin-left:0;margin-top:40px;text-align:center}.footer .company-info .logo[data-v-f0783b53]{display:flex;justify-content:center}.footer .company-info .qr-codes[data-v-f0783b53]{justify-content:center}}

2
dist/index.html vendored
View File

@ -32,7 +32,7 @@
background: #a8a8a8; /* 悬停或活动状态下滑块的背景颜色 */
}
</style>
<script type="module" crossorigin src="/deepseek/index-CXb-FhKb.js"></script>
<script type="module" crossorigin src="/deepseek/index-D76U6LGa.js"></script>
</head>
<body style="margin: 0;">

View File

Before

Width:  |  Height:  |  Size: 530 KiB

After

Width:  |  Height:  |  Size: 530 KiB

BIN
dist/loog-D66dCjAh.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -5,10 +5,10 @@
<div class="f2eea526">
<div class="a5cd95be">
<div class="b83ee326">
<div class="f6004764" ref="chatContainerRef" @scroll="handleScroll">
<div class="f72b0bab" :style="{ height: !showList ? '60%' : '100%' }">
<div class="dad65929" style="flex-grow: 0;margin: 0px auto;" ref="chatContainer" v-if="showList"
v-for="item in paramMsg">
<div class="f6004764">
<div class="dad65929" v-if="showList" @wheel="handleScroll" style="flex-grow: 0;margin: 0px auto;overflow: auto;"
ref="chatContainerRef" >
<div v-for="item in paramMsg">
<div v-if="item.role == 'user'" class="fa81">
<div class="fbb737a4">{{ item.content }}<div class="ds-flex e0558cb1"
style="position: absolute; right: calc(100% + 18px); top: 12px; gap: 12px;">
@ -43,7 +43,7 @@
<img src="@/assets/ai-logo.png" style="width: 100%;border-radius: 50%;">
</div>
<div class="edb250b1">
<div v-if="item.skLong" class="a6d716f5 db5991dd">
<div v-if="item.skLong && item.msgCode == 1" class="a6d716f5 db5991dd">
<div class="ds-icon acbf4957" style="font-size: 12px; width: 12px; height: 12px;"><svg
width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
@ -54,9 +54,21 @@
</svg>
</div>思考中...
</div>
<div v-if="!item.skLong && item.msgCode == 0" class="a6d716f5 db5991dd">
<div class="ds-icon acbf4957" style="font-size: 12px; width: 12px; height: 12px;"><svg
width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M2.656 17.344c-1.016-1.015-1.15-2.75-.313-4.925.325-.825.73-1.617 1.205-2.365L3.582 10l-.033-.054c-.5-.799-.91-1.596-1.206-2.365-.836-2.175-.703-3.91.313-4.926.56-.56 1.364-.86 2.335-.86 1.425 0 3.168.636 4.957 1.756l.053.034.053-.034c1.79-1.12 3.532-1.757 4.957-1.757.972 0 1.776.3 2.335.86 1.014 1.015 1.148 2.752.312 4.926a13.892 13.892 0 0 1-1.206 2.365l-.034.054.034.053c.5.8.91 1.596 1.205 2.365.837 2.175.704 3.911-.311 4.926-.56.56-1.364.861-2.335.861-1.425 0-3.168-.637-4.957-1.757L10 16.415l-.053.033c-1.79 1.12-3.532 1.757-4.957 1.757-.972 0-1.776-.3-2.335-.86zm13.631-4.399c-.187-.488-.429-.988-.71-1.492l-.075-.132-.092.12a22.075 22.075 0 0 1-3.968 3.968l-.12.093.132.074c1.308.734 2.559 1.162 3.556 1.162.563 0 1.006-.138 1.298-.43.3-.3.436-.774.428-1.346-.008-.575-.159-1.264-.449-2.017zm-6.345 1.65l.058.042.058-.042a19.881 19.881 0 0 0 4.551-4.537l.043-.058-.043-.058a20.123 20.123 0 0 0-2.093-2.458 19.732 19.732 0 0 0-2.458-2.08L10 5.364l-.058.042A19.883 19.883 0 0 0 5.39 9.942L5.348 10l.042.059c.631.874 1.332 1.695 2.094 2.457a19.74 19.74 0 0 0 2.458 2.08zm6.366-10.902c-.293-.293-.736-.431-1.298-.431-.998 0-2.248.429-3.556 1.163l-.132.074.12.092a21.938 21.938 0 0 1 3.968 3.968l.092.12.074-.132c.282-.504.524-1.004.711-1.492.29-.753.442-1.442.45-2.017.007-.572-.129-1.045-.429-1.345zM3.712 7.055c.202.514.44 1.013.712 1.493l.074.13.092-.119a21.94 21.94 0 0 1 3.968-3.968l.12-.092-.132-.074C7.238 3.69 5.987 3.262 4.99 3.262c-.563 0-1.006.138-1.298.43-.3.301-.436.774-.428 1.346.007.575.159 1.264.448 2.017zm0 5.89c-.29.753-.44 1.442-.448 2.017-.008.572.127 1.045.428 1.345.293.293.736.431 1.298.431.997 0 2.247-.428 3.556-1.162l.131-.074-.12-.093a21.94 21.94 0 0 1-3.967-3.968l-.093-.12-.074.132a11.712 11.712 0 0 0-.71 1.492z"
fill="currentColor" stroke="currentColor" stroke-width=".1"></path>
<path d="M10.706 11.704A1.843 1.843 0 0 1 8.155 10a1.845 1.845 0 1 1 2.551 1.704z"
fill="currentColor" stroke="currentColor" stroke-width=".2"></path>
</svg>
</div>您的请求过于频繁请您稍后再试...
</div>
<!--思考的转圈图标-->
<div v-if="item.skLong" class="ds-loading b4e4476b" style="font-size: 20px;"><svg
viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"
<div v-if="item.skLong && item.msgCode == 1" class="ds-loading b4e4476b"
style="font-size: 20px;">
<svg viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"
data-icon="spin">
<defs>
<linearGradient x1="0%" y1="100%" x2="100%" y2="100%" id="linearGradient-1">
@ -74,7 +86,7 @@
</svg>
</div>
<!--思考的内容-->
<div class="e1675d8b">
<div class="e1675d8b" v-if="isNotEmpty(item.sk)">
<div class="ecc93a3b"></div>
<p class="ba94db8a">
{{ item.sk }}
@ -115,73 +127,77 @@
</div>
</div>
</div>
<div class="a85a674a" v-if="!showList">
<div class="c7e7df4d">
<div class="ds-icon da6cda9a" style="font-size: 60px; width: 60px; height: 60px;"><svg
viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<path id="path"
d="M27.501 8.46875C27.249 8.3457 27.1406 8.58008 26.9932 8.69922C26.9434 8.73828 26.9004 8.78906 26.8584 8.83398C26.4902 9.22852 26.0605 9.48633 25.5 9.45508C24.6787 9.41016 23.9785 9.66797 23.3594 10.2969C23.2275 9.52148 22.79 9.05859 22.125 8.76172C21.7764 8.60742 21.4238 8.45312 21.1807 8.11719C21.0098 7.87891 20.9639 7.61328 20.8779 7.35156C20.8242 7.19336 20.7695 7.03125 20.5879 7.00391C20.3906 6.97266 20.3135 7.13867 20.2363 7.27734C19.9258 7.84375 19.8066 8.46875 19.8174 9.10156C19.8447 10.5234 20.4453 11.6562 21.6367 12.4629C21.7725 12.5547 21.8076 12.6484 21.7646 12.7832C21.6836 13.0605 21.5869 13.3301 21.501 13.6074C21.4473 13.7852 21.3662 13.8242 21.1768 13.7461C20.5225 13.4727 19.957 13.0684 19.458 12.5781C18.6104 11.7578 17.8438 10.8516 16.8877 10.1426C16.6631 9.97656 16.4395 9.82227 16.207 9.67578C15.2314 8.72656 16.335 7.94727 16.5898 7.85547C16.8574 7.75977 16.6826 7.42773 15.8193 7.43164C14.957 7.43555 14.167 7.72461 13.1611 8.10938C13.0137 8.16797 12.8594 8.21094 12.7002 8.24414C11.7871 8.07227 10.8389 8.0332 9.84766 8.14453C7.98242 8.35352 6.49219 9.23633 5.39648 10.7441C4.08105 12.5547 3.77148 14.6133 4.15039 16.7617C4.54883 19.0234 5.70215 20.8984 7.47559 22.3633C9.31348 23.8809 11.4307 24.625 13.8457 24.4824C15.3125 24.3984 16.9463 24.2012 18.7881 22.6406C19.2529 22.8711 19.7402 22.9629 20.5498 23.0332C21.1729 23.0918 21.7725 23.002 22.2373 22.9062C22.9648 22.752 22.9141 22.0781 22.6514 21.9531C20.5186 20.959 20.9863 21.3633 20.5605 21.0371C21.6445 19.752 23.2783 18.418 23.917 14.0977C23.9668 13.7539 23.9238 13.5391 23.917 13.2598C23.9131 13.0918 23.9512 13.0254 24.1445 13.0059C24.6787 12.9453 25.1973 12.7988 25.6738 12.5352C27.0557 11.7793 27.6123 10.5391 27.7441 9.05078C27.7637 8.82422 27.7402 8.58789 27.501 8.46875ZM15.46 21.8613C13.3926 20.2344 12.3906 19.6992 11.9766 19.7227C11.5898 19.7441 11.6592 20.1875 11.7441 20.4766C11.833 20.7617 11.9492 20.959 12.1123 21.209C12.2246 21.375 12.3018 21.623 12 21.8066C11.334 22.2207 10.1768 21.668 10.1221 21.6406C8.77539 20.8477 7.64941 19.7988 6.85547 18.3652C6.08984 16.9844 5.64453 15.5039 5.57129 13.9238C5.55176 13.541 5.66406 13.4062 6.04297 13.3379C6.54199 13.2461 7.05762 13.2266 7.55664 13.2988C9.66602 13.6074 11.4619 14.5527 12.9668 16.0469C13.8262 16.9004 14.4766 17.918 15.1465 18.9121C15.8584 19.9688 16.625 20.9746 17.6006 21.7988C17.9443 22.0879 18.2197 22.3086 18.4824 22.4707C17.6895 22.5586 16.3652 22.5781 15.46 21.8613ZM16.4502 15.4805C16.4502 15.3105 16.5859 15.1758 16.7568 15.1758C16.7949 15.1758 16.8301 15.1836 16.8613 15.1953C16.9033 15.2109 16.9424 15.2344 16.9727 15.2695C17.0273 15.3223 17.0586 15.4004 17.0586 15.4805C17.0586 15.6504 16.9229 15.7852 16.7529 15.7852C16.582 15.7852 16.4502 15.6504 16.4502 15.4805ZM19.5273 17.0625C19.3301 17.1426 19.1328 17.2129 18.9434 17.2207C18.6494 17.2344 18.3281 17.1152 18.1533 16.9688C17.8828 16.7422 17.6895 16.6152 17.6074 16.2168C17.5732 16.0469 17.5928 15.7852 17.623 15.6348C17.6934 15.3105 17.6152 15.1035 17.3877 14.9141C17.2012 14.7598 16.9658 14.7188 16.7061 14.7188C16.6094 14.7188 16.5205 14.6758 16.4541 14.6406C16.3457 14.5859 16.2568 14.4512 16.3418 14.2852C16.3691 14.2324 16.501 14.1016 16.5322 14.0781C16.8838 13.877 17.29 13.9434 17.666 14.0938C18.0146 14.2363 18.2773 14.498 18.6562 14.8672C19.0439 15.3145 19.1133 15.4395 19.334 15.7734C19.5078 16.0371 19.667 16.3066 19.7754 16.6152C19.8408 16.8066 19.7559 16.9648 19.5273 17.0625Z"
fill-rule="nonzero" fill="#4D6BFE"></path>
</svg></div>昇腾+deepseek很高兴见到你
</div>
<div class="a8d0e1d3">我可以帮你写代码读文件写作各种创意内容请把你的任务交给我吧~</div>
</div>
<div class="a85a674a" v-if="!showList">
<div class="c7e7df4d">
<div class="ds-icon da6cda9a" style="font-size: 60px; width: 60px; height: 60px;"><svg
viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<path id="path"
d="M27.501 8.46875C27.249 8.3457 27.1406 8.58008 26.9932 8.69922C26.9434 8.73828 26.9004 8.78906 26.8584 8.83398C26.4902 9.22852 26.0605 9.48633 25.5 9.45508C24.6787 9.41016 23.9785 9.66797 23.3594 10.2969C23.2275 9.52148 22.79 9.05859 22.125 8.76172C21.7764 8.60742 21.4238 8.45312 21.1807 8.11719C21.0098 7.87891 20.9639 7.61328 20.8779 7.35156C20.8242 7.19336 20.7695 7.03125 20.5879 7.00391C20.3906 6.97266 20.3135 7.13867 20.2363 7.27734C19.9258 7.84375 19.8066 8.46875 19.8174 9.10156C19.8447 10.5234 20.4453 11.6562 21.6367 12.4629C21.7725 12.5547 21.8076 12.6484 21.7646 12.7832C21.6836 13.0605 21.5869 13.3301 21.501 13.6074C21.4473 13.7852 21.3662 13.8242 21.1768 13.7461C20.5225 13.4727 19.957 13.0684 19.458 12.5781C18.6104 11.7578 17.8438 10.8516 16.8877 10.1426C16.6631 9.97656 16.4395 9.82227 16.207 9.67578C15.2314 8.72656 16.335 7.94727 16.5898 7.85547C16.8574 7.75977 16.6826 7.42773 15.8193 7.43164C14.957 7.43555 14.167 7.72461 13.1611 8.10938C13.0137 8.16797 12.8594 8.21094 12.7002 8.24414C11.7871 8.07227 10.8389 8.0332 9.84766 8.14453C7.98242 8.35352 6.49219 9.23633 5.39648 10.7441C4.08105 12.5547 3.77148 14.6133 4.15039 16.7617C4.54883 19.0234 5.70215 20.8984 7.47559 22.3633C9.31348 23.8809 11.4307 24.625 13.8457 24.4824C15.3125 24.3984 16.9463 24.2012 18.7881 22.6406C19.2529 22.8711 19.7402 22.9629 20.5498 23.0332C21.1729 23.0918 21.7725 23.002 22.2373 22.9062C22.9648 22.752 22.9141 22.0781 22.6514 21.9531C20.5186 20.959 20.9863 21.3633 20.5605 21.0371C21.6445 19.752 23.2783 18.418 23.917 14.0977C23.9668 13.7539 23.9238 13.5391 23.917 13.2598C23.9131 13.0918 23.9512 13.0254 24.1445 13.0059C24.6787 12.9453 25.1973 12.7988 25.6738 12.5352C27.0557 11.7793 27.6123 10.5391 27.7441 9.05078C27.7637 8.82422 27.7402 8.58789 27.501 8.46875ZM15.46 21.8613C13.3926 20.2344 12.3906 19.6992 11.9766 19.7227C11.5898 19.7441 11.6592 20.1875 11.7441 20.4766C11.833 20.7617 11.9492 20.959 12.1123 21.209C12.2246 21.375 12.3018 21.623 12 21.8066C11.334 22.2207 10.1768 21.668 10.1221 21.6406C8.77539 20.8477 7.64941 19.7988 6.85547 18.3652C6.08984 16.9844 5.64453 15.5039 5.57129 13.9238C5.55176 13.541 5.66406 13.4062 6.04297 13.3379C6.54199 13.2461 7.05762 13.2266 7.55664 13.2988C9.66602 13.6074 11.4619 14.5527 12.9668 16.0469C13.8262 16.9004 14.4766 17.918 15.1465 18.9121C15.8584 19.9688 16.625 20.9746 17.6006 21.7988C17.9443 22.0879 18.2197 22.3086 18.4824 22.4707C17.6895 22.5586 16.3652 22.5781 15.46 21.8613ZM16.4502 15.4805C16.4502 15.3105 16.5859 15.1758 16.7568 15.1758C16.7949 15.1758 16.8301 15.1836 16.8613 15.1953C16.9033 15.2109 16.9424 15.2344 16.9727 15.2695C17.0273 15.3223 17.0586 15.4004 17.0586 15.4805C17.0586 15.6504 16.9229 15.7852 16.7529 15.7852C16.582 15.7852 16.4502 15.6504 16.4502 15.4805ZM19.5273 17.0625C19.3301 17.1426 19.1328 17.2129 18.9434 17.2207C18.6494 17.2344 18.3281 17.1152 18.1533 16.9688C17.8828 16.7422 17.6895 16.6152 17.6074 16.2168C17.5732 16.0469 17.5928 15.7852 17.623 15.6348C17.6934 15.3105 17.6152 15.1035 17.3877 14.9141C17.2012 14.7598 16.9658 14.7188 16.7061 14.7188C16.6094 14.7188 16.5205 14.6758 16.4541 14.6406C16.3457 14.5859 16.2568 14.4512 16.3418 14.2852C16.3691 14.2324 16.501 14.1016 16.5322 14.0781C16.8838 13.877 17.29 13.9434 17.666 14.0938C18.0146 14.2363 18.2773 14.498 18.6562 14.8672C19.0439 15.3145 19.1133 15.4395 19.334 15.7734C19.5078 16.0371 19.667 16.3066 19.7754 16.6152C19.8408 16.8066 19.7559 16.9648 19.5273 17.0625Z"
fill-rule="nonzero" fill="#4D6BFE"></path>
</svg></div>昇腾+deepseek很高兴见到你
</div>
<div v-if="false" class="e886deb9">
<div class="e214291b"><svg width="18" height="18" viewBox="0 0 18 18" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M5.856 17.121a.979.979 0 0 1-.327-.06.839.839 0 0 1-.283-.177.739.739 0 0 1-.187-.255.724.724 0 0 1-.07-.303l-.02-1.609a4.663 4.663 0 0 1-1.446-.455 4.252 4.252 0 0 1-.637-.401c-.199-.146-.385-.31-.553-.492a4.442 4.442 0 0 1-.45-.577 4.303 4.303 0 0 1-.327-.637 3.823 3.823 0 0 1-.206-.686 3.729 3.729 0 0 1-.064-.704V6.478c0-.261.025-.516.077-.771a4.43 4.43 0 0 1 .244-.747 4.062 4.062 0 0 1 .932-1.28c.2-.183.418-.347.65-.493.23-.145.482-.267.739-.364a4.21 4.21 0 0 1 .81-.225c.27-.054.553-.078.835-.078H8.55c.103 0 .2.018.29.054a.7.7 0 0 1 .411.376.667.667 0 0 1-.161.766.736.736 0 0 1-.25.151.764.764 0 0 1-.29.055H5.573c-.186 0-.366.012-.54.049-.18.03-.353.079-.52.145-.145-.167.061-.328.14-.482.237-.148.091-.29.2-.418.316a2.897 2.897 0 0 0-.347.388c-.097.14-.187.286-.257.444a2.473 2.473 0 0 0-.206.977v4.287c0 .17.013.333.051.503a2.549 2.549 0 0 0 .772 1.33 2.721 2.721 0 0 0 .913.559c.167.066.347.115.527.152.18.03.36.048.546.048a.904.904 0 0 1 .61.23.848.848 0 0 1 .194.262.84.84 0 0 1 .07.303l.007.99 1.915-1.293a2.877 2.877 0 0 1 1.64-.492h2.372c.186 0 .366-.018.54-.048.18-.03.353-.08.52-.146.168-.067.329-.146.483-.237.148-.091.29-.2.418-.316.128-.121.244-.249.347-.388a2.8 2.8 0 0 0 .257-.444 2.47 2.47 0 0 0 .206-.977V8.585a.646.646 0 0 1 .225-.492.679.679 0 0 1 .244-.152.814.814 0 0 1 .585 0c.09.03.174.085.244.244.152a.657.657 0 0 1 .225.492V10.8c0 .261-.032.516-.083.771a4.192 4.192 0 0 1-.245.74c-.109.244-.244.468-.398.687a3.735 3.735 0 0 1-.534.6c-.2.183-.418.347-.65.493a4.134 4.134 0 0 1-.738.364 4.7 4.7 0 0 1-.81.225c-.27.054-.553.079-.836.079h-1.877c-.604 0-1.144.164-1.633.491l-2.54 1.713a.913.913 0 0 1-.514.157z"
fill="currentColor"></path>
<path
d="M15.866 4.125h-4.174c-.41 0-.741.313-.741.7 0 .387.332.7.741.7h4.174c.41 0 .742-.313.742-.7 0-.387-.332-.7-.742-.7z"
fill="currentColor"></path>
<path
d="M14.537 2.932c0-.396-.34-.717-.759-.717s-.758.32-.758.717v3.786c0 .396.34.717.758.717.717.42 0 .76-.321.76-.717V2.932z"
fill="currentColor"></path>
</svg><span>开启新对话</span></div>
</div>
<div class="cbcaa82c">
<div class="aaff8b8f">
<div class="cefa5c26">
<div class="dd442025 b699646e">
<div class="fad49dec"><textarea v-model="message" id="chat-input" class="c92459f0"
placeholder="给 DeepSeek 发送消息 " rows="2"></textarea>
<div class="b13855df">
</div>
<div class="a8d0e1d3">我可以帮你写代码读文件写作各种创意内容请把你的任务交给我吧~</div>
</div>
<div v-if="false" class="e886deb9">
<div class="e214291b"><svg width="18" height="18" viewBox="0 0 18 18" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M5.856 17.121a.979.979 0 0 1-.327-.06.839.839 0 0 1-.283-.177.739.739 0 0 1-.187-.255.724.724 0 0 1-.07-.303l-.02-1.609a4.663 4.663 0 0 1-1.446-.455 4.252 4.252 0 0 1-.637-.401c-.199-.146-.385-.31-.553-.492a4.442 4.442 0 0 1-.45-.577 4.303 4.303 0 0 1-.327-.637 3.823 3.823 0 0 1-.206-.686 3.729 3.729 0 0 1-.064-.704V6.478c0-.261.025-.516.077-.771a4.43 4.43 0 0 1 .244-.747 4.062 4.062 0 0 1 .932-1.28c.2-.183.418-.347.65-.493.23-.145.482-.267.739-.364a4.21 4.21 0 0 1 .81-.225c.27-.054.553-.078.835-.078H8.55c.103 0 .2.018.29.054a.7.7 0 0 1 .411.376.667.667 0 0 1-.161.766.736.736 0 0 1-.25.151.764.764 0 0 1-.29.055H5.573c-.186 0-.366.012-.54.049-.18.03-.353.079-.52.145-.52.145-.167.061-.328.14-.482-.267-.739-.364a4.21 4.21 0 0 1 .81-.225c.27-.054.553-.078.835-.078H8.55c.103 0 .2.018.29.054a.7.7 0 0 1 .411.376.667.667 0 0 1-.161.766.736.736 0 0 1-.25.151.764.764 0 0 1-.29.055H5.573c-.186 0-.366.012-.54.049-.18.03-.353.079-.52.145-.52.145-.167.061-.328.14-.482.267-.148.091-.29.2-.418.316a2.897 2.897 0 0 0-.347.388c-.097.14-.187.286-.257.444a2.473 2.473 0 0 0-.206.977v4.287c0 .17.013.333.051.503a2.549 2.549 0 0 0 .772 1.33 2.721 2.721 0 0 0 .913.559c.167.066.347.115.527.152.18.03.36.048.546.048a.904.904 0 0 1 .61.23.848.848 0 0 1 .194.262.84.84 0 0 1 .07.303l.007.99 1.915-1.293a2.877 2.877 0 0 1 1.64-.492h2.372c.186 0 .366-.018.54-.048.18-.03.353-.08.52-.146.168-.067.329-.146.483-.237.148-.091.29-.2.418-.316.128-.121.244-.249.347-.388a2.8 2.8 0 0 0 .257-.444 2.47 2.47 0 0 0 .206-.977V8.585a.646.646 0 0 1 .225-.492.679.679 0 0 1 .244-.152.814.814 0 0 1 .585 0c.09.03.174.085.244.244.244.244.244.244.152a.657.657 0 0 1 .225.492V10.8c0 .261-.032.516-.083.771a4.192 4.192 0 0 1-.245.74c-.109.244-.244.468-.398.687a3.735 3.735 0 0 1-.534.6c-.2.183-.418.347-.65.493a4.134 4.134 0 0 1-.738.364 4.7 4.7 0 0 1-.81.225c-.27.054-.553.079-.836.079h-1.877c-.604 0-1.144.164-1.633.491l-2.54 1.713a.913.913 0 0 1-.514.157z"
fill="currentColor"></path>
<path
d="M15.866 4.125h-4.174c-.41 0-.741.313-.741.7 0 .387.332.741.7h4.174c.41 0 .742-.313.742-.7 0-.387-.332-.7-.742-.7z"
fill="currentColor"></path>
<path
d="M14.537 2.932c0-.396-.34-.717-.759-.717s-.758.32-.758.717v3.786c0 .396.34.717.758.717.717.717.42 0 .76-.321.76-.717V2.932z"
fill="currentColor"></path>
</svg><span>开启新对话</span></div>
</div>
<div class="cbcaa82c" :style="{ bottom: showList ? '0px' : '200px' }">
<div class="aaff8b8f">
<div class="cefa5c26">
<div class="dd442025 b699646e" @click="focusTextarea">
<div class="fad49dec">
<textarea v-model="message" id="chat-input" class="c92459f0" placeholder="给 DeepSeek 发送消息 "
rows="2" @keyup.enter.prevent="handleEnterPress" ref="textareaRef"></textarea>
<div class="b13855df">
</div>
<div class="ec4f5d61">
<div class="bf38813a">
<div @click="MesdsetQuestionStorp" v-if="!chatHdEnd" role="button" aria-disabled="false" class="f6d670">
<div class="f286936b">
<div class="be24146b"></div>
</div>
</div>
<div class="ec4f5d61">
<div class="bf38813a">
<div @click="MesdsetQuestionStorp" v-if="!chatHdEnd" role="button" aria-disabled="false"
class="f6d670">
<div class="f286936b">
<div class="be24146b"></div>
</div>
<div @click="MesdsetQuestion" v-if="chatHdEnd" role="button" aria-disabled="false" class="f6d670">
<div class="f286936b">
<div class="ds-icon" style="font-size: 16px; width: 16px; height: 16px;"><svg
width="14" height="16" viewBox="0 0 14 16" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M7 16c-.595 0-1.077-.462-1.077-1.032V1.032C5.923.462 6.405 0 7 0s1.077.462 1.077 1.032v13.936C8.077 15.538 7.595 16 7 16z"
fill="currentColor"></path>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M.315 7.44a1.002 1.002 0 0 1 0-1.46L6.238.302a1.11 1.11 0 0 1 1.523 0c.421.403.421 1.057 0 1.46L1.838 7.44a1.11 1.11 0 0 1-1.523 0z"
fill="currentColor"></path>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M13.685 7.44a1.11 1.11 0 0 1-1.523 0L6.238 1.762a1.002 1.002 0 0 1 0-1.46 1.11 1.11 0 0 1 1.523 0l5.924 5.678c.42.403.42 1.056 0 1.46z"
fill="currentColor"></path>
</svg></div>
</div>
</div>
<div @click="MesdsetQuestion" v-if="chatHdEnd" role="button" aria-disabled="false"
class="f6d670">
<div class="f286936b">
<div class="ds-icon" style="font-size: 16px; width: 16px; height: 16px;"><svg width="14"
height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M7 16c-.595 0-1.077-.462-1.077-1.032V1.032C5.923.462 6.405 0 7 0s1.077.462 1.077 1.032v13.936C8.077 15.538 7.595 16 7 16z"
fill="currentColor"></path>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M.315 7.44a1.002 1.002 0 0 1 0-1.46L6.238.302a1.11 1.11 0 0 1 1.523 0c.421.403.421 1.057 0 1.46L1.838 7.44a1.11 1.11 0 0 1-1.523 0z"
fill="currentColor"></path>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M13.685 7.44a1.11 1.11 0 0 1-1.523 0L6.238 1.762a1.002 1.002 0 0 1 0-1.46 1.11 1.11 0 0 1 1.523 0l5.924 5.678c.42.403.42 1.056 0 1.46z"
fill="currentColor"></path>
</svg></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="fcaa63f8">内容由 AI 生成请仔细甄别</div>
<div class="fcaa63f8" style="margin-top: 60px;font-size: 16px;font-weight: 600;display: flex; align-items: center; gap: 30px;color: #1A9BFF;">
<div>支持单位</div>
</div>
<div class="fcaa63f8">内容由 AI 生成请仔细甄别</div>
<div class="fcaa63f8" style="margin-top: 60px;font-size: 16px;font-weight: 600;color: #1A9BFF;">
<div style="margin-bottom: 20px;">支持单位</div>
<div class="support-units">
<div>洛阳市行政审批和政务信息管理局</div>
<div>洛阳国晟投资控股集团有限公司</div>
<div>洛阳弘义公用事业投资发展集团有限公司</div>
@ -199,11 +215,10 @@
</template>
<script setup lang="ts">
import { reactive, ref, onUnmounted, nextTick, onMounted } from 'vue'
import { setQuestion, getQuestion } from "@/api/index";
import { marked } from 'marked';
import { useMessage } from 'naive-ui'
import { getQuestion, setQuestion } from "@/api/index";
import "highlight.js/styles/monokai-sublime.css";
import { marked } from 'marked';
import { computed, nextTick, onMounted, onUnmounted, reactive, ref } from 'vue';
const Nevkey = ref('');
const showList = ref(false);
const message = ref('');
@ -219,45 +234,48 @@ const userScrolled = ref(false);
const chatHdEnd = ref(true);
//
const scrollToBottom = async () => {
//
if (userScrolled.value) return;
await nextTick();
setTimeout(() => {
if (chatContainerRef.value) {
const container = chatContainerRef.value;
const container = chatContainerRef.value;
//
if (container && (!userScrolled.value || chatHdEnd.value)) {
container.scrollTop = container.scrollHeight;
}
}, 100);
};
onMounted(()=>{
Nevkey.value = Date.now().toString();
})
//
const handleScroll = (event) => {
const container = event.target;
const isScrolledToBottom = container.scrollHeight - container.scrollTop < container.clientHeight;
const handleScroll = (event: WheelEvent) => {
const container = event.currentTarget as HTMLElement;
const isAtBottom = Math.abs(container.scrollHeight - container.scrollTop - container.clientHeight) < 50;
console.log(container.scrollHeight - container.scrollTop - container.clientHeight);
//
if (!isScrolledToBottom) {
// ,
if (!isAtBottom) {
userScrolled.value = true;
}
//
if (isScrolledToBottom) {
} else {
userScrolled.value = false;
}
};
onMounted(() => {
Nevkey.value = Date.now().toString();
})
//
const getQuestionList = () => {
if (storp.value == true) {
storp.value = false;
chatHdEnd.value = true;
return;
}
const index = paramMsg.value.length - 1;
if (paramMsg.value[index].role != 'assistant') {
paramMsg.value.push({ role: 'assistant', sk: '', content: '', skLong: true });
paramMsg.value.push({ role: 'assistant', sk: '', content: '', skLong: false, msgCode: 1 });
}
if (paramMsg.value[index].msgCode == 0) {
storp.value = false;
chatHdEnd.value = true;
return;
}
getQuestion({ 'key': Nevkey.value, 'page': page.page, 'limit': page.limit }).then(res => {
if (res.code == 1) {
@ -267,8 +285,10 @@ const getQuestionList = () => {
processedIds.value.add(item.id);
const lastIndex = paramMsg.value.length - 1;
if (item.reasoning == 1) {
paramMsg.value[lastIndex].skLong = true;
paramMsg.value[lastIndex].sk += item.content;
} else {
//paramMsg.value[lastIndex].sk = '';
paramMsg.value[lastIndex].skLong = false;
paramMsg.value[lastIndex].content += item.content;
}
@ -280,7 +300,7 @@ const getQuestionList = () => {
chatHdEnd.value = true;
return;
}
scrollToBottom();
scrollToBottom(); //
}
if (res.data.list.length == page.limit) {
page.page++;
@ -293,10 +313,8 @@ const getQuestionList = () => {
}
const storp = ref(false);
//
const MesdsetQuestion = () => {
if (!message.value || message.value.trim() === '') return
console.log(chatHdEnd.value);
if (chatHdEnd.value == true) {
@ -309,19 +327,29 @@ const MesdsetQuestion = () => {
message.value = '';
chatHdEnd.value = false;
userScrolled.value = false;
let lastElement = paramMsg.value.at(-1);
if (lastElement.role == 'assistant' && lastElement.content == '') {
paramMsg.value.pop();
}
scrollToBottom(); //
setQuestion({ 'key': Nevkey.value, 'messages': JSON.stringify(paramMsg.value) }).then(res => {
console.log(res);
if (res.code == 0) {
const lastIndex = paramMsg.value.length - 1;
paramMsg.value[lastIndex].skLong = false;
paramMsg.value[lastIndex].msgCode = 0;
}
});
getQuestionList();
}
}
const MesdsetQuestionStorp=()=>{
storp.value=true;
paramMsg.value=[];
chatHdEnd.value = true;
showList.value=false;
const MesdsetQuestionStorp = () => {
window.location.reload();
// storp.value = true;
// paramMsg.value = [];
// chatHdEnd.value = true;
// showList.value = false;
// const lIndex = paramMsg.value.length - 1;
// paramMsg.value[lIndex].skLong = false;
}
@ -334,6 +362,42 @@ const copy = (d) => {
navigator.clipboard.writeText(d);
//AllMessage.success('');
}
//
const getMobileHeight = computed(() => {
//
const isMobile = window.innerWidth <= 768;
//return isMobile ? '30%' : '60%';
return '10%';
});
// script setup
const handleEnterPress = (e: KeyboardEvent) => {
// shift ,
if (e.shiftKey) {
return;
}
//
e.preventDefault();
//
MesdsetQuestion();
};
// script setup
const isNotEmpty = (str: string) => {
return str && str.trim().replace(/[\s\r\n\t]/g, '').length > 0;
}
// script setup :
const textareaRef = ref<HTMLTextAreaElement | null>(null);
const focusTextarea = () => {
if (textareaRef.value) {
textareaRef.value.focus();
}
};
</script>
<style src="@/assets/home.css"></style>
@ -351,4 +415,146 @@ code[class*=language-],
pre[class*=language-] {
color: #000 !important;
}
.support-units {
display: flex;
flex-direction: column;
gap: 15px;
}
@media screen and (min-width: 768px) {
.support-units {
flex-direction: row;
gap: 30px;
}
}
/* 修改输入框容器的样式 */
.cbcaa82c {
position: sticky;
bottom: 0;
/* 移动端默认值 */
background: #fff;
z-index: 10;
padding: 16px;
margin-top: auto;
}
/* PC端的底部间距调整 */
@media screen and (min-width: 769px) {
.cbcaa82c {
bottom: 0px;
/* PC端的底部间距 */
}
}
/* 移动端的底部间距保持为0 */
@media screen and (max-width: 768px) {
.cbcaa82c {
bottom: 0;
}
}
/* 确保聊天内容区域可以正常滚动 */
.f6004764 {
display: flex;
flex-direction: column;
height: 100%;
overflow-y: auto;
}
/* 聊天内容容器样式 */
.f72b0bab {
flex: 1;
overflow-y: auto;
padding-bottom: 20px;
/* 添加底部padding防止内容被输入框遮挡 */
}
/* 调整欢迎内容与顶部的距离 - 基础样式 */
.a85a674a {
padding-top: 10px;
/* 减少默认的顶部padding */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 150px;
/* 减少最小高度 */
}
/* PC端的样式调整 */
@media screen and (min-width: 769px) {
.a85a674a {
padding-top: 5px;
/* PC端更小的顶部间距 */
min-height: 120px;
/* PC端更小的最小高度 */
}
.c7e7df4d {
margin-bottom: 12px;
/* PC端更小的底部间距 */
}
.a8d0e1d3 {
margin-top: 6px;
/* PC端更小的顶部间距 */
}
}
/* 移动端的样式保持原样 */
@media screen and (max-width: 768px) {
.a85a674a {
padding-top: 20px;
min-height: 200px;
}
}
/* 调整欢迎文字的样式 */
.c7e7df4d {
margin-bottom: 16px;
/* 减少底部间距 */
font-size: 18px;
font-weight: 500;
}
.a85a674a .c7e7df4d {
margin-top: 100px;
}
/* 调整描述文字的样式 */
.a8d0e1d3 {
margin-top: 8px;
/* 减少与上方内容的间距 */
color: #666;
}
/* ... existing code ... */
/* 自定义滚动条样式 */
.dad65929::-webkit-scrollbar {
width: 1px; /* 滚动条宽度 */
height: 1px; /* 滚动条高度 */
}
.dad65929::-webkit-scrollbar-track {
background: #f1f1f1; /* 滚动条轨道背景颜色 */
border-radius: 1px; /* 轨道圆角 */
}
.dad65929::-webkit-scrollbar-thumb {
background: #888; /* 滚动条滑块颜色 */
border-radius: 1px; /* 滑块圆角 */
}
.dad65929::-webkit-scrollbar-thumb:hover {
background: #555; /* 鼠标悬停时滑块颜色 */
}
/* 兼容 Firefox */
.dad65929 {
scrollbar-width: thin; /* 滚动条宽度 */
scrollbar-color: #888 #f1f1f1; /* 滑块颜色和轨道颜色 */
}
</style>

View File

@ -8,7 +8,7 @@
<!-- 中间内容区域 -->
<div class="content-wrapper">
<div class="start-chat-btn" >
<button class="chat-btn" @click="startChat" style="width: 450px;">
<button class="chat-btn" @click="startChat" >
<div style="font-size: 20px;font-weight: 600;color: #4D6BFE;">开始对话</div>
<div class="sub-text">
<span>免费与 DeepSeek-R1 对话</span>
@ -19,49 +19,49 @@
</div>
<!-- 添加底部区域 -->
</div>
<div style="height: 800px;"></div>
<div style="height: 400px;"></div>
<div class="footer">
<div class="footer-content">
<div class="info-columns">
<div class="info-column">
<div class="title">研究</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="title">洛阳市行政审批和政务信息管理局</div>
<!-- <div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div> -->
</div>
<div class="info-column">
<div class="title">研究</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="title">洛阳国晟投资控股集团有限公司</div>
<!-- <div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div> -->
</div>
<div class="info-column">
<div class="title">研究</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="title">洛阳弘义公用事业投资发展集团有限公司</div>
<!-- <div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div> -->
</div>
<div class="info-column">
<div class="title">研究</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="title">洛阳弘义智慧城市建设服务有限公司</div>
<!-- <div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div>
<div class="item">XXXXXXXXXX</div> -->
</div>
</div>
@ -70,8 +70,7 @@
<img src="@/assets/loog.png" alt="公司logo">
</div>
<div class="contact-info">
<div style="word-break: break-all;">© 2025 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX有限公司</div>
<div>版权所有</div>
<div style="word-break: break-all;">© 2025 有限公司 版权所有</div>
</div>
<div class="qr-codes">
<div class="qr-code">
@ -81,8 +80,8 @@
<img src="@/assets/ai-logo.png" alt="二维码1">
</div>
</div>
<div class="contact-info">网站备案号豫ICP备2023000045-1</div>
<div class="contact-info" style="margin-top: 10px;">豫公网安备 33010502011812 </div>
<div class="contact-info">网站备案号豫ICP备xxxxxxxx-1</div>
<div class="contact-info" style="margin-top: 10px;">豫公网安备 xxxxxxxxx </div>
</div>
</div>
</div>
@ -109,13 +108,19 @@ const startChat = () => {
.company-title {
font-size: 60px;
color: #4D6BFE;
text-align: center;
padding: 40px 0;
position: relative;
font-weight: 600;
top: 150px;
z-index: 1;
color: #4D6BFE;
text-align: center;
padding: 40px 20px;
position: relative;
font-weight: 600;
top: 150px;
z-index: 1;
@media screen and (max-width: 768px) {
font-size: 32px;
top: 100px;
padding: 20px;
}
}
.content-wrapper {
@ -126,6 +131,11 @@ const startChat = () => {
padding: 40px 0;
min-height: 400px;
margin-top: 80px;
@media screen and (max-width: 768px) {
margin-top: 40px;
padding: 20px;
}
}
.start-chat-btn {
@ -139,11 +149,16 @@ const startChat = () => {
cursor: pointer;
box-shadow: 0px 4px 13px 0px rgba(0,0,0,0.1);
transition: all 0.3s;
width: 450px;
&:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
@media screen and (max-width: 768px) {
width: 100% !important;
padding: 20px;
}
}
.sub-text {
@ -154,6 +169,10 @@ const startChat = () => {
flex-direction: column;
align-items: center;
gap: 4px;
@media screen and (max-width: 768px) {
font-size: 14px;
}
}
}
@ -161,20 +180,31 @@ const startChat = () => {
padding: 40px 0;
width: 100%;
z-index: 1;
.footer-content {
display: flex;
justify-content: center;
max-width: 1200px;
align-items: center;
margin: 0 auto;
padding: 0 20px;
@media screen and (max-width: 768px) {
flex-direction: column;
padding: 0 20px;
}
}
.info-columns {
display: flex;
gap: 100px;
gap: 80px;
margin-right: 40px;
@media screen and (max-width: 768px) {
flex-direction: column;
gap: 30px;
margin-right: 0;
}
.info-column {
.title {
font-size: 16px;
@ -193,6 +223,15 @@ const startChat = () => {
color: #4D6BFE;
}
}
@media screen and (max-width: 768px) {
text-align: center;
.title {
font-size: 14px;
margin-bottom: 10px;
}
}
}
}
@ -233,6 +272,22 @@ const startChat = () => {
}
}
}
@media screen and (max-width: 768px) {
width: 100%;
margin-left: 0;
margin-top: 40px;
text-align: center;
.logo {
display: flex;
justify-content: center;
}
.qr-codes {
justify-content: center;
}
}
}
}
</style>