diff --git a/src/main/index.js b/src/main/index.js index 639d237..18df801 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -88,7 +88,7 @@ function createLoginWindow() { function createMainWindow() { mainWindow = new BrowserWindow({ width: 1350, - minWidth: 1200, + minWidth: 1370, height: 700, minHeight: 700, show: false, diff --git a/src/renderer/src/assets/iconfont/iconfont.css b/src/renderer/src/assets/iconfont/iconfont.css index 9bc3530..b76125e 100644 --- a/src/renderer/src/assets/iconfont/iconfont.css +++ b/src/renderer/src/assets/iconfont/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; /* Project id 4723712 */ - src: url('iconfont.woff2?t=1730256542457') format('woff2'), - url('iconfont.woff?t=1730256542457') format('woff'), - url('iconfont.ttf?t=1730256542457') format('truetype'); + src: url('iconfont.woff2?t=1730343912063') format('woff2'), + url('iconfont.woff?t=1730343912063') format('woff'), + url('iconfont.ttf?t=1730343912063') format('truetype'); } .iconfont { @@ -13,6 +13,18 @@ -moz-osx-font-smoothing: grayscale; } +.icon-fanhui:before { + content: "\e604"; +} + +.icon-tianchongxing-:before { + content: "\e641"; +} + +.icon-daishenhe:before { + content: "\e64c"; +} + .icon-A:before { content: "\e6ef"; } diff --git a/src/renderer/src/assets/iconfont/iconfont.js b/src/renderer/src/assets/iconfont/iconfont.js index 2ab5dd0..d50ee32 100644 --- a/src/renderer/src/assets/iconfont/iconfont.js +++ b/src/renderer/src/assets/iconfont/iconfont.js @@ -1 +1 @@ -window._iconfont_svg_string_4723712='',(l=>{var h=(c=(c=document.getElementsByTagName("script"))[c.length-1]).getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var v,a,t,z,i,p=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)}}v=function(){var h,c=document.createElement("div");c.innerHTML=l._iconfont_svg_string_4723712,(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?p(c,h.firstChild):h.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(v,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),v()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(t=v,z=l.document,i=!1,o(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,M())})}function M(){i||(i=!0,t())}function o(){try{z.documentElement.doScroll("left")}catch(h){return void setTimeout(o,50)}M()}})(window); \ No newline at end of file +window._iconfont_svg_string_4723712='',(l=>{var h=(c=(c=document.getElementsByTagName("script"))[c.length-1]).getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var v,a,t,z,i,p=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)}}v=function(){var h,c=document.createElement("div");c.innerHTML=l._iconfont_svg_string_4723712,(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?p(c,h.firstChild):h.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(v,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),v()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(t=v,z=l.document,i=!1,o(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,M())})}function M(){i||(i=!0,t())}function o(){try{z.documentElement.doScroll("left")}catch(h){return void setTimeout(o,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 e602f39..bf6f822 100644 --- a/src/renderer/src/assets/iconfont/iconfont.json +++ b/src/renderer/src/assets/iconfont/iconfont.json @@ -5,6 +5,27 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "26283779", + "name": "返回", + "font_class": "fanhui", + "unicode": "e604", + "unicode_decimal": 58884 + }, + { + "icon_id": "6446310", + "name": "博士", + "font_class": "tianchongxing-", + "unicode": "e641", + "unicode_decimal": 58945 + }, + { + "icon_id": "8651682", + "name": "待审核", + "font_class": "daishenhe", + "unicode": "e64c", + "unicode_decimal": 58956 + }, { "icon_id": "12688893", "name": "A", diff --git a/src/renderer/src/assets/iconfont/iconfont.ttf b/src/renderer/src/assets/iconfont/iconfont.ttf index fc57eae..9eff427 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 61f95b2..940142c 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 707a061..40c45d6 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/layout/index.vue b/src/renderer/src/layout/index.vue index 9bcf801..eb99066 100644 --- a/src/renderer/src/layout/index.vue +++ b/src/renderer/src/layout/index.vue @@ -8,8 +8,19 @@
- - + + + @@ -19,7 +30,9 @@ diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index 4e8fbb5..cc489f6 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -19,7 +19,7 @@ export const constantRoutes = [ path: '/fullscreenpdf', component: () => import('@/views/fullScreenPdf/index.vue'), name: 'fullscreenpdf', - meta: {title: '全屏显示PDF'} + meta: { title: '全屏显示PDF' } }, { path: '/teachClassTask', @@ -30,116 +30,111 @@ export const constantRoutes = [ path: '/', component: Layout, redirect: '/home', + meta: { title: '教学工作台' }, children: [ { path: '/index', component: () => import('@/views/index/index.vue'), name: 'index', - meta: {title: '首页'} + meta: { title: '首页' } }, { path: '/home', component: () => import('@/views/desktop/index.vue'), name: 'desktop', - meta: {title: '主页'} - }, - { - path: '/homepage', - component: () => import('@/views/homePage/index.vue'), - name: 'homepage', - meta: {title: '主页'} + meta: { title: '教学工作台' } }, { path: '/resource', component: () => import('@/views/resource/index.vue'), name: 'resource', - meta: {title: '资源库'} + meta: { title: '资源库' } }, { - path: '/prepare', + path: 'prepare', component: () => import('@/views/prepare/index.vue'), name: 'prepare', - meta: {title: '教学实践'} + meta: { title: '教学实践', showBread: true } }, { path: '/teach', component: () => import('@/views/teach/index.vue'), name: 'teach', - meta: {title: '授课'} + meta: { title: '授课' } }, { path: '/standardanalysis', component: () => import('@/views/teach/standardAnalysis/index.vue'), name: 'standardanalysis', - meta: {title: '课标分析'} + meta: { title: '课标分析', showBread: true } }, { path: '/textbookAnalysis', component: () => import('@/views/textbookAnalysis/index.vue'), name: 'textbookAnalysis', - meta: {title: '教材分析'} + meta: { title: '教材分析', showBread: true } }, { path: '/profile', component: () => import('@/views/profile/index.vue'), name: 'profile', - meta: {title: '个人中心'} + meta: { title: '个人中心' } }, { path: '/testpdf', component: () => import('@/views/testPdf/index.vue'), name: 'testpdf', - meta: {title: '测试PDF'} + meta: { title: '测试PDF' } }, - + { path: '/classReserv', component: () => import('@/views/classManage/classReserv.vue'), name: 'classReserv', - meta: {title: '课程预约'} + meta: { title: '课程预约' } }, { path: '/class', component: () => import('@/views/classManage/index.vue'), name: 'class', - meta: {title: '班级中心'}, + meta: { title: '班级中心' } }, { path: '/classTaskAssign', component: () => import('@/views/classTask/classTaskAssign.vue'), name: 'classTaskAssign', - meta: {title: '作业布置'}, + meta: { title: '作业布置', showBread: true } }, { path: '/classTask', component: () => import('@/views/classTask/classTask.vue'), name: 'classCorrect', - meta: {title: '作业批改'}, + meta: { title: '作业批改', showBread: true } }, { path: '/newClassTask', component: () => import('@/views/classTask/newClassTask.vue'), name: 'newClassCorrect', - meta: {title: '作业设计'}, + meta: { title: '作业设计', showBread: true } }, { path: '/examReport', component: () => import('@/views/examReport/index.vue'), name: 'examReport', - meta: {title: '考试分析'} + meta: { title: '考试分析', showBread: true } }, { path: '/hashrate', component: () => import('@/views/hashrate/index.vue'), name: 'hashrate', - meta: {title: '算力'} + meta: { title: '算力' } }, { path: '/setting', component: () => import('@/views/setting/index.vue'), name: 'setting', - meta: {title: '设置'} - }, + meta: { title: '设置' } + } ] }, ...toolRouters diff --git a/src/renderer/src/views/classTask/classTaskAssign.vue b/src/renderer/src/views/classTask/classTaskAssign.vue index 8b58f5b..590a230 100644 --- a/src/renderer/src/views/classTask/classTaskAssign.vue +++ b/src/renderer/src/views/classTask/classTaskAssign.vue @@ -1,15 +1,10 @@