178 lines
5.8 KiB
HTML
Executable File
178 lines
5.8 KiB
HTML
Executable File
<!--
|
|
/*!
|
|
|
|
=========================================================
|
|
* Argon Dashboard Chakra PRO - v1.0.0
|
|
=========================================================
|
|
|
|
* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro
|
|
* Copyright 2022 Creative Tim (https://www.creative-tim.com/)
|
|
|
|
* Designed and Coded by Simmmple & Creative Tim
|
|
|
|
=========================================================
|
|
|
|
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
|
|
*/
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html lang="en" dir="ltr" layout="admin">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
|
/>
|
|
<meta name="theme-color" content="#000000" />
|
|
<!--
|
|
manifest.json provides metadata used when your web app is added to the
|
|
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
|
-->
|
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.png" />
|
|
<link
|
|
rel="apple-touch-icon"
|
|
sizes="76x76"
|
|
href="%PUBLIC_URL%/apple-icon.png"
|
|
/>
|
|
|
|
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="./favicon.png" />
|
|
|
|
<!--
|
|
Notice the use of %PUBLIC_URL% in the tags above.
|
|
It will be replaced with the URL of the `public` folder during the build.
|
|
Only files inside the `public` folder can be referenced from the HTML.
|
|
|
|
Unlike "/favicon.png" or "favicon.png", "%PUBLIC_URL%/favicon.png" will
|
|
work correctly both with client-side routing and a non-root public URL.
|
|
Learn how to configure a non-root public URL by running `npm run build`.
|
|
-->
|
|
<title>价值前沿——LLM赋能的分析平台</title>
|
|
</head>
|
|
<body>
|
|
<noscript> You need to enable JavaScript to run this app. </noscript>
|
|
<div id="root"></div>
|
|
<!--
|
|
This HTML file is a template.
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
-->
|
|
<script>
|
|
window.difyChatbotConfig = {
|
|
token: 'DwN8qAKtYFQtWskM',
|
|
baseUrl: 'https://app.valuefrontier.cn',
|
|
inputs: {
|
|
// You can define the inputs from the Start node here
|
|
// key is the variable name
|
|
// e.g.
|
|
// name: "NAME"
|
|
},
|
|
systemVariables: {
|
|
// user_id: 'YOU CAN DEFINE USER ID HERE',
|
|
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
|
|
},
|
|
userVariables: {
|
|
// avatar_url: 'YOU CAN DEFINE USER AVATAR URL HERE',
|
|
// name: 'YOU CAN DEFINE USER NAME HERE',
|
|
},
|
|
}
|
|
</script>
|
|
<script
|
|
src="https://app.valuefrontier.cn/embed.min.js"
|
|
id="DwN8qAKtYFQtWskM"
|
|
defer>
|
|
</script>
|
|
<style>
|
|
#dify-chatbot-bubble-button {
|
|
background-color: #1C64F2 !important;
|
|
width: 60px !important;
|
|
height: 60px !important;
|
|
box-shadow: 0 4px 12px rgba(28, 100, 242, 0.3) !important;
|
|
transition: all 0.3s ease !important;
|
|
}
|
|
|
|
#dify-chatbot-bubble-button:hover {
|
|
transform: scale(1.1) !important;
|
|
box-shadow: 0 6px 16px rgba(28, 100, 242, 0.4) !important;
|
|
}
|
|
|
|
#dify-chatbot-bubble-window {
|
|
width: 42rem !important;
|
|
height: 80vh !important;
|
|
max-height: calc(100vh - 2rem) !important;
|
|
position: fixed !important;
|
|
bottom: 100px !important;
|
|
right: 20px !important;
|
|
border-radius: 16px !important;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
|
|
border: 1px solid rgba(28, 100, 242, 0.1) !important;
|
|
z-index: 9999 !important;
|
|
}
|
|
|
|
/* 确保Dify聊天窗口中的超链接正确显示 */
|
|
#dify-chatbot-bubble-window a,
|
|
#dify-chatbot-bubble-window a:link,
|
|
#dify-chatbot-bubble-window a:visited,
|
|
#dify-chatbot-bubble-window a:hover,
|
|
#dify-chatbot-bubble-window a:active {
|
|
color: #1C64F2 !important;
|
|
text-decoration: underline !important;
|
|
cursor: pointer !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
|
|
/* 确保超链接在Dify消息区域中可见 */
|
|
#dify-chatbot-bubble-window .message-content a,
|
|
#dify-chatbot-bubble-window .markdown-content a,
|
|
#dify-chatbot-bubble-window [class*="message"] a {
|
|
color: #0066cc !important;
|
|
text-decoration: underline !important;
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
/* 桌面端大屏优化 */
|
|
@media (min-width: 1440px) {
|
|
#dify-chatbot-bubble-window {
|
|
width: 45rem !important;
|
|
height: 85vh !important;
|
|
}
|
|
}
|
|
|
|
/* 平板端适配 */
|
|
@media (max-width: 1024px) and (min-width: 641px) {
|
|
#dify-chatbot-bubble-window {
|
|
width: 38rem !important;
|
|
height: 75vh !important;
|
|
right: 15px !important;
|
|
bottom: 90px !important;
|
|
}
|
|
}
|
|
|
|
/* 移动端适配 */
|
|
@media (max-width: 640px) {
|
|
#dify-chatbot-bubble-window {
|
|
width: calc(100vw - 20px) !important;
|
|
height: 85vh !important;
|
|
max-height: 85vh !important;
|
|
right: 10px !important;
|
|
bottom: 80px !important;
|
|
left: 10px !important;
|
|
}
|
|
|
|
#dify-chatbot-bubble-button {
|
|
width: 56px !important;
|
|
height: 56px !important;
|
|
}
|
|
}
|
|
</style>
|
|
</body>
|
|
</html>
|