diff --git a/src/renderer/src/assets/iconfont/iconfont.css b/src/renderer/src/assets/iconfont/iconfont.css index 8d07e32..4b2269b 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=1722393125520') format('woff2'), - url('iconfont.woff?t=1722393125520') format('woff'), - url('iconfont.ttf?t=1722393125520') format('truetype'), - url('iconfont.svg?t=1722393125520#iconfont') format('svg'); + src: url('iconfont.woff2?t=1723022855912') format('woff2'), + url('iconfont.woff?t=1723022855912') format('woff'), + url('iconfont.ttf?t=1723022855912') format('truetype'), + url('iconfont.svg?t=1723022855912#iconfont') format('svg'); } .iconfont { @@ -14,6 +14,26 @@ -moz-osx-font-smoothing: grayscale; } +.icon-kechengziyuan1:before { + content: "\e647"; +} + +.icon-tubiaozhizuomobanyihuifu-:before { + content: "\e69d"; +} + +.icon-window-01:before { + content: "\e70b"; +} + +.icon-chuangkou-chuangkouhua:before { + content: "\e64b"; +} + +.icon-a-lujing13357:before { + content: "\e64c"; +} + .icon-icon:before { content: "\e640"; } diff --git a/src/renderer/src/assets/iconfont/iconfont.js b/src/renderer/src/assets/iconfont/iconfont.js index 468ab99..009e48d 100644 --- a/src/renderer/src/assets/iconfont/iconfont.js +++ b/src/renderer/src/assets/iconfont/iconfont.js @@ -1 +1 @@ -window._iconfont_svg_string_2794390='',function(l){var h=(h=document.getElementsByTagName("script"))[h.length-1],c=h.getAttribute("data-injectcss"),h=h.getAttribute("data-disable-injectsvg");if(!h){var a,v,t,z,i,p=function(h,c){c.parentNode.insertBefore(h,c)};if(c&&!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?p(c,h.firstChild):h.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(v=function(){document.removeEventListener("DOMContentLoaded",v,!1),a()},document.addEventListener("DOMContentLoaded",v,!1)):document.attachEvent&&(t=a,z=l.document,i=!1,d(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,M())})}function M(){i||(i=!0,t())}function d(){try{z.documentElement.doScroll("left")}catch(h){return void setTimeout(d,50)}M()}}(window); \ No newline at end of file +window._iconfont_svg_string_2794390='',function(l){var h=(h=document.getElementsByTagName("script"))[h.length-1],c=h.getAttribute("data-injectcss"),h=h.getAttribute("data-disable-injectsvg");if(!h){var a,v,t,z,i,p=function(h,c){c.parentNode.insertBefore(h,c)};if(c&&!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?p(c,h.firstChild):h.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(v=function(){document.removeEventListener("DOMContentLoaded",v,!1),a()},document.addEventListener("DOMContentLoaded",v,!1)):document.attachEvent&&(t=a,z=l.document,i=!1,d(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,M())})}function M(){i||(i=!0,t())}function d(){try{z.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 3db8bfe..d899edc 100644 --- a/src/renderer/src/assets/iconfont/iconfont.json +++ b/src/renderer/src/assets/iconfont/iconfont.json @@ -5,6 +5,41 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "3053509", + "name": "课程资源", + "font_class": "kechengziyuan1", + "unicode": "e647", + "unicode_decimal": 58951 + }, + { + "icon_id": "4427402", + "name": "窗口", + "font_class": "tubiaozhizuomobanyihuifu-", + "unicode": "e69d", + "unicode_decimal": 59037 + }, + { + "icon_id": "18418603", + "name": "窗口", + "font_class": "window-01", + "unicode": "e70b", + "unicode_decimal": 59147 + }, + { + "icon_id": "30970631", + "name": "窗口-窗口化", + "font_class": "chuangkou-chuangkouhua", + "unicode": "e64b", + "unicode_decimal": 58955 + }, + { + "icon_id": "41196567", + "name": "下课", + "font_class": "a-lujing13357", + "unicode": "e64c", + "unicode_decimal": 58956 + }, { "icon_id": "680440", "name": "教材", diff --git a/src/renderer/src/assets/iconfont/iconfont.svg b/src/renderer/src/assets/iconfont/iconfont.svg index f9b4baf..039cc95 100644 --- a/src/renderer/src/assets/iconfont/iconfont.svg +++ b/src/renderer/src/assets/iconfont/iconfont.svg @@ -14,6 +14,16 @@ /> + + + + + + + + + + diff --git a/src/renderer/src/assets/iconfont/iconfont.ttf b/src/renderer/src/assets/iconfont/iconfont.ttf index 714a16f..18826b1 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 1f4f411..86e2bb1 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 550c112..756b9e2 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/views/tool/components/side.vue b/src/renderer/src/views/tool/components/side.vue index 184518e..aa4d488 100644 --- a/src/renderer/src/views/tool/components/side.vue +++ b/src/renderer/src/views/tool/components/side.vue @@ -35,10 +35,10 @@ const props = defineProps({ data: { // 数据 type: Array, default: () => [ - { label: '资源', prop: 'resource', icon: 'icon-hudong' }, + { label: '资源', prop: 'resource', icon: 'icon-kechengziyuan1' }, { label: '互动', prop: 'interact', icon: 'icon-hudong' }, - { label: '窗口', prop: 'win', icon: 'icon-hudong' }, - { label: '下课', prop: 'over', isExtra: true, icon: 'icon-hudong' }, + { label: '窗口', prop: 'win', icon: 'icon-tubiaozhizuomobanyihuifu-' }, + { label: '下课', prop: 'over', isExtra: true, icon: 'icon-a-lujing13357' }, ] } }) @@ -99,7 +99,6 @@ const clickHandel = (o, e) => { cursor: pointer; .iconfont{ font-size: 20px; - color: attr(color); } span{font-size: 12px;} &:hover{ diff --git a/src/renderer/src/views/tool/sphere.vue b/src/renderer/src/views/tool/sphere.vue index 834b317..5a2aef3 100644 --- a/src/renderer/src/views/tool/sphere.vue +++ b/src/renderer/src/views/tool/sphere.vue @@ -146,6 +146,7 @@ watchEffect(() => { height: 5rem; border-radius: 50%; box-shadow: 0px 0px 8px rgb(0 0 0 / 40%); + user-select: none; // &:hover{ // .el-image{transform: scale(1.1);} // }