11/*
22 * @Author : weisheng
33 * @Date : 2023-07-27 10:26:09
4- * @LastEditTime : 2024-05-20 13:18:53
4+ * @LastEditTime : 2024-07-19 13:29:51
55 * @LastEditors : weisheng
66 * @Description :
77 * @FilePath : \wot-design-uni\docs\.vitepress\config.mts
@@ -51,14 +51,8 @@ export default defineConfig({
5151 head : [
5252 [ 'link' , { rel : 'icon' , href : '/favicon.ico' } ] ,
5353 [ 'script' , { } , `
54- var _hmt = _hmt || [];
55- (function() {
56- var hm = document.createElement("script");
57- hm.src = "https://hm.baidu.com/hm.js?18377b8bd73d88647503887f67ccf27f";
58- var s = document.getElementsByTagName("script")[0];
59- s.parentNode.insertBefore(hm, s);
60- })();
61- ` ]
54+ !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"});
55+ ` ]
6256 ] ,
6357 themeConfig : {
6458 logo : '/wot-design.png' ,
@@ -72,7 +66,7 @@ export default defineConfig({
7266 socialLinks : [
7367 { icon : 'github' , link : 'https://github.com/Moonofweisheng/wot-design-uni' } ,
7468 { icon : { svg : '<svg t="1692699544299" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4184" width="200" height="200"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m259.2-569.6H480c-12.8 0-25.6 12.8-25.6 25.6v64c0 12.8 12.8 25.6 25.6 25.6h176c12.8 0 25.6 12.8 25.6 25.6v12.8c0 41.6-35.2 76.8-76.8 76.8h-240c-12.8 0-25.6-12.8-25.6-25.6V416c0-41.6 35.2-76.8 76.8-76.8h355.2c12.8 0 25.6-12.8 25.6-25.6v-64c0-12.8-12.8-25.6-25.6-25.6H416c-105.6 0-188.8 86.4-188.8 188.8V768c0 12.8 12.8 25.6 25.6 25.6h374.4c92.8 0 169.6-76.8 169.6-169.6v-144c0-12.8-12.8-25.6-25.6-25.6z" fill="#6D6D72" p-id="4185"></path></svg>' } , link : "https://gitee.com/fant-mini/wot-design-uni" , ariaLabel : 'Gitee' } ,
75- { icon : { svg : '<svg t="1694688365239" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4048" width="200" height="200"><path d="M980.79827 694.105946c-21.144216-122.796973-109.844757-203.250162-109.844757-203.250162 12.647784-111.477622-33.792-131.26573-33.792-131.26573C827.392 14.668108 530.985514 20.67373 524.730811 20.839784 518.476108 20.67373 222.01427 14.668108 212.300108 359.590054c0 0-46.467459 19.788108-33.819676 131.26573 0 0-88.700541 80.453189-109.817081 203.250162 0 0-11.291676 207.484541 101.403676 25.40627 0 0 25.350919 69.161514 71.790703 131.26573 0 0-83.082378 28.256865-75.997405 101.625081 0 0-2.87827 81.836973 177.401081 76.218811 0 0 126.699243-9.852541 164.753297-63.515676l16.605405 0 0.276757 0 16.633081 0c38.026378 53.635459 164.725622 63.515676 164.725622 63.515676 180.224 5.618162 177.401081-76.218811 177.401081-76.218811 7.029622-73.368216-75.997405-101.625081-75.997405-101.625081 46.439784-62.104216 71.790703-131.26573 71.790703-131.26573C992.034595 901.590486 980.79827 694.105946 980.79827 694.105946z" p-id="4049" fill="#6D6D72"></path></svg>' } , link : "https://qm.qq.com/cgi-bin/qm/qr?k=O1Z3pal6StL39qHtABqR54Tb56igr90O&jump_from=webapi&authKey=MtVWfi/EQbT03wW7tKXv4bmyKYHBHtzI8VewlzSsOdxFjN0wbgNy17np9Z9yC4Z8" , ariaLabel : 'QQ' }
69+ { icon : { svg : '<svg t="1694688365239" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4048" width="200" height="200"><path d="M980.79827 694.105946c-21.144216-122.796973-109.844757-203.250162-109.844757-203.250162 12.647784-111.477622-33.792-131.26573-33.792-131.26573C827.392 14.668108 530.985514 20.67373 524.730811 20.839784 518.476108 20.67373 222.01427 14.668108 212.300108 359.590054c0 0-46.467459 19.788108-33.819676 131.26573 0 0-88.700541 80.453189-109.817081 203.250162 0 0-11.291676 207.484541 101.403676 25.40627 0 0 25.350919 69.161514 71.790703 131.26573 0 0-83.082378 28.256865-75.997405 101.625081 0 0-2.87827 81.836973 177.401081 76.218811 0 0 126.699243-9.852541 164.753297-63.515676l16.605405 0 0.276757 0 16.633081 0c38.026378 53.635459 164.725622 63.515676 164.725622 63.515676 180.224 5.618162 177.401081-76.218811 177.401081-76.218811 7.029622-73.368216-75.997405-101.625081-75.997405-101.625081 46.439784-62.104216 71.790703-131.26573 71.790703-131.26573C992.034595 901.590486 980.79827 694.105946 980.79827 694.105946z" p-id="4049" fill="#6D6D72"></path></svg>' } , link : "/guide/join-group" , ariaLabel : 'QQ' }
7670 ] ,
7771 search : {
7872 provider : 'algolia' ,
@@ -103,9 +97,6 @@ export default defineConfig({
10397 link : '/guide/custom-theme' ,
10498 } ,
10599 {
106- text : '字体' ,
107- link : '/guide/typography' ,
108- } , {
109100 text : '常见问题' ,
110101 link : '/guide/common-problems' ,
111102 } ,
@@ -115,7 +106,10 @@ export default defineConfig({
115106 } , {
116107 text : '更新日志' ,
117108 link : '/guide/changelog' ,
118- } ,
109+ } , {
110+ text : '加群沟通' ,
111+ link : '/guide/join-group' ,
112+ }
119113 ]
120114 } ,
121115 {
@@ -164,10 +158,6 @@ export default defineConfig({
164158 text : '定制主题' ,
165159 link : '/guide/custom-theme' ,
166160 } ,
167- {
168- text : '字体' ,
169- link : '/guide/typography' ,
170- } ,
171161 {
172162 text : '国际化' ,
173163 link : '/guide/locale' ,
@@ -179,7 +169,10 @@ export default defineConfig({
179169 {
180170 text : '更新日志' ,
181171 link : '/guide/changelog' ,
182- } ,
172+ } , {
173+ text : '加群沟通' ,
174+ link : '/guide/join-group' ,
175+ }
183176 ] ,
184177 '/reward/' : [
185178 {
0 commit comments