diff --git a/package.json b/package.json index f070ac6..eae55b8 100644 --- a/package.json +++ b/package.json @@ -28,16 +28,17 @@ "@vueuse/core": "^10.11.0", "cropperjs": "^1.6.2", "crypto-js": "^4.2.0", + "echarts": "^5.5.1", "electron-dl-manager": "^3.0.0", "electron-log": "^5.1.7", "electron-store": "8.0.0", "electron-updater": "^6.1.7", "element-plus": "^2.7.6", "fabric": "^5.3.0", + "im_electron_sdk": "^8.0.5904", "js-cookie": "^3.0.5", "jsencrypt": "^3.3.2", "jsondiffpatch": "0.6.0", - "im_electron_sdk": "^8.0.5904", "lodash": "^4.17.21", "pdfjs-dist": "4.4.168", "pinia": "^2.1.7", diff --git a/src/renderer/src/assets/iconfont/iconfont.css b/src/renderer/src/assets/iconfont/iconfont.css index c1fab69..623c98c 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=1724212790213') format('woff2'), - url('iconfont.woff?t=1724212790213') format('woff'), - url('iconfont.ttf?t=1724212790213') format('truetype'), - url('iconfont.svg?t=1724212790213#iconfont') format('svg'); + 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'); } .iconfont { @@ -14,6 +14,34 @@ -moz-osx-font-smoothing: grayscale; } +.icon-saoyisao:before { + content: "\e691"; +} + +.icon-jiaoxuezhiliangfenxi:before { + content: "\e690"; +} + +.icon-jiaoxuejihua:before { + content: "\e7e9"; +} + +.icon-tongji:before { + content: "\e68f"; +} + +.icon-pigai:before { + content: "\e68d"; +} + +.icon-jiaoxuefansi:before { + content: "\e6b2"; +} + +.icon-kaoshi:before { + content: "\e68a"; +} + .icon-yiwen:before { content: "\e687"; } diff --git a/src/renderer/src/assets/iconfont/iconfont.js b/src/renderer/src/assets/iconfont/iconfont.js index 2ad9df4..ec85b94 100644 --- a/src/renderer/src/assets/iconfont/iconfont.js +++ b/src/renderer/src/assets/iconfont/iconfont.js @@ -1 +1 @@ -window._iconfont_svg_string_2794390='',(c=>{var h=(l=(l=document.getElementsByTagName("script"))[l.length-1]).getAttribute("data-injectcss"),l=l.getAttribute("data-disable-injectsvg");if(!l){var a,t,z,p,i,v=function(h,l){l.parentNode.insertBefore(h,l)};if(h&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(h){console&&console.log(h)}}a=function(){var h,l=document.createElement("div");l.innerHTML=c._iconfont_svg_string_2794390,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(h=document.body).firstChild?v(l,h.firstChild):h.appendChild(l))},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,p=c.document,i=!1,d(),p.onreadystatechange=function(){"complete"==p.readyState&&(p.onreadystatechange=null,M())})}function M(){i||(i=!0,z())}function d(){try{p.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 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 diff --git a/src/renderer/src/assets/iconfont/iconfont.json b/src/renderer/src/assets/iconfont/iconfont.json index 30d5f43..872d803 100644 --- a/src/renderer/src/assets/iconfont/iconfont.json +++ b/src/renderer/src/assets/iconfont/iconfont.json @@ -5,6 +5,55 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "12657402", + "name": "资源库", + "font_class": "saoyisao", + "unicode": "e691", + "unicode_decimal": 59025 + }, + { + "icon_id": "6513175", + "name": "教学质量分析", + "font_class": "jiaoxuezhiliangfenxi", + "unicode": "e690", + "unicode_decimal": 59024 + }, + { + "icon_id": "38447338", + "name": "教学计划", + "font_class": "jiaoxuejihua", + "unicode": "e7e9", + "unicode_decimal": 59369 + }, + { + "icon_id": "8455509", + "name": "统计", + "font_class": "tongji", + "unicode": "e68f", + "unicode_decimal": 59023 + }, + { + "icon_id": "5969226", + "name": "批改", + "font_class": "pigai", + "unicode": "e68d", + "unicode_decimal": 59021 + }, + { + "icon_id": "36295514", + "name": "教学反思", + "font_class": "jiaoxuefansi", + "unicode": "e6b2", + "unicode_decimal": 59058 + }, + { + "icon_id": "21088705", + "name": "考试", + "font_class": "kaoshi", + "unicode": "e68a", + "unicode_decimal": 59018 + }, { "icon_id": "20574719", "name": "疑问", diff --git a/src/renderer/src/assets/iconfont/iconfont.svg b/src/renderer/src/assets/iconfont/iconfont.svg index 8201a34..0be4660 100644 --- a/src/renderer/src/assets/iconfont/iconfont.svg +++ b/src/renderer/src/assets/iconfont/iconfont.svg @@ -14,6 +14,20 @@ /> + + + + + + + + + + + + + + diff --git a/src/renderer/src/assets/iconfont/iconfont.ttf b/src/renderer/src/assets/iconfont/iconfont.ttf index 43f8dc3..9e198f4 100644 Binary files a/src/renderer/src/assets/iconfont/iconfont.ttf and b/src/renderer/src/assets/iconfont/iconfont.ttf differ diff --git a/src/renderer/src/assets/iconfont/iconfont.woff b/src/renderer/src/assets/iconfont/iconfont.woff index 9fc1445..8185a5b 100644 Binary files a/src/renderer/src/assets/iconfont/iconfont.woff and b/src/renderer/src/assets/iconfont/iconfont.woff differ diff --git a/src/renderer/src/assets/iconfont/iconfont.woff2 b/src/renderer/src/assets/iconfont/iconfont.woff2 index e1759ea..acbf5ae 100644 Binary files a/src/renderer/src/assets/iconfont/iconfont.woff2 and b/src/renderer/src/assets/iconfont/iconfont.woff2 differ diff --git a/src/renderer/src/assets/images/logo.png b/src/renderer/src/assets/images/logo.png new file mode 100644 index 0000000..45f6e65 Binary files /dev/null and b/src/renderer/src/assets/images/logo.png differ diff --git a/src/renderer/src/layout/components/AppMain.vue b/src/renderer/src/layout/components/AppMain.vue index a526b2f..d9e0681 100644 --- a/src/renderer/src/layout/components/AppMain.vue +++ b/src/renderer/src/layout/components/AppMain.vue @@ -1,13 +1,13 @@