mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
docs: ✏️ 接入 petercatai 聊天助手
This commit is contained in:
parent
2040230064
commit
34f02997dd
@ -1,2 +1,3 @@
|
|||||||
babel.config.js
|
babel.config.js
|
||||||
src/uni_modules/mp-html/*
|
src/uni_modules/mp-html/*
|
||||||
|
docs/public/*
|
||||||
@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: weisheng
|
* @Author: weisheng
|
||||||
* @Date: 2023-07-27 10:26:09
|
* @Date: 2023-07-27 10:26:09
|
||||||
* @LastEditTime: 2025-02-27 12:47:41
|
* @LastEditTime: 2025-03-19 18:53:23
|
||||||
* @LastEditors: weisheng
|
* @LastEditors: weisheng
|
||||||
* @Description:
|
* @Description:
|
||||||
* @FilePath: \wot-design-uni\docs\.vitepress\config.mts
|
* @FilePath: /wot-design-uni/docs/.vitepress/config.mts
|
||||||
* 记得注释
|
* 记得注释
|
||||||
*/
|
*/
|
||||||
import { defineConfig } from 'vitepress';
|
import { defineConfig } from 'vitepress';
|
||||||
@ -66,8 +66,25 @@ export default defineConfig({
|
|||||||
description: '一个参照wot-design打造的uni-app组件库',
|
description: '一个参照wot-design打造的uni-app组件库',
|
||||||
head: [
|
head: [
|
||||||
['link', { rel: 'icon', href: '/favicon.ico' }],
|
['link', { rel: 'icon', href: '/favicon.ico' }],
|
||||||
|
['link', { rel: 'stylesheet', href: '/petercatai/assistant.min.css' }],
|
||||||
|
['script', {src: '/petercatai/react.development.js' }],
|
||||||
|
['script', {src: '/petercatai/react-dom.development.js' }],
|
||||||
|
['script', {src: '/petercatai/dayjs.min.js' }],
|
||||||
|
['script', {src: '/petercatai/antd.js' }],
|
||||||
|
['script', {src: '/petercatai/lottie.js' }],
|
||||||
|
['script', {src: '/petercatai/assistant.min.js' }],
|
||||||
['script', {}, `
|
['script', {}, `
|
||||||
!function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"3J4q4tM6fN0n1fbZ",ck:"3J4q4tM6fN0n1fbZ"});
|
!function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"3J4q4tM6fN0n1fbZ",ck:"3J4q4tM6fN0n1fbZ"});
|
||||||
|
`],
|
||||||
|
['script', {}, `
|
||||||
|
window.onload = function() {
|
||||||
|
PetercatLUI.initAssistant({
|
||||||
|
apiDomain: 'https://api.petercat.ai',
|
||||||
|
token:"d673a0ef-73e3-46ff-9e08-e43eba4548d1",
|
||||||
|
helloMessage:"我可以处理任何 Wot UI 的问题,尽管放马过来~",
|
||||||
|
hideLogo: true,
|
||||||
|
});
|
||||||
|
}
|
||||||
`]
|
`]
|
||||||
],
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
|||||||
117800
docs/public/petercatai/antd.js
Normal file
117800
docs/public/petercatai/antd.js
Normal file
File diff suppressed because it is too large
Load Diff
1
docs/public/petercatai/assistant.min.css
vendored
Normal file
1
docs/public/petercatai/assistant.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
docs/public/petercatai/assistant.min.js
vendored
Normal file
1
docs/public/petercatai/assistant.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
docs/public/petercatai/dayjs.min.js
vendored
Normal file
1
docs/public/petercatai/dayjs.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
20156
docs/public/petercatai/lottie.js
Normal file
20156
docs/public/petercatai/lottie.js
Normal file
File diff suppressed because it is too large
Load Diff
29924
docs/public/petercatai/react-dom.development.js
Normal file
29924
docs/public/petercatai/react-dom.development.js
Normal file
File diff suppressed because it is too large
Load Diff
3343
docs/public/petercatai/react.development.js
Normal file
3343
docs/public/petercatai/react.development.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user