Browse Source

更新打包

lex 1 year ago
parent
commit
6cada925ed

+ 1 - 1
dist/assets/Scrollbar-f4ea02ff.js → dist/assets/Scrollbar-dcb7ab01.js

@@ -1 +1 @@
-import{a9 as l,d as e,r as a,ac as n,as as t}from"./index-b531b9da.js";const c=Object.assign(Object.assign({},l.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),i=e({name:"Scrollbar",props:c,setup(){const r=a(null);return Object.assign(Object.assign({},{scrollTo:(...o)=>{var s;(s=r.value)===null||s===void 0||s.scrollTo(o[0],o[1])},scrollBy:(...o)=>{var s;(s=r.value)===null||s===void 0||s.scrollBy(o[0],o[1])}}),{scrollbarInstRef:r})},render(){return n(t,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),d=i;export{d as N};
+import{a9 as l,d as e,r as a,ac as n,as as t}from"./index-f7e86eca.js";const c=Object.assign(Object.assign({},l.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),i=e({name:"Scrollbar",props:c,setup(){const r=a(null);return Object.assign(Object.assign({},{scrollTo:(...o)=>{var s;(s=r.value)===null||s===void 0||s.scrollTo(o[0],o[1])},scrollBy:(...o)=>{var s;(s=r.value)===null||s===void 0||s.scrollBy(o[0],o[1])}}),{scrollbarInstRef:r})},render(){return n(t,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),d=i;export{d as N};

+ 1 - 1
dist/assets/Slider-b3c99498.js → dist/assets/Slider-4e5664f5.js

@@ -1,4 +1,4 @@
-import{at as We,r as x,au as Ge,av as V,a6 as n,aw as m,a7 as j,ax as ue,ay as Je,az as qe,d as Qe,a8 as Ze,a9 as ge,aA as eo,E as w,aB as oo,aC as ao,w as he,aD as to,ab as ve,aE as no,aF as Z,ac as v,aG as ro,aH as lo,aI as io,aJ as so,T as co,aK as U,aL as O,M as Q,aM as fe}from"./index-b531b9da.js";const uo={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},ho=t=>{const l="rgba(0, 0, 0, .85)",y="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:f,primaryColor:s,baseColor:d,cardColor:z,modalColor:R,popoverColor:L,borderRadius:_,fontSize:B,opacityDisabled:D}=t;return Object.assign(Object.assign({},uo),{fontSize:B,markFontSize:B,railColor:f,railColorHover:f,fillColor:s,fillColorHover:s,opacityDisabled:D,handleColor:"#FFF",dotColor:z,dotColorModal:R,dotColorPopover:L,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:l,indicatorBoxShadow:y,indicatorTextColor:d,indicatorBorderRadius:_,dotBorder:`2px solid ${f}`,dotBorderActive:`2px solid ${s}`,dotBoxShadow:""})},vo={name:"Slider",common:We,self:ho},fo=vo;function me(t){return window.TouchEvent&&t instanceof window.TouchEvent}function be(){const t=x(new Map),l=y=>f=>{t.value.set(y,f)};return Ge(()=>{t.value.clear()}),[t,l]}const mo=V([n("slider",`
+import{at as We,r as x,au as Ge,av as V,a6 as n,aw as m,a7 as j,ax as ue,ay as Je,az as qe,d as Qe,a8 as Ze,a9 as ge,aA as eo,E as w,aB as oo,aC as ao,w as he,aD as to,ab as ve,aE as no,aF as Z,ac as v,aG as ro,aH as lo,aI as io,aJ as so,T as co,aK as U,aL as O,M as Q,aM as fe}from"./index-f7e86eca.js";const uo={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},ho=t=>{const l="rgba(0, 0, 0, .85)",y="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:f,primaryColor:s,baseColor:d,cardColor:z,modalColor:R,popoverColor:L,borderRadius:_,fontSize:B,opacityDisabled:D}=t;return Object.assign(Object.assign({},uo),{fontSize:B,markFontSize:B,railColor:f,railColorHover:f,fillColor:s,fillColorHover:s,opacityDisabled:D,handleColor:"#FFF",dotColor:z,dotColorModal:R,dotColorPopover:L,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:l,indicatorBoxShadow:y,indicatorTextColor:d,indicatorBorderRadius:_,dotBorder:`2px solid ${f}`,dotBorderActive:`2px solid ${s}`,dotBoxShadow:""})},vo={name:"Slider",common:We,self:ho},fo=vo;function me(t){return window.TouchEvent&&t instanceof window.TouchEvent}function be(){const t=x(new Map),l=y=>f=>{t.value.set(y,f)};return Ge(()=>{t.value.clear()}),[t,l]}const mo=V([n("slider",`
  display: block;
  padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;
  position: relative;

+ 0 - 1
dist/assets/index-006bca08.js

@@ -1 +0,0 @@
-import{d as t,f as e,aO as a,j as p,k as n}from"./index-b531b9da.js";const i=t({name:"404-page",setup(){return()=>e("div",{style:{height:"220px","margin-top":"150px","padding-top":"30px","font-size":"15px","text-align":"center"}},[e(a,{description:"你访问的页面不见了,你还可以",size:"large"},null),e(p,{type:"primary",text:!0},{default:()=>[n("返回上一页")]})])}});export{i as default};

+ 1 - 1
dist/assets/index-2552d94a.js → dist/assets/index-02f79049.js

@@ -1 +1 @@
-import{X as y,Y as F,S as P,Z as C,J as S}from"./index-b531b9da.js";function g(e){return y()?(F(e),!0):!1}function w(e){return typeof e=="function"?e():S(e)}const R=typeof window<"u",m=()=>{};function D(e,i){function n(...t){return new Promise((o,r)=>{Promise.resolve(e(()=>i.apply(this,t),{fn:i,thisArg:this,args:t})).then(o).catch(r)})}return n}function b(e,i={}){let n,t,o=m;const r=u=>{clearTimeout(u),o(),o=m};return u=>{const a=w(e),s=w(i.maxWait);return n&&r(n),a<=0||s!==void 0&&s<=0?(t&&(r(t),t=null),Promise.resolve(u())):new Promise((c,p)=>{o=i.rejectOnCancel?p:c,s&&!t&&(t=setTimeout(()=>{n&&r(n),t=null,c(u())},s)),n=setTimeout(()=>{t&&r(t),t=null,c(u())},a)})}}function j(e,i=!0,n=!0,t=!1){let o=0,r,l=!0,u=m,a;const s=()=>{r&&(clearTimeout(r),r=void 0,u(),u=m)};return p=>{const f=w(e),T=Date.now()-o,d=()=>a=p();return s(),f<=0?(o=Date.now(),d()):(T>f&&(n||!l)?(o=Date.now(),d()):i&&(a=new Promise((h,x)=>{u=t?x:h,r=setTimeout(()=>{o=Date.now(),l=!0,h(d()),s()},Math.max(0,f-T))})),!n&&!r&&(r=setTimeout(()=>l=!0,f)),l=!1,a)}}function U(e,i=200,n={}){return D(b(i,n),e)}function V(e,i=200,n=!1,t=!0,o=!1){return D(j(i,n,t,o),e)}function W(e){P()&&C(e)}export{V as a,g as b,w as c,R as i,W as t,U as u};
+import{X as y,Y as F,S as P,Z as C,J as S}from"./index-f7e86eca.js";function g(e){return y()?(F(e),!0):!1}function w(e){return typeof e=="function"?e():S(e)}const R=typeof window<"u",m=()=>{};function D(e,i){function n(...t){return new Promise((o,r)=>{Promise.resolve(e(()=>i.apply(this,t),{fn:i,thisArg:this,args:t})).then(o).catch(r)})}return n}function b(e,i={}){let n,t,o=m;const r=u=>{clearTimeout(u),o(),o=m};return u=>{const a=w(e),s=w(i.maxWait);return n&&r(n),a<=0||s!==void 0&&s<=0?(t&&(r(t),t=null),Promise.resolve(u())):new Promise((c,p)=>{o=i.rejectOnCancel?p:c,s&&!t&&(t=setTimeout(()=>{n&&r(n),t=null,c(u())},s)),n=setTimeout(()=>{t&&r(t),t=null,c(u())},a)})}}function j(e,i=!0,n=!0,t=!1){let o=0,r,l=!0,u=m,a;const s=()=>{r&&(clearTimeout(r),r=void 0,u(),u=m)};return p=>{const f=w(e),T=Date.now()-o,d=()=>a=p();return s(),f<=0?(o=Date.now(),d()):(T>f&&(n||!l)?(o=Date.now(),d()):i&&(a=new Promise((h,x)=>{u=t?x:h,r=setTimeout(()=>{o=Date.now(),l=!0,h(d()),s()},Math.max(0,f-T))})),!n&&!r&&(r=setTimeout(()=>l=!0,f)),l=!1,a)}}function U(e,i=200,n={}){return D(b(i,n),e)}function V(e,i=200,n=!1,t=!0,o=!1){return D(j(i,n,t,o),e)}function W(e){P()&&C(e)}export{V as a,g as b,w as c,R as i,W as t,U as u};

File diff suppressed because it is too large
+ 0 - 28
dist/assets/index-1e91a199.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-24a1cc44.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-27bdc7c9.js


+ 1 - 1
dist/assets/index-a88f2f2f.js → dist/assets/index-3eb2df67.js

@@ -1 +1 @@
-import{d as l,f as e,h as u,I as o,r,R as I,o as c,F as p}from"./index-b531b9da.js";const g="_searchInput_1cmht_1",m="_searchIcon_1cmht_9",S={searchInput:g,searchIcon:m},E=l({name:"student-studentList",props:["searchWord"],emits:["changeValue"],setup(t,{emit:n,attrs:A}){return()=>e("div",null,[e(u,o(A,{clearable:!0,class:S.searchInput,value:t.searchWord,onInput:a=>{n("changeValue",a)}}),{prefix:()=>e("span",{class:"icon-search-input"},null)})])}}),h="_arrow_fei3f_1",C="_CSelectWrap_fei3f_5",J="_CSelectInitWrap_fei3f_21",s={arrow:h,CSelectWrap:C,CSelectInitWrap:J},w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAaCAYAAACtv5zzAAAAAXNSR0IArs4c6QAAANtJREFUSEvt0zFOAkEYQOFv7eEi9iba0GLlDextKNUbECmpuIItFSWNmnANPIEWtoZkJ5LJDv9AQuVOs8Vm3tt5/2zjzKs5M18vCAv/r0TXmLdNJvgI+1B9i26wwqCFfuMWb5GkZgY5PDGrJJGgBK+WHBJ0wZ9a8stemoMnKQlK8FkLfkQuGeM9n0mXIIInRpUkF9TCqyX7gmPhVZIkGGKL3TOt3UBT8+i657m+cInPJBhhfSK8dJI7LJPgAq+4whSL6JML7x/wjA3u8RP9aCd6/rb1gjBhnyhM9As5gjEbhIMMwQAAAABJRU5ErkJggg==",B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAaCAYAAACtv5zzAAAAAXNSR0IArs4c6QAAASlJREFUSEvtlDFOxDAQRWecigJOAMegABpKFI3TcgUqShZusFDScIA9AbJltt0mSPQcI83SJjMo0S7KBmM7xTYoaT3zn+f/cRD2/OGe9WECRB3+JxaVZXlQVdUCAE4RcU5EL9HZPQXGmBsAeACADyK6RkTuLLLWFsz8uu1BxJnW+mkMxFo7Y+Z5r+eyKIpVB3DOHTdN8ykiR9sCpdQ9ET2mQIbiiLjOsuwkz/P1T8jW2nNmXgLA4ZhJjDF3ItK/yJdS6oqIylZnZ4vGQmLivwCbPJImSRH3AlIgqeJ/AkKQ9izk+XApgi/ZOXdR1/VbP/iBwE6gvo2L/ip8wW+EouJBi/q38UCSxJMBbaEx5kxEnrsmxFut9XvKI4xalCISqpkAUQcni6IWfQOwkaYb9TFYBgAAAABJRU5ErkJggg==",W=l({props:{inline:{type:Boolean,default:!1}},name:"CSelect",setup(t,{emit:n,attrs:A}){r(null);const a=r(!1);return()=>e(p,null,[e("div",{class:[s.CSelectWrap,t.inline?s.CSelectInitWrap:null]},[e(I,o({"show-checkmark":!1},A,{"onUpdate:show":i=>{a.value=i}}),{arrow:()=>a.value?e(c,{class:s.arrow,src:w},null):e(c,{class:s.arrow,src:B},null)})])])}});export{W as C,E as S};
+import{d as l,f as e,h as u,I as o,r,R as I,o as c,F as p}from"./index-f7e86eca.js";const g="_searchInput_1cmht_1",m="_searchIcon_1cmht_9",S={searchInput:g,searchIcon:m},E=l({name:"student-studentList",props:["searchWord"],emits:["changeValue"],setup(t,{emit:n,attrs:A}){return()=>e("div",null,[e(u,o(A,{clearable:!0,class:S.searchInput,value:t.searchWord,onInput:a=>{n("changeValue",a)}}),{prefix:()=>e("span",{class:"icon-search-input"},null)})])}}),h="_arrow_fei3f_1",C="_CSelectWrap_fei3f_5",J="_CSelectInitWrap_fei3f_21",s={arrow:h,CSelectWrap:C,CSelectInitWrap:J},w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAaCAYAAACtv5zzAAAAAXNSR0IArs4c6QAAANtJREFUSEvt0zFOAkEYQOFv7eEi9iba0GLlDextKNUbECmpuIItFSWNmnANPIEWtoZkJ5LJDv9AQuVOs8Vm3tt5/2zjzKs5M18vCAv/r0TXmLdNJvgI+1B9i26wwqCFfuMWb5GkZgY5PDGrJJGgBK+WHBJ0wZ9a8stemoMnKQlK8FkLfkQuGeM9n0mXIIInRpUkF9TCqyX7gmPhVZIkGGKL3TOt3UBT8+i657m+cInPJBhhfSK8dJI7LJPgAq+4whSL6JML7x/wjA3u8RP9aCd6/rb1gjBhnyhM9As5gjEbhIMMwQAAAABJRU5ErkJggg==",B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAaCAYAAACtv5zzAAAAAXNSR0IArs4c6QAAASlJREFUSEvtlDFOxDAQRWecigJOAMegABpKFI3TcgUqShZusFDScIA9AbJltt0mSPQcI83SJjMo0S7KBmM7xTYoaT3zn+f/cRD2/OGe9WECRB3+JxaVZXlQVdUCAE4RcU5EL9HZPQXGmBsAeACADyK6RkTuLLLWFsz8uu1BxJnW+mkMxFo7Y+Z5r+eyKIpVB3DOHTdN8ykiR9sCpdQ9ET2mQIbiiLjOsuwkz/P1T8jW2nNmXgLA4ZhJjDF3ItK/yJdS6oqIylZnZ4vGQmLivwCbPJImSRH3AlIgqeJ/AkKQ9izk+XApgi/ZOXdR1/VbP/iBwE6gvo2L/ip8wW+EouJBi/q38UCSxJMBbaEx5kxEnrsmxFut9XvKI4xalCISqpkAUQcni6IWfQOwkaYb9TFYBgAAAABJRU5ErkJggg==",W=l({props:{inline:{type:Boolean,default:!1}},name:"CSelect",setup(t,{emit:n,attrs:A}){r(null);const a=r(!1);return()=>e(p,null,[e("div",{class:[s.CSelectWrap,t.inline?s.CSelectInitWrap:null]},[e(I,o({"show-checkmark":!1},A,{"onUpdate:show":i=>{a.value=i}}),{arrow:()=>a.value?e(c,{class:s.arrow,src:w},null):e(c,{class:s.arrow,src:B},null)})])])}});export{W as C,E as S};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-46f39129.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-4a10e6cb.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-4b9ed48c.js


+ 1 - 0
dist/assets/index-5e899532.js

@@ -0,0 +1 @@
+import{d as t,f as e,aO as u,j as a,k as p}from"./index-f7e86eca.js";const r=t({name:"404-page",setup(){return()=>e("div",{style:{height:"220px","margin-top":"150px","padding-top":"30px","font-size":"15px","text-align":"center"}},[e(u,{description:"你访问的页面不见了,你还可以",size:"large"},null),e(a,{type:"primary",text:!0},{default:()=>[p("返回上一页")]})])}});export{r as default};

File diff suppressed because it is too large
+ 28 - 0
dist/assets/index-607ddb73.js


+ 1 - 1
dist/assets/index-1728e68a.js → dist/assets/index-61d8dcb3.js

@@ -1 +1 @@
-import{d as n,e as o,f as e,h as l,F as u,j as h,k as i}from"./index-b531b9da.js";const d="_TheSearch_18qen_1",f="_active_18qen_15",t={TheSearch:d,active:f,default:"_default_18qen_21"},m=""+new URL("icon_search-8a6ade17.svg",import.meta.url).href,p=""+new URL("icon_searchActive-bf7fd0c6.svg",import.meta.url).href,_=n({name:"TheSearch",props:{round:{type:Boolean,default:!1}},emits:["search"],setup(c,{emit:s}){const a=o({value:""});return()=>e(l,{class:t.TheSearch,round:c.round,placeholder:"请输入搜索关键词",modelValue:a.value,"onUpdate:modelValue":r=>a.value=r},{prefix:()=>e(u,null,[e("img",{class:t.default,src:m},null),e("img",{class:t.active,src:p},null)]),suffix:()=>e(h,{size:"small",round:!0,type:"primary",onClick:()=>s("search",a.value)},{default:()=>[i("搜索")]})})}});export{_ as T};
+import{d as u,e as n,f as e,h as o,F as l,j as h,k as i}from"./index-f7e86eca.js";const d="_TheSearch_18qen_1",f="_active_18qen_15",t={TheSearch:d,active:f,default:"_default_18qen_21"},m=""+new URL("icon_search-8a6ade17.svg",import.meta.url).href,p=""+new URL("icon_searchActive-bf7fd0c6.svg",import.meta.url).href,_=u({name:"TheSearch",props:{round:{type:Boolean,default:!1}},emits:["search"],setup(c,{emit:s}){const a=n({value:""});return()=>e(o,{class:t.TheSearch,round:c.round,placeholder:"请输入搜索关键词",modelValue:a.value,"onUpdate:modelValue":r=>a.value=r},{prefix:()=>e(l,null,[e("img",{class:t.default,src:m},null),e("img",{class:t.active,src:p},null)]),suffix:()=>e(h,{size:"small",round:!0,type:"primary",onClick:()=>s("search",a.value)},{default:()=>[i("搜索")]})})}});export{_ as T};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-6d15de3d.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-6f063bdf.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-740f14c9.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-7e01e4f9.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-a6efbc38.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-b4ec125f.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-bf0b3a3c.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-c9f52162.js


+ 1 - 1
dist/assets/index-43dec35e.js → dist/assets/index-e4f39dcb.js

@@ -1 +1 @@
-import{d as f,r as l,e as A,w as d,f as m}from"./index-b531b9da.js";const p="_wrap_3lsnj_1",y="_isAnitaion_3lsnj_7",v="_notice_3lsnj_7",a={wrap:p,isAnitaion:y,notice:v},o=n=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{n()})})},h=f({name:"TheNoticeBar",props:{text:{type:String,default:""},isAnimation:{type:Boolean,default:!1}},setup(n){const e=l(),i=l(),t=A({isActive:!1,wrapWidth:0,contentWidth:0,contentStyle:{transitionDuration:"0s",transform:"translateX(0px)"},time:null}),s=()=>{t.isActive||!i.value||!e.value||(t.isActive=!0,t.contentWidth=i.value.getBoundingClientRect().width,t.wrapWidth=e.value.getBoundingClientRect().width,r())},r=()=>{if(t.contentWidth<=t.wrapWidth||!t.isActive){t.contentStyle.transitionDuration="0s",t.contentStyle.transform="translateX(0px)";return}t.contentStyle.transitionDuration="5s",t.contentStyle.transform="translateX(-100%)",t.time=setTimeout(()=>{t.contentStyle.transitionDuration="0s",t.contentStyle.transform=`translateX(${t.wrapWidth}px)`,o(r)},5*1e3)},c=()=>{clearTimeout(t.time),t.isActive=!1,t.contentStyle.transitionDuration="0s",t.contentStyle.transform="translateX(0px)",t.time=null};return d(()=>n.isAnimation,u=>{o(u?s:c)}),()=>m("div",{ref:e,class:[a.wrap,n.isAnimation?a.isAnitaion:""],onMouseenter:()=>!n.isAnimation&&s(),onMouseleave:()=>!n.isAnimation&&c()},[m("div",{ref:i,style:t.contentStyle,class:a.notice},[n.text])])}});export{h as T};
+import{d as f,r as l,e as A,w as d,f as m}from"./index-f7e86eca.js";const p="_wrap_3lsnj_1",y="_isAnitaion_3lsnj_7",v="_notice_3lsnj_7",a={wrap:p,isAnitaion:y,notice:v},o=n=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{n()})})},h=f({name:"TheNoticeBar",props:{text:{type:String,default:""},isAnimation:{type:Boolean,default:!1}},setup(n){const e=l(),i=l(),t=A({isActive:!1,wrapWidth:0,contentWidth:0,contentStyle:{transitionDuration:"0s",transform:"translateX(0px)"},time:null}),s=()=>{t.isActive||!i.value||!e.value||(t.isActive=!0,t.contentWidth=i.value.getBoundingClientRect().width,t.wrapWidth=e.value.getBoundingClientRect().width,r())},r=()=>{if(t.contentWidth<=t.wrapWidth||!t.isActive){t.contentStyle.transitionDuration="0s",t.contentStyle.transform="translateX(0px)";return}t.contentStyle.transitionDuration="5s",t.contentStyle.transform="translateX(-100%)",t.time=setTimeout(()=>{t.contentStyle.transitionDuration="0s",t.contentStyle.transform=`translateX(${t.wrapWidth}px)`,o(r)},5*1e3)},c=()=>{clearTimeout(t.time),t.isActive=!1,t.contentStyle.transitionDuration="0s",t.contentStyle.transform="translateX(0px)",t.time=null};return d(()=>n.isAnimation,u=>{o(u?s:c)}),()=>m("div",{ref:e,class:[a.wrap,n.isAnimation?a.isAnitaion:""],onMouseenter:()=>!n.isAnimation&&s(),onMouseleave:()=>!n.isAnimation&&c()},[m("div",{ref:i,style:t.contentStyle,class:a.notice},[n.text])])}});export{h as T};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-f7e86eca.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-ffc26d8a.js


+ 1 - 1
dist/index.html

@@ -24,7 +24,7 @@
   <meta name="msapplication-tap-highlight" content="no" />
   <meta name="referrer" content="no-referrer" />
   <title>老师端</title>
-  <script type="module" crossorigin src="./assets/index-b531b9da.js"></script>
+  <script type="module" crossorigin src="./assets/index-f7e86eca.js"></script>
   <link rel="stylesheet" href="./assets/index-bdf2c1bf.css">
 </head>
 

File diff suppressed because it is too large
+ 288 - 316
package-lock.json


+ 2 - 1
src/App.tsx

@@ -4,6 +4,7 @@ import { AppProvider } from './components/Application';
 import { RouterView } from 'vue-router';
 import setting from './settings/designSetting';
 import { lighten } from './utils';
+import RouterError from './components/RouterError';
 export default defineComponent({
   name: 'App',
   setup() {
@@ -31,7 +32,7 @@ export default defineComponent({
           dateLocale={dateZhCN}>
           <AppProvider>
             <RouterView />
-            {/* <RouterError /> */}
+            <RouterError />
           </AppProvider>
         </NConfigProvider>
       </>

+ 31 - 0
src/components/RouterError/index.tsx

@@ -0,0 +1,31 @@
+import { useDialog } from 'naive-ui';
+import { defineComponent } from 'vue';
+import { useRouter } from 'vue-router';
+
+export default defineComponent({
+  name: 'router-error',
+  setup() {
+    const router = useRouter();
+    const dialog = useDialog();
+    let isOpen = false;
+    router.onError(error => {
+      const str = error.message + '';
+      const isChunkLoadFailed = str.indexOf('imported');
+
+      // const targetPath = router.history.pending.fullPath
+      if (isChunkLoadFailed != -1 && !isOpen) {
+        isOpen = true;
+        dialog.warning({
+          title: '更新提示',
+          content: '网站有更新请点击确定刷新页面?',
+          positiveText: '确定',
+          negativeText: '取消',
+          onPositiveClick: () => {
+            window.location.reload();
+          }
+        });
+      }
+    });
+    return () => <div></div>;
+  }
+});

+ 1 - 1
src/views/attend-class/component/video-play.tsx

@@ -107,7 +107,7 @@ export default defineComponent({
 
     onMounted(() => {
       videoItem.value = new Plyr(videoRef.value, {
-        autoplay: true,
+        autoplay: false,
         controls: controls,
         autopause: true, // 一次只允许
         ratio: '16:9', // 强制所有视频的纵横比

+ 1 - 1
src/views/attend-class/index.tsx

@@ -82,7 +82,7 @@ export default defineComponent({
       modelTrainStatus: false // 训练设置
     });
     const activeData = reactive({
-      isAutoPlay: true, // 是否自动播放
+      isAutoPlay: false, // 是否自动播放
       nowTime: 0,
       model: true, // 遮罩
       isAnimation: true, // 是否动画

+ 181 - 35
src/views/prepare-lessons/components/directory-main/index.tsx

@@ -1,12 +1,6 @@
-import {
-  Transition,
-  TransitionGroup,
-  defineComponent,
-  reactive,
-  ref
-} from 'vue';
+import { defineComponent, reactive, ref } from 'vue';
 import styles from './index.module.less';
-import { NIcon, NTree, NSpin, NScrollbar } from 'naive-ui';
+import { NIcon, NSpin, NScrollbar } from 'naive-ui';
 
 export default defineComponent({
   name: 'directory-main',
@@ -14,96 +8,248 @@ export default defineComponent({
     const show = ref(true);
     const forms = reactive({
       expandedKey: null, // 展开
-      selectKey: 10 // 选的
+      selectKey: 16 // 选的
     });
     const treeList = ref([
       {
         key: 1,
-        label:
-          '第一单元 我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里',
-        selected: true,
+        label: '第1课 好朋友',
+        selected: false,
         children: [
           {
             key: 10,
-            label: '【欣赏】永远住在童话里'
+            label: '玩具兵进行曲'
           },
           {
             key: 11,
-            label: '【欣赏】糖果仙子舞曲'
+            label: '口哨与小狗'
           },
           {
             key: 12,
-            label: '【知识】音的高低'
+            label: ' 你的民在叫什么?'
           },
           {
             key: 13,
-            label: '【唱歌】小红帽'
+            label: '拉勾勾'
+          },
+          {
+            key: 14,
+            label: '唱歌姿势'
           }
         ]
       },
       {
         key: 2,
-        label: '第二单元 快乐游戏',
-        selected: false,
+        label: '第2课 快乐的一天',
+        selected: true,
         children: [
           {
-            key: 14,
-            label: '【欣赏】永远住在童话里'
+            key: 15,
+            label: '快乐的一天'
+          },
+          {
+            key: 16,
+            label: '其多列'
+          },
+          {
+            key: 17,
+            label: '跳绳'
           }
         ]
       },
       {
         key: 3,
-        label: '第三单元 劳动最光荣',
+        label: '第3课 祖国您好',
         selected: false,
         children: [
           {
-            key: 15,
-            label: '【欣赏】永远住在童话里'
+            key: 18,
+            label: '中华人民共和国国歌'
+          },
+          {
+            key: 19,
+            label: '颂祖国'
+          },
+          {
+            key: 20,
+            label: '国旗国旗真美丽'
+          },
+          {
+            key: 21,
+            label: '同唱一首歌'
+          },
+          {
+            key: 22,
+            label: '音的强弱'
           }
         ]
       },
       {
         key: 4,
-        label: '第四单元 音乐中的动物',
+        label: '第4课 可爱的动物',
         selected: false,
         children: [
           {
-            key: 16,
-            label: '【欣赏】永远住在童话里'
+            key: 23,
+            label: '快乐的小熊猫'
+          },
+          {
+            key: 24,
+            label: '袋鼠'
+          },
+          {
+            key: 25,
+            label: '动物说话'
+          },
+          {
+            key: 26,
+            label: '咏鹅'
+          },
+          {
+            key: 27,
+            label: '木鱼 碰钟'
           }
         ]
       },
       {
         key: 5,
-        label: '第五单元 动画城',
+        label: '第5课 爱劳动',
         selected: false,
         children: [
           {
-            key: 17,
-            label: '【欣赏】永远住在童话里'
+            key: 28,
+            label: '劳动最光荣'
+          },
+          {
+            key: 29,
+            label: '三个和尚'
+          },
+          {
+            key: 30,
+            label: '洗手绢'
+          },
+          {
+            key: 31,
+            label: '大家来劳动'
           }
         ]
       },
       {
         key: 6,
-        label: '第六单元 下雪啦',
+        label: '第6课 小精灵',
         selected: false,
         children: [
           {
-            key: 18,
-            label: '【欣赏】永远住在童话里'
+            key: 32,
+            label: '小青蛙'
+          },
+          {
+            key: 33,
+            label: '野蜂飞舞'
+          },
+          {
+            key: 34,
+            label: '小青蛙找家'
+          },
+          {
+            key: 35,
+            label: '小蜻蜓'
+          },
+          {
+            key: 36,
+            label: '响板'
           }
         ]
       },
       {
         key: 7,
-        label: '我的音乐网页',
+        label: '游戏宫',
         selected: false,
         children: [
           {
-            key: 19,
-            label: '【欣赏】永远住在童话里'
+            key: 37,
+            label: '欢乐的游乐园'
+          }
+        ]
+      },
+      {
+        key: 8,
+        label: '第7课 小小音乐家',
+        selected: false,
+        children: [
+          {
+            key: 38,
+            label: '号手与鼓手'
+          },
+          {
+            key: 39,
+            label: '会跳舞的洋娃娃'
+          },
+          {
+            key: 40,
+            label: '星光圆舞曲'
+          },
+          {
+            key: 41,
+            label: '法国号'
+          },
+          {
+            key: 42,
+            label: '快乐的小笛子'
+          },
+          {
+            key: 43,
+            label: '音的长短'
+          }
+        ]
+      },
+      {
+        key: 9,
+        label: '第8课 过新年',
+        selected: false,
+        children: [
+          {
+            key: 44,
+            label: '小拜年'
+          },
+          {
+            key: 45,
+            label: '平安夜'
+          },
+          {
+            key: 46,
+            label: '龙咚锵'
+          },
+          {
+            key: 47,
+            label: '新年好'
+          },
+          {
+            key: 48,
+            label: '锣 鼓 镲'
+          }
+        ]
+      },
+      {
+        key: -1,
+        label: '欢乐谷',
+        selected: false,
+        children: [
+          {
+            key: 49,
+            label: '小鼓响咚咚'
+          },
+          {
+            key: 50,
+            label: '我有一只小羊羔'
+          },
+          {
+            key: 51,
+            label: '大月亮'
+          },
+          {
+            key: 52,
+            label: '我的音乐表现'
           }
         ]
       }

Some files were not shown because too many files changed in this diff