From 3a1cf6224a6b8a2e3ec31e322eb9bfec0b70b0b4 Mon Sep 17 00:00:00 2001 From: lyc Date: Mon, 9 Sep 2024 17:57:08 +0800 Subject: [PATCH] chart --- src/renderer/src/assets/iconfont/iconfont.css | 12 +- src/renderer/src/assets/iconfont/iconfont.js | 2 +- .../src/assets/iconfont/iconfont.json | 7 + src/renderer/src/assets/iconfont/iconfont.svg | 2 + src/renderer/src/assets/iconfont/iconfont.ttf | Bin 80100 -> 80560 bytes .../src/assets/iconfont/iconfont.woff | Bin 49372 -> 49688 bytes .../src/assets/iconfont/iconfont.woff2 | Bin 42284 -> 42532 bytes src/renderer/src/assets/images/ai-01.png | Bin 0 -> 15406 bytes src/renderer/src/assets/images/ai-02.png | Bin 0 -> 2805 bytes src/renderer/src/assets/images/ai-03.png | Bin 0 -> 3812 bytes src/renderer/src/assets/images/ai-04.png | Bin 0 -> 2632 bytes .../src/components/ai-chart/index.vue | 213 ++++++++++++++++++ .../src/components/file-preview/index.vue | 1 - src/renderer/src/layout/index.vue | 2 + 14 files changed, 233 insertions(+), 6 deletions(-) create mode 100644 src/renderer/src/assets/images/ai-01.png create mode 100644 src/renderer/src/assets/images/ai-02.png create mode 100644 src/renderer/src/assets/images/ai-03.png create mode 100644 src/renderer/src/assets/images/ai-04.png create mode 100644 src/renderer/src/components/ai-chart/index.vue diff --git a/src/renderer/src/assets/iconfont/iconfont.css b/src/renderer/src/assets/iconfont/iconfont.css index 623c98c..da8460e 100644 --- a/src/renderer/src/assets/iconfont/iconfont.css +++ b/src/renderer/src/assets/iconfont/iconfont.css @@ -1,9 +1,9 @@ @font-face { font-family: "iconfont"; /* Project id 2794390 */ - src: url('iconfont.woff2?t=1725691484835') format('woff2'), - url('iconfont.woff?t=1725691484835') format('woff'), - url('iconfont.ttf?t=1725691484835') format('truetype'), - url('iconfont.svg?t=1725691484835#iconfont') format('svg'); + src: url('iconfont.woff2?t=1725847033097') format('woff2'), + url('iconfont.woff?t=1725847033097') format('woff'), + url('iconfont.ttf?t=1725847033097') format('truetype'), + url('iconfont.svg?t=1725847033097#iconfont') format('svg'); } .iconfont { @@ -14,6 +14,10 @@ -moz-osx-font-smoothing: grayscale; } +.icon-aijiqiren:before { + content: "\e73c"; +} + .icon-saoyisao:before { content: "\e691"; } diff --git a/src/renderer/src/assets/iconfont/iconfont.js b/src/renderer/src/assets/iconfont/iconfont.js index ec85b94..acf827f 100644 --- a/src/renderer/src/assets/iconfont/iconfont.js +++ b/src/renderer/src/assets/iconfont/iconfont.js @@ -1 +1 @@ -window._iconfont_svg_string_2794390='',(l=>{var h=(c=(c=document.getElementsByTagName("script"))[c.length-1]).getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var a,t,z,i,p,v=function(h,c){c.parentNode.insertBefore(h,c)};if(h&&!l.__iconfont__svg__cssinject__){l.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(h){console&&console.log(h)}}a=function(){var h,c=document.createElement("div");c.innerHTML=l._iconfont_svg_string_2794390,(c=c.getElementsByTagName("svg")[0])&&(c.setAttribute("aria-hidden","true"),c.style.position="absolute",c.style.width=0,c.style.height=0,c.style.overflow="hidden",c=c,(h=document.body).firstChild?v(c,h.firstChild):h.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),a()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(z=a,i=l.document,p=!1,d(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,M())})}function M(){p||(p=!0,z())}function d(){try{i.documentElement.doScroll("left")}catch(h){return void setTimeout(d,50)}M()}})(window); \ No newline at end of file +window._iconfont_svg_string_2794390='',(l=>{var c=(h=(h=document.getElementsByTagName("script"))[h.length-1]).getAttribute("data-injectcss"),h=h.getAttribute("data-disable-injectsvg");if(!h){var a,t,z,i,p,v=function(c,h){h.parentNode.insertBefore(c,h)};if(c&&!l.__iconfont__svg__cssinject__){l.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}a=function(){var c,h=document.createElement("div");h.innerHTML=l._iconfont_svg_string_2794390,(h=h.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",h=h,(c=document.body).firstChild?v(h,c.firstChild):c.appendChild(h))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),a()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(z=a,i=l.document,p=!1,d(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,M())})}function M(){p||(p=!0,z())}function d(){try{i.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}M()}})(window); \ No newline at end of file diff --git a/src/renderer/src/assets/iconfont/iconfont.json b/src/renderer/src/assets/iconfont/iconfont.json index 872d803..1536757 100644 --- a/src/renderer/src/assets/iconfont/iconfont.json +++ b/src/renderer/src/assets/iconfont/iconfont.json @@ -5,6 +5,13 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "34666608", + "name": "ai机器人", + "font_class": "aijiqiren", + "unicode": "e73c", + "unicode_decimal": 59196 + }, { "icon_id": "12657402", "name": "资源库", diff --git a/src/renderer/src/assets/iconfont/iconfont.svg b/src/renderer/src/assets/iconfont/iconfont.svg index 0be4660..4949c8e 100644 --- a/src/renderer/src/assets/iconfont/iconfont.svg +++ b/src/renderer/src/assets/iconfont/iconfont.svg @@ -14,6 +14,8 @@ /> + + diff --git a/src/renderer/src/assets/iconfont/iconfont.ttf b/src/renderer/src/assets/iconfont/iconfont.ttf index 9e198f412be14b967963ff4fb7adf6aa2e57a63c..43ac2dc49d5211f5716ae7d09c32cb7f9355c10a 100644 GIT binary patch delta 4066 zcma*qYfx0@83*wHVPUzmuaR*+L?Z)ee3qv&dR%DK7f_e3`8zDKI|(Qg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