diff --git a/src/renderer/src/assets/teachingIconFont/iconfont.css b/src/renderer/src/assets/teachingIconFont/iconfont.css new file mode 100644 index 0000000..bdf5187 --- /dev/null +++ b/src/renderer/src/assets/teachingIconFont/iconfont.css @@ -0,0 +1,353 @@ +@font-face { + font-family: "iconfont"; /* Project id 4581405 */ + /* Color fonts */ + src: + url('iconfont.woff2?t=1718185631014') format('woff2'), + url('iconfont.woff?t=1718185631014') format('woff'), + url('iconfont.ttf?t=1718185631014') format('truetype'); +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-iconku-zhuanqu-:before { + content: "\e649"; +} + +.icon-PPT:before { + content: "\e62b"; +} + +.icon-fabiaolunwen:before { + content: "\e772"; +} + +.icon-xiezuo1:before { + content: "\e612"; +} + +.icon-fenxi1:before { + content: "\e627"; +} + +.icon-kechengziyuan:before { + content: "\e6e9"; +} + +.icon-36zuoyepingtai:before { + content: "\e699"; +} + +.icon-shoucang1:before { + content: "\e617"; +} + +.icon-fenxiang:before { + content: "\e60a"; +} + +.icon-zhucetianjiahaoyou:before { + content: "\e8ca"; +} + +.icon-duoqudaojicheng:before { + content: "\e695"; +} + +.icon-yewukaizhan:before { + content: "\e602"; +} + +.icon-fankui1:before { + content: "\e6fa"; +} + +.icon-shezhi:before { + content: "\e60c"; +} + +.icon-chayue:before { + content: "\e605"; +} + +.icon-baogao:before { + content: "\e630"; +} + +.icon-xuekezuhe:before { + content: "\e625"; +} + +.icon-fenxiang1:before { + content: "\eb24"; +} + +.icon-tongzhizhongxin:before { + content: "\eb43"; +} + +.icon-xiajia:before { + content: "\e60f"; +} + +.icon-shengchanguochengguanli:before { + content: "\e629"; +} + +.icon-kejian:before { + content: "\e64a"; +} + +.icon-liulan:before { + content: "\e648"; +} + +.icon-fabiao:before { + content: "\e654"; +} + +.icon-kecheng:before { + content: "\e609"; +} + +.icon-bianji:before { + content: "\e608"; +} + +.icon-pingjia:before { + content: "\e628"; +} + +.icon-zonghezhenduan:before { + content: "\e6a0"; +} + +.icon-banji:before { + content: "\e71e"; +} + +.icon-tousuyujianyi:before { + content: "\e729"; +} + +.icon-jiaoliu:before { + content: "\e6b8"; +} + +.icon-pingyi:before { + content: "\e79a"; +} + +.icon-xueqingfenxi:before { + content: "\e67a"; +} + +.icon-check:before { + content: "\e622"; +} + +.icon-upload:before { + content: "\e634"; +} + +.icon-taolun:before { + content: "\e61e"; +} + +.icon-tujing:before { + content: "\e947"; +} + +.icon-zixun:before { + content: "\e6b3"; +} + +.icon-liulan1:before { + content: "\e6b4"; +} + +.icon-yaosu:before { + content: "\e68c"; +} + +.icon-baogao1:before { + content: "\e62d"; +} + +.icon-shoucang:before { + content: "\e60d"; +} + +.icon-shenhe:before { + content: "\e616"; +} + +.icon-w_duoxuanti:before { + content: "\e669"; +} + +.icon-fenxi:before { + content: "\e76d"; +} + +.icon-kanshu:before { + content: "\e614"; +} + +.icon-qwe:before { + content: "\e603"; +} + +.icon-jiancha:before { + content: "\e6c1"; +} + +.icon-qunzu:before { + content: "\e606"; +} + +.icon-zuopin:before { + content: "\e6a9"; +} + +.icon-shuyi_jiaoxueguanli:before { + content: "\e65f"; +} + +.icon-liangsuan:before { + content: "\e657"; +} + +.icon-business-report:before { + content: "\e880"; +} + +.icon-xiangmupingshen:before { + content: "\e742"; +} + +.icon-xiangmushenbao:before { + content: "\e743"; +} + +.icon-xiajia1:before { + content: "\e623"; +} + +.icon-a-fenxiang2:before { + content: "\e626"; +} + +.icon-icon_kaoshifenxi:before { + content: "\e6d3"; +} + +.icon-a-ketangshilu1:before { + content: "\e610"; +} + +.icon-tubiao_moshileixingpeizhi:before { + content: "\e62a"; +} + +.icon-xiezuo:before { + content: "\e611"; +} + +.icon-buzhi:before { + content: "\e607"; +} + +.icon-ziyuanfenxi:before { + content: "\e631"; +} + +.icon-fankui:before { + content: "\e738"; +} + +.icon-tiku:before { + content: "\e621"; +} + +.icon-ldc-position:before { + content: "\e63a"; +} + +.icon-sucai:before { + content: "\e620"; +} + +.icon-pengyou:before { + content: "\e61a"; +} + +.icon-zuoye:before { + content: "\e61c"; +} + +.icon-jiaoxuefenxi:before { + content: "\e600"; +} + +.icon-wenjianjia:before { + content: "\ec17"; +} + +.icon-jiaoxueyanxiu:before { + content: "\e60b"; +} + +.icon-jiaoxuesheji:before { + content: "\e604"; +} + +.icon-zhuanyeziyuanku:before { + content: "\e64f"; +} + +.icon-pengyouquan:before { + content: "\e615"; +} + +.icon-dangqianhuihua:before { + content: "\e663"; +} + +.icon-yanjiushi:before { + content: "\e601"; +} + +.icon-gongzuotai:before { + content: "\e66b"; +} + +.icon-lunwen:before { + content: "\e60e"; +} + +.icon-decheng_xianshangxuexi:before { + content: "\e624"; +} + +.icon-jitibeike-:before { + content: "\e65b"; +} + +.icon-keti:before { + content: "\e6fe"; +} + +.icon-pengyouquan1:before { + content: "\e635"; +} + +.icon-beike:before { + content: "\e61b"; +} + diff --git a/src/renderer/src/assets/teachingIconFont/iconfont.js b/src/renderer/src/assets/teachingIconFont/iconfont.js new file mode 100644 index 0000000..63c50b9 --- /dev/null +++ b/src/renderer/src/assets/teachingIconFont/iconfont.js @@ -0,0 +1 @@ +window._iconfont_svg_string_4581405='',function(h){var c=(c=document.getElementsByTagName("script"))[c.length-1],l=c.getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var t,a,i,e,o,z=function(c,l){l.parentNode.insertBefore(c,l)};if(l&&!h.__iconfont__svg__cssinject__){h.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}t=function(){var c,l=document.createElement("div");l.innerHTML=h._iconfont_svg_string_4581405,(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,(c=document.body).firstChild?z(l,c.firstChild):c.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),t()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(i=t,e=h.document,o=!1,v(),e.onreadystatechange=function(){"complete"==e.readyState&&(e.onreadystatechange=null,d())})}function d(){o||(o=!0,i())}function v(){try{e.documentElement.doScroll("left")}catch(c){return void setTimeout(v,50)}d()}}(window); diff --git a/src/renderer/src/assets/teachingIconFont/iconfont.json b/src/renderer/src/assets/teachingIconFont/iconfont.json new file mode 100644 index 0000000..ba3ef7c --- /dev/null +++ b/src/renderer/src/assets/teachingIconFont/iconfont.json @@ -0,0 +1,156 @@ +{ + "id": "4581405", + "name": "AIX教师端", + "font_family": "iconfont", + "css_prefix_text": "icon-", + "description": "", + "glyphs": [ + { + "icon_id": "577336", + "name": "反馈", + "font_class": "fankui", + "unicode": "e738", + "unicode_decimal": 59192 + }, + { + "icon_id": "1447760", + "name": "题库", + "font_class": "tiku", + "unicode": "e621", + "unicode_decimal": 58913 + }, + { + "icon_id": "1837440", + "name": "ldc-position", + "font_class": "ldc-position", + "unicode": "e63a", + "unicode_decimal": 58938 + }, + { + "icon_id": "4138813", + "name": "素材", + "font_class": "sucai", + "unicode": "e620", + "unicode_decimal": 58912 + }, + { + "icon_id": "4166140", + "name": "朋友", + "font_class": "pengyou", + "unicode": "e61a", + "unicode_decimal": 58906 + }, + { + "icon_id": "4310077", + "name": "作业", + "font_class": "zuoye", + "unicode": "e61c", + "unicode_decimal": 58908 + }, + { + "icon_id": "4686996", + "name": "教学分析", + "font_class": "jiaoxuefenxi", + "unicode": "e600", + "unicode_decimal": 58880 + }, + { + "icon_id": "4893191", + "name": "文件夹", + "font_class": "wenjianjia", + "unicode": "ec17", + "unicode_decimal": 60439 + }, + { + "icon_id": "5838892", + "name": "教学研修", + "font_class": "jiaoxueyanxiu", + "unicode": "e60b", + "unicode_decimal": 58891 + }, + { + "icon_id": "5931005", + "name": "教学设计", + "font_class": "jiaoxuesheji", + "unicode": "e604", + "unicode_decimal": 58884 + }, + { + "icon_id": "6360457", + "name": "专业资源库", + "font_class": "zhuanyeziyuanku", + "unicode": "e64f", + "unicode_decimal": 58959 + }, + { + "icon_id": "6556747", + "name": "朋友圈", + "font_class": "pengyouquan", + "unicode": "e615", + "unicode_decimal": 58901 + }, + { + "icon_id": "6992598", + "name": "当前会话", + "font_class": "dangqianhuihua", + "unicode": "e663", + "unicode_decimal": 58979 + }, + { + "icon_id": "7327280", + "name": "研究室", + "font_class": "yanjiushi", + "unicode": "e601", + "unicode_decimal": 58881 + }, + { + "icon_id": "7905547", + "name": "工作台", + "font_class": "gongzuotai", + "unicode": "e66b", + "unicode_decimal": 58987 + }, + { + "icon_id": "9023128", + "name": "论文", + "font_class": "lunwen", + "unicode": "e60e", + "unicode_decimal": 58894 + }, + { + "icon_id": "10130330", + "name": "德诚_线上学习001", + "font_class": "decheng_xianshangxuexi", + "unicode": "e624", + "unicode_decimal": 58916 + }, + { + "icon_id": "10493421", + "name": "集体备课", + "font_class": "jitibeike-", + "unicode": "e65b", + "unicode_decimal": 58971 + }, + { + "icon_id": "13228302", + "name": "课题", + "font_class": "keti", + "unicode": "e6fe", + "unicode_decimal": 59134 + }, + { + "icon_id": "16364339", + "name": "朋友圈", + "font_class": "pengyouquan1", + "unicode": "e635", + "unicode_decimal": 58933 + }, + { + "icon_id": "37075078", + "name": "备课", + "font_class": "beike", + "unicode": "e61b", + "unicode_decimal": 58907 + } + ] +} diff --git a/src/renderer/src/assets/teachingIconFont/iconfont.ttf b/src/renderer/src/assets/teachingIconFont/iconfont.ttf new file mode 100644 index 0000000..3146925 Binary files /dev/null and b/src/renderer/src/assets/teachingIconFont/iconfont.ttf differ diff --git a/src/renderer/src/assets/teachingIconFont/iconfont.woff b/src/renderer/src/assets/teachingIconFont/iconfont.woff new file mode 100644 index 0000000..d0755d2 Binary files /dev/null and b/src/renderer/src/assets/teachingIconFont/iconfont.woff differ diff --git a/src/renderer/src/assets/teachingIconFont/iconfont.woff2 b/src/renderer/src/assets/teachingIconFont/iconfont.woff2 new file mode 100644 index 0000000..23519bc Binary files /dev/null and b/src/renderer/src/assets/teachingIconFont/iconfont.woff2 differ diff --git a/src/renderer/src/layout/components/Header.vue b/src/renderer/src/layout/components/Header.vue index 4c30765..da00357 100644 --- a/src/renderer/src/layout/components/Header.vue +++ b/src/renderer/src/layout/components/Header.vue @@ -51,6 +51,11 @@ const router = useRouter() const currentRoute = ref('') const menus = ref([ + { + icon: 'icon-jiaoxueziyuan icon-resource', + name: '主页', + path: '/homepage' + }, { icon: 'icon-jiaoxueziyuan icon-resource', name: '资源', diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index d6f641e..e2dc96e 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -15,6 +15,12 @@ export const constantRoutes = [ component: Layout, redirect: '/resource', children: [ + { + path: '/homepage', + component: () => import('@/views/homePage/index.vue'), + name: 'homepage', + meta: {title: '主页'} + }, { path: '/resource', component: () => import('@/views/resource/index.vue'), diff --git a/src/renderer/src/views/homePage/index.vue b/src/renderer/src/views/homePage/index.vue new file mode 100644 index 0000000..571700f --- /dev/null +++ b/src/renderer/src/views/homePage/index.vue @@ -0,0 +1,471 @@ + + + + + + + + + {{itemFirst.name}} + + + + + + + + + + + {{ itemThird.name }} + + + + + + + + {{ itemSec.name }} + + + + + + + + + + + + + + + +