| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <!--
- * @Description: 首页
- * @Author: zhuoda
- * @Date: 2021-08-03
- * @LastEditTime: 2022-06-23
- * @LastEditors: zhuoda
- -->
- <!doctype html>
- <html lang="en" id="htmlRoot">
- <head>
- <meta charset="UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
- <meta name="renderer" content="webkit"/>
- <meta name="viewport"
- content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
- <title>%VITE_APP_TITLE%</title>
- <link rel="icon" href="/favicon.ico"/>
- <!-- 引入钉钉文件 -->
- <script src="https://g.alicdn.com/dingding/dinglogin/0.0.5/ddLogin.js"></script>
- </head>
- <body>
- <div id="app"></div>
- <script type="module" src="/src/main.js"></script>
- <!--<link rel="stylesheet" crossorigin href="https://g.alicdn.com/aliyun-documentation/web-chatbot-ui/0.0.16/index.css"/>-->
- <!--<script type="module" crossorigin-->
- <!-- src="https://g.alicdn.com/aliyun-documentation/web-chatbot-ui/0.0.16/index.js"></script>-->
- <script>
- // window.CHATBOT_CONFIG = {
- // endpoint: 'https://web-chatbot-syz-sreocqjwnr.cn-hangzhou.fcapp.run/chat',
- // displayByDefault: false,
- // aiChatOptions: {
- // conversationOptions: {
- // conversationStarters: [
- // {prompt: 'IT需求提报怎么提?'},
- // {prompt: '信息化专员的职责是什么?'},
- // {prompt: '需求的优先级如何划分?'},
- // {prompt: '公司的考勤制度是什么?'},
- // {prompt: '补卡的期限是如何规定的?'},
- // {prompt: '旷工扣几倍工资?'},
- // ],
- // },
- // displayOptions: {
- // height: 600,
- // },
- // personaOptions: {
- // assistant: {
- // name: '你好,我是德才云AI助手',
- // avatar: 'https://img.alicdn.com/imgextra/i2/O1CN01Pda9nq1YDV0mnZ31H_!!6000000003025-54-tps-120-120.apng',
- // tagline: '这些问题被提问的最多:',
- // },
- // },
- // messageOptions: {
- // waitTimeBeforeStreamCompletion: 'never',
- // },
- // },
- // dataProcessor: {
- // rewritePrompt(prompt) {
- // return prompt;
- // },
- // },
- // };
- </script>
- <style>
- :root {
- --webchat-toolbar-background-color: #1677ff;
- --webchat-toolbar-text-color: #fff;
- }
- /* webchat 对话框如果被遮挡,可以尝试通过 z-index、bottom、right 等设置 来调整*/
- .webchat-container {
- z-index: 100;
- bottom: 10px;
- right: 10px;
- }
- /* webchat 的唤起按钮如果被遮挡,可以尝试通过 z-index、bottom、right 等设置 来调整。也可以通过 CSS 进一步定制唤起按钮的形状、大小等。 */
- .webchat-bubble-tip {
- z-index: 99;
- bottom: 20px;
- right: 20px;
- }
- </style>
- </body>
- </html>
|