This commit is contained in:
王创世 2025-03-04 17:43:14 +08:00
parent 3cc4f03d08
commit 2714be0bf7
14 changed files with 97 additions and 7126 deletions

File diff suppressed because one or more lines are too long

61
dist/ai-CHrumffn.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
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

Binary file not shown.

6956
dist/index-D76U6LGa.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
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};

View File

@ -1 +0,0 @@
.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}}

42
dist/index.html vendored
View File

@ -1,42 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>title</title>
<meta name="keywords" content="title" />
<meta name="description" content="title" />
<style>
/* 美化整个滚动条 */
::-webkit-scrollbar {
width: 8px; /* 设置滚动条的宽度 */
background-color: #f9f9f9; /* 滚动条的背景颜色 */
}
/* 美化滚动条轨道 */
::-webkit-scrollbar-track {
background: #e1e1e1; /* 轨道的背景颜色 */
border-radius: 10px; /* 轨道的圆角 */
}
/* 美化滚动条的滑块 */
::-webkit-scrollbar-thumb {
background-color: #c1c1c1; /* 滑块的背景颜色 */
border-radius: 10px; /* 滑块的圆角 */
border: 2px solid #ffffff; /* 滑块边框 */
}
/* 当滑块悬停或活动时的样式 */
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8; /* 悬停或活动状态下滑块的背景颜色 */
}
</style>
<script type="module" crossorigin src="/deepseek/index-D76U6LGa.js"></script>
</head>
<body style="margin: 0;">
<div id="app"></div>
</body>
</html>

BIN
dist/lay-D9C2X5W3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 KiB

BIN
dist/loog-D66dCjAh.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

1
dist/vite.svg vendored
View File

@ -1 +0,0 @@
<svg t="1740724129315" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5281" width="200" height="200"><path d="M511.994264 511.994264m-511.994264 0a511.994264 511.994264 0 1 0 1023.988529 0 511.994264 511.994264 0 1 0-1023.988529 0Z" fill="#28176D" p-id="5282"></path><path d="M769.87841 652.183853h-53.444341V522.260992h53.444341zM789.528583 522.260992h-19.650173v129.922861h84.898383V522.260992h-65.24821z" fill="#F8C642" p-id="5283"></path><path d="M772.012054 782.095242h-55.577985V652.172382H772.012054z" fill="#F8C642" p-id="5284"></path><path d="M842.777913 782.095242h-72.910974V652.183853h84.886912v117.923981a11.99888 11.99888 0 0 1-11.975938 11.987408z" fill="#7B49B6" p-id="5285"></path><path d="M836.571992 522.260992H716.434069V392.338132h120.137923z" fill="#FC3A64" p-id="5286"></path><path d="M854.776793 522.260992h-65.24821V392.338132h65.24821z" fill="#FFFFFF" p-id="5287"></path><path d="M348.518131 692.73456l-20.18932 88.95919H169.211736l126.951818-522.14628h224.124391l120.447646 522.157751H483.316253l-20.533455-88.959189z m28.047095-122.48952h58.170477l-28.735367-127.640091z" fill="#F8C642" p-id="5288"></path><path d="M296.163554 259.54747l-22.896524 94.190059H542.014406l-21.726461-94.190059H296.163554z" fill="#7B49B6" p-id="5289"></path><path d="M220.625674 570.24504h214.1215l28.047095 122.48952H190.846427l29.779247-122.48952z" fill="#FC3A64" p-id="5290"></path><path d="M406.000336 442.604949h156.513112l29.435111 127.640091H434.747174l-28.746838-127.640091z" fill="#FFFFFF" p-id="5291"></path><path d="M718.556241 241.893286h134.098379v47.61697H718.556241z" fill="#FC3A64" p-id="5292"></path><path d="M718.556241 288.087826h134.098379v47.61697H718.556241z" fill="#FC3A64" p-id="5293"></path></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -1,43 +1,43 @@
{
"hash": "5b5aeddc",
"configHash": "b7fa4f41",
"hash": "3b8b537d",
"configHash": "efaf0702",
"lockfileHash": "691ad5f6",
"browserHash": "d31dc7ba",
"browserHash": "b9a8b42d",
"optimized": {
"axios": {
"src": "../../axios/index.js",
"file": "axios.js",
"fileHash": "596cc5f7",
"fileHash": "5d93e488",
"needsInterop": false
},
"marked": {
"src": "../../marked/lib/marked.esm.js",
"file": "marked.js",
"fileHash": "9d266fed",
"fileHash": "512f21a8",
"needsInterop": false
},
"naive-ui": {
"src": "../../naive-ui/es/index.mjs",
"file": "naive-ui.js",
"fileHash": "48531eea",
"fileHash": "731a7165",
"needsInterop": false
},
"vue": {
"src": "../../vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "5fca8b08",
"fileHash": "deec5a15",
"needsInterop": false
},
"vue-router": {
"src": "../../vue-router/dist/vue-router.mjs",
"file": "vue-router.js",
"fileHash": "50af2467",
"fileHash": "1482b45d",
"needsInterop": false
},
"vue-wechat-title": {
"src": "../../vue-wechat-title/vue-wechat-title.js",
"file": "vue-wechat-title.js",
"fileHash": "b0f5b871",
"fileHash": "e46e14ea",
"needsInterop": true
}
},

View File

@ -6,8 +6,8 @@
<div class="a5cd95be">
<div class="b83ee326">
<div class="f6004764">
<div class="dad65929" v-if="showList" @wheel="handleScroll" style="flex-grow: 0;margin: 0px auto;overflow: auto;"
ref="chatContainerRef" >
<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"
@ -154,13 +154,14 @@
fill="currentColor"></path>
</svg><span>开启新对话</span></div>
</div>
<div class="cbcaa82c" :style="{ bottom: showList ? '0px' : '200px' }">
<div class="cbcaa82c" :style="{ bottom: getBottomDistance }">
<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>
<textarea v-model="message" id="chat-input" class="c92459f0" placeholder="给 DeepSeek 发送消息 "
rows="2" @keyup.enter.prevent="handleEnterPress" ref="textareaRef"
maxlength="200"></textarea>
<div class="b13855df">
</div>
</div>
@ -198,10 +199,26 @@
<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>
<div>洛阳弘义智慧城市建设服务有限公司</div>
<div>
<a target="_blank" href="https://zwfw.ly.gov.cn/zwdt/lyzwdt/pages/index/index">
洛阳市行政审批和政务信息管理局
</a>
</div>
<div>
<a target="_blank" href="https://www.lygsjt.com/">
洛阳国晟投资控股集团有限公司
</a>
</div>
<div>
<a target="_blank" href="http://www.lyhygysy.com/">
洛阳弘义公用事业投资发展集团有限公司
</a>
</div>
<div>
<a target="_blank" href="http://www.lyzhcs.com/">
洛阳弘义智慧城市建设服务有限公司
</a>
</div>
</div>
</div>
</div>
@ -218,7 +235,7 @@
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';
import { computed, nextTick, onMounted, onUnmounted, reactive, ref, watch } from 'vue';
const Nevkey = ref('');
const showList = ref(false);
const message = ref('');
@ -311,7 +328,23 @@ const getQuestionList = () => {
}
})
}
//
const isWeixinBrowser = computed(() => {
const ua = navigator.userAgent.toLowerCase();
return ua.indexOf('micromessenger') !== -1;
});
//
const isPc = computed(() => {
return window.innerWidth > 768;
});
//
const getBottomDistance = computed(() => {
if (isWeixinBrowser.value) return '50px';
if (!showList.value) {
return isPc.value ? '200px' : '100px';
}
return '0px';
});
const storp = ref(false);
//
const MesdsetQuestion = () => {
@ -327,7 +360,7 @@ const MesdsetQuestion = () => {
message.value = '';
chatHdEnd.value = false;
userScrolled.value = false;
let lastElement = paramMsg.value.at(-1);
let lastElement = paramMsg.value[paramMsg.value.length - 1];
if (lastElement.role == 'assistant' && lastElement.content == '') {
paramMsg.value.pop();
}
@ -530,31 +563,46 @@ pre[class*=language-] {
/* 减少与上方内容的间距 */
color: #666;
}
/* ... existing code ... */
/* 自定义滚动条样式 */
.dad65929::-webkit-scrollbar {
width: 1px; /* 滚动条宽度 */
height: 1px; /* 滚动条高度 */
width: 3px;
/* 滚动条宽度 */
height: 3px;
/* 滚动条高度 */
}
.dad65929::-webkit-scrollbar-track {
background: #f1f1f1; /* 滚动条轨道背景颜色 */
border-radius: 1px; /* 轨道圆角 */
background: #f1f1f1;
/* 滚动条轨道背景颜色 */
border-radius: 5px;
/* 轨道圆角 */
}
.dad65929::-webkit-scrollbar-thumb {
background: #888; /* 滚动条滑块颜色 */
border-radius: 1px; /* 滑块圆角 */
background: #888;
/* 滚动条滑块颜色 */
border-radius: 5px;
/* 滑块圆角 */
}
.dad65929::-webkit-scrollbar-thumb:hover {
background: #555; /* 鼠标悬停时滑块颜色 */
background: #555;
/* 鼠标悬停时滑块颜色 */
}
/* 兼容 Firefox */
.dad65929 {
scrollbar-width: thin; /* 滚动条宽度 */
scrollbar-color: #888 #f1f1f1; /* 滑块颜色和轨道颜色 */
scrollbar-width: thin;
/* 滚动条宽度 */
scrollbar-color: #888 #f1f1f1;
/* 滑块颜色和轨道颜色 */
}
.support-units a {
color: #1A9BFF;
text-decoration: none;
}
</style>

View File

@ -24,44 +24,26 @@
<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="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="title">
<a target="_blank" href="https://zwfw.ly.gov.cn/zwdt/lyzwdt/pages/index/index">洛阳市行政审批和政务信息管理局</a>
</div>
</div>
<div class="info-column">
<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 class="title">
<a target="_blank" href="https://www.lygsjt.com/">洛阳国晟投资控股集团有限公司</a>
</div>
</div>
<div class="info-column">
<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 class="title">
<a target="_blank" href="http://www.lyhygysy.com/">洛阳弘义公用事业投资发展集团有限公司</a>
</div>
</div>
<div class="info-column">
<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 class="title">
<a target="_blank" href="http://www.lyzhcs.com/">
洛阳弘义智慧城市建设服务有限公司
</a>
</div>
</div>
</div>
@ -290,4 +272,9 @@ const startChat = () => {
}
}
}
a{
color: #000;
//线
text-decoration: none;
}
</style>