lex 1 year ago
parent
commit
f9ad172c2a
43 changed files with 20 additions and 20 deletions
  1. 0 0
      dist/assets/amap-gps-a8f1f6b9.js
  2. 0 0
      dist/assets/detail-5c016889.js
  3. 0 0
      dist/assets/detail-baeea45b.js
  4. 1 1
      dist/assets/drop-down-modal-bda8f1b4.js
  5. 0 1
      dist/assets/icon-teacher-default-71ca49c9.js
  6. 1 0
      dist/assets/icon-teacher-default-a5bec550.js
  7. 1 1
      dist/assets/index-025620c9.js
  8. 0 0
      dist/assets/index-03341bc7.js
  9. 0 0
      dist/assets/index-035a86d0.js
  10. 1 1
      dist/assets/index-0b044ae1.js
  11. 1 1
      dist/assets/index-17c178ac.js
  12. 0 0
      dist/assets/index-1893a426.js
  13. 1 1
      dist/assets/index-1a7451f3.js
  14. 0 0
      dist/assets/index-259f59dc.js
  15. 0 0
      dist/assets/index-26edfaaa.js
  16. 0 0
      dist/assets/index-308f82ce.js
  17. 1 1
      dist/assets/index-4344c760.js
  18. 1 0
      dist/assets/index-486a0b90.js
  19. 0 0
      dist/assets/index-4abfd14b.js
  20. 0 0
      dist/assets/index-4af745ae.js
  21. 0 0
      dist/assets/index-564c75c6.js
  22. 1 1
      dist/assets/index-65859feb.js
  23. 0 1
      dist/assets/index-7ba7bf8e.css
  24. 0 0
      dist/assets/index-81d58eb7.js
  25. 0 0
      dist/assets/index-858000e4.js
  26. 0 0
      dist/assets/index-8ae3e969.js
  27. 0 0
      dist/assets/index-94927259.js
  28. 1 1
      dist/assets/index-95204351.js
  29. 0 1
      dist/assets/index-a7aa4f01.js
  30. 0 0
      dist/assets/index-a7cffa91.js
  31. 0 0
      dist/assets/index-a8991519.js
  32. 1 0
      dist/assets/index-ce9c3426.css
  33. 1 1
      dist/assets/index-d786e513.js
  34. 1 1
      dist/assets/index-dac34900.js
  35. 0 0
      dist/assets/index-ddeb5577.js
  36. 0 0
      dist/assets/login-724efb9c.js
  37. 0 0
      dist/assets/site-settings-7d9c1cfd.js
  38. 0 0
      dist/assets/skeletion-index-modal-1020d176.js
  39. 1 0
      dist/assets/use-tab-status-27003f80.js
  40. 0 1
      dist/assets/use-tab-status-30ac3dbf.js
  41. 4 4
      dist/index.html
  42. 1 2
      src/views/site-management/site-settings.tsx
  43. 1 0
      vite.config.ts

File diff suppressed because it is too large
+ 0 - 0
dist/assets/amap-gps-a8f1f6b9.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/detail-5c016889.js


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


+ 1 - 1
dist/assets/drop-down-modal-a9fe6544.js → dist/assets/drop-down-modal-bda8f1b4.js

@@ -1 +1 @@
-import{P as r}from"./index-649808e3.js";import{d,x as m,y as c,h as u,e as l,B as s,j as t,F as i}from"./index-956d72c6.js";const v=d({name:"drop-down-modal",props:{selectValues:{type:[String,Number],default:null},columns:{type:Array,default:()=>[]},open:{type:Boolean,default:!1}},emits:["dropDownClose","dropDownConfirm"],setup(e,{emit:a}){const o=m({values:[]});return c(()=>{o.values=[e.selectValues]}),u(()=>e.selectValues,()=>{o.values=[e.selectValues]}),u(()=>e.open,()=>{setTimeout(()=>{o.values=[e.selectValues]},100)}),()=>l(i,null,[l(r,{modelValue:o.values,"onUpdate:modelValue":n=>o.values=n,showToolbar:!1,visibleOptionNum:5,columns:e.columns},null),l("div",{class:["btnGroupPopup","van-hairline--top"]},[l(s,{round:!0,onClick:()=>a("dropDownClose")},{default:()=>[t("取消")]}),l(s,{type:"primary",round:!0,onClick:()=>{a("dropDownConfirm",o.values)}},{default:()=>[t("确定")]})])])}});export{v as D};
+import{P as r}from"./index-a8991519.js";import{d,x as m,y as c,h as u,e as l,B as s,j as t,F as i}from"./index-4af745ae.js";const v=d({name:"drop-down-modal",props:{selectValues:{type:[String,Number],default:null},columns:{type:Array,default:()=>[]},open:{type:Boolean,default:!1}},emits:["dropDownClose","dropDownConfirm"],setup(e,{emit:a}){const o=m({values:[]});return c(()=>{o.values=[e.selectValues]}),u(()=>e.selectValues,()=>{o.values=[e.selectValues]}),u(()=>e.open,()=>{setTimeout(()=>{o.values=[e.selectValues]},100)}),()=>l(i,null,[l(r,{modelValue:o.values,"onUpdate:modelValue":n=>o.values=n,showToolbar:!1,visibleOptionNum:5,columns:e.columns},null),l("div",{class:["btnGroupPopup","van-hairline--top"]},[l(s,{round:!0,onClick:()=>a("dropDownClose")},{default:()=>[t("取消")]}),l(s,{type:"primary",round:!0,onClick:()=>{a("dropDownConfirm",o.values)}},{default:()=>[t("确定")]})])])}});export{v as D};

+ 0 - 1
dist/assets/icon-teacher-default-71ca49c9.js

@@ -1 +0,0 @@
-const e="/assets/icon-teacher-default-584ebe41.png";export{e as i};

+ 1 - 0
dist/assets/icon-teacher-default-a5bec550.js

@@ -0,0 +1 @@
+const e=""+new URL("icon-teacher-default-584ebe41.png",import.meta.url).href;export{e as i};

+ 1 - 1
dist/assets/index-ee6cd815.js → dist/assets/index-025620c9.js

@@ -1 +1 @@
-import{c as L,G as y,a2 as D,d as I,a3 as B,e as n,m as V,n as o,t as _,a7 as u,E as s,I as f,w as q}from"./index-956d72c6.js";const[z,i]=L("cell"),A={tag:V("div"),icon:String,size:String,title:o,value:o,label:o,center:Boolean,isLink:Boolean,border:_,required:Boolean,iconPrefix:String,valueClass:u,labelClass:u,titleClass:u,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},N=y({},A,D);var R=I({name:z,props:N,setup(e,{slots:a}){const v=B(),g=()=>{if(a.label||s(e.label))return n("div",{class:[i("label"),e.labelClass]},[a.label?a.label():e.label])},h=()=>{var l;if(a.title||s(e.title)){const t=(l=a.title)==null?void 0:l.call(a);return Array.isArray(t)&&t.length===0?void 0:n("div",{class:[i("title"),e.titleClass],style:e.titleStyle},[t||n("span",null,[e.title]),g()])}},m=()=>{const l=a.value||a.default;if(l||s(e.value))return n("div",{class:[i("value"),e.valueClass]},[l?l():n("span",null,[e.value])])},w=()=>{if(a.icon)return a.icon();if(e.icon)return n(f,{name:e.icon,class:i("left-icon"),classPrefix:e.iconPrefix},null)},C=()=>{if(a["right-icon"])return a["right-icon"]();if(e.isLink){const l=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return n(f,{name:l,class:i("right-icon")},null)}};return()=>{var l;const{tag:t,size:r,center:P,border:k,isLink:S,required:x}=e,c=(l=e.clickable)!=null?l:S,d={center:P,required:x,clickable:c,borderless:!k};return r&&(d[r]=!!r),n(t,{class:i(d),role:c?"button":void 0,tabindex:c?0:void 0,onClick:v},{default:()=>{var b;return[w(),h(),m(),C(),(b=a.extra)==null?void 0:b.call(a)]}})}}});const G=q(R);export{G as C,A as c};
+import{c as L,G as y,a2 as D,d as I,a3 as B,e as n,m as V,n as o,t as _,a7 as u,E as s,I as f,w as q}from"./index-4af745ae.js";const[z,i]=L("cell"),A={tag:V("div"),icon:String,size:String,title:o,value:o,label:o,center:Boolean,isLink:Boolean,border:_,required:Boolean,iconPrefix:String,valueClass:u,labelClass:u,titleClass:u,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},N=y({},A,D);var R=I({name:z,props:N,setup(e,{slots:a}){const v=B(),g=()=>{if(a.label||s(e.label))return n("div",{class:[i("label"),e.labelClass]},[a.label?a.label():e.label])},h=()=>{var l;if(a.title||s(e.title)){const t=(l=a.title)==null?void 0:l.call(a);return Array.isArray(t)&&t.length===0?void 0:n("div",{class:[i("title"),e.titleClass],style:e.titleStyle},[t||n("span",null,[e.title]),g()])}},m=()=>{const l=a.value||a.default;if(l||s(e.value))return n("div",{class:[i("value"),e.valueClass]},[l?l():n("span",null,[e.value])])},w=()=>{if(a.icon)return a.icon();if(e.icon)return n(f,{name:e.icon,class:i("left-icon"),classPrefix:e.iconPrefix},null)},C=()=>{if(a["right-icon"])return a["right-icon"]();if(e.isLink){const l=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return n(f,{name:l,class:i("right-icon")},null)}};return()=>{var l;const{tag:t,size:r,center:P,border:k,isLink:S,required:x}=e,c=(l=e.clickable)!=null?l:S,d={center:P,required:x,clickable:c,borderless:!k};return r&&(d[r]=!!r),n(t,{class:i(d),role:c?"button":void 0,tabindex:c?0:void 0,onClick:v},{default:()=>{var b;return[w(),h(),m(),C(),(b=a.extra)==null?void 0:b.call(a)]}})}}});const G=q(R);export{G as C,A as c};

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


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


+ 1 - 1
dist/assets/index-5218aa8a.js → dist/assets/index-0b044ae1.js

@@ -1 +1 @@
-import{c as B,d as $,z as u,aV as j,b as D,h as _,ae as C,ak as N,y as R,X as P,e as n,n as d,t as b,m as z,a0 as f,E as U,al as V,aW as W,W as E,I as F,w as M}from"./index-956d72c6.js";const[O,t]=B("image"),T={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:d,height:d,radius:d,lazyLoad:Boolean,iconSize:d,showError:b,errorIcon:z("photo-fail"),iconPrefix:String,showLoading:b,loadingIcon:z("photo")};var X=$({name:O,props:T,emits:["load","error"],setup(a,{emit:v,slots:s}){const i=u(!1),o=u(!0),r=u(),{$Lazyload:l}=j().proxy,S=D(()=>{const e={width:f(a.width),height:f(a.height)};return U(a.radius)&&(e.overflow="hidden",e.borderRadius=f(a.radius)),e});_(()=>a.src,()=>{i.value=!1,o.value=!0});const g=e=>{o.value&&(o.value=!1,v("load",e))},h=()=>{const e=new Event("load");Object.defineProperty(e,"target",{value:r.value,enumerable:!0}),g(e)},m=e=>{i.value=!0,o.value=!1,v("error",e)},w=(e,c,L)=>L?L():n(F,{name:e,size:a.iconSize,class:c,classPrefix:a.iconPrefix},null),k=()=>{if(o.value&&a.showLoading)return n("div",{class:t("loading")},[w(a.loadingIcon,t("loading-icon"),s.loading)]);if(i.value&&a.showError)return n("div",{class:t("error")},[w(a.errorIcon,t("error-icon"),s.error)])},x=()=>{if(i.value||!a.src)return;const e={alt:a.alt,class:t("img"),style:{objectFit:a.fit,objectPosition:a.position}};return a.lazyLoad?V(n("img",E({ref:r},e),null),[[W("lazy"),a.src]]):n("img",E({ref:r,src:a.src,onLoad:g,onError:m},e),null)},y=({el:e})=>{const c=()=>{e===r.value&&o.value&&h()};r.value?c():P(c)},I=({el:e})=>{e===r.value&&!i.value&&m()};return l&&C&&(l.$on("loaded",y),l.$on("error",I),N(()=>{l.$off("loaded",y),l.$off("error",I)})),R(()=>{P(()=>{var e;(e=r.value)!=null&&e.complete&&h()})}),()=>{var e;return n("div",{class:t({round:a.round,block:a.block}),style:S.value},[x(),k(),(e=s.default)==null?void 0:e.call(s)])}}});const A=M(X);export{A as I};
+import{c as B,d as $,z as u,aV as j,b as D,h as _,ae as C,ak as N,y as R,X as P,e as n,n as d,t as b,m as z,a0 as f,E as U,al as V,aW as W,W as E,I as F,w as M}from"./index-4af745ae.js";const[O,t]=B("image"),T={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:d,height:d,radius:d,lazyLoad:Boolean,iconSize:d,showError:b,errorIcon:z("photo-fail"),iconPrefix:String,showLoading:b,loadingIcon:z("photo")};var X=$({name:O,props:T,emits:["load","error"],setup(a,{emit:v,slots:s}){const i=u(!1),o=u(!0),r=u(),{$Lazyload:l}=j().proxy,S=D(()=>{const e={width:f(a.width),height:f(a.height)};return U(a.radius)&&(e.overflow="hidden",e.borderRadius=f(a.radius)),e});_(()=>a.src,()=>{i.value=!1,o.value=!0});const g=e=>{o.value&&(o.value=!1,v("load",e))},h=()=>{const e=new Event("load");Object.defineProperty(e,"target",{value:r.value,enumerable:!0}),g(e)},m=e=>{i.value=!0,o.value=!1,v("error",e)},w=(e,c,L)=>L?L():n(F,{name:e,size:a.iconSize,class:c,classPrefix:a.iconPrefix},null),k=()=>{if(o.value&&a.showLoading)return n("div",{class:t("loading")},[w(a.loadingIcon,t("loading-icon"),s.loading)]);if(i.value&&a.showError)return n("div",{class:t("error")},[w(a.errorIcon,t("error-icon"),s.error)])},x=()=>{if(i.value||!a.src)return;const e={alt:a.alt,class:t("img"),style:{objectFit:a.fit,objectPosition:a.position}};return a.lazyLoad?V(n("img",E({ref:r},e),null),[[W("lazy"),a.src]]):n("img",E({ref:r,src:a.src,onLoad:g,onError:m},e),null)},y=({el:e})=>{const c=()=>{e===r.value&&o.value&&h()};r.value?c():P(c)},I=({el:e})=>{e===r.value&&!i.value&&m()};return l&&C&&(l.$on("loaded",y),l.$on("error",I),N(()=>{l.$off("loaded",y),l.$off("error",I)})),R(()=>{P(()=>{var e;(e=r.value)!=null&&e.complete&&h()})}),()=>{var e;return n("div",{class:t({round:a.round,block:a.block}),style:S.value},[x(),k(),(e=s.default)==null?void 0:e.call(s)])}}});const A=M(X);export{A as I};

+ 1 - 1
dist/assets/index-b3c10317.js → dist/assets/index-17c178ac.js

@@ -1 +1 @@
-import{d as n,z as s,x as u,e,M as m,A as d,F as p}from"./index-956d72c6.js";import{M as f}from"./index-4abfd14b.js";import{M as h}from"./index-a06f1b1b.js";import{M as c}from"./index-2414fb02.js";import{S as g,a as v,b as l}from"./index-bd7352b1.js";import{C as y}from"./index-058d2bca.js";import{C as w}from"./index-ee6cd815.js";import"./index-5218aa8a.js";import"./index-df1ffec8.js";const F=n({name:"test-page",setup(){const t=s(!1),r=s(!0),o=u({search:"",files:[]}),i=()=>{t.value=!0,setTimeout(()=>{t.value=!1},2e3)};return setTimeout(()=>{r.value=!1},1e3),()=>e(p,null,[e(c,null,{default:()=>[e(m,null,null),e(h,{modelValue:o.search,"onUpdate:modelValue":a=>o.search=a},null)]}),e(f,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a,onRefresh:i,style:{minHeight:"calc(100vh - var(--header-height))"}},{default:()=>[e(g,{row:3,loading:r.value,style:"flex-wrap: wrap"},{template:()=>[1,2,3,4,5,1,2,3,4,5].map(a=>e(y,{inset:!0,style:{marginTop:"12px",width:"100%"}},{default:()=>[e(w,{center:!0},{icon:()=>e(v,{style:{width:"50px",height:"50px",borderRadius:"50%",overflow:"hidden",marginRight:"10px"}},null),title:()=>e("div",{style:{display:"flex",justifyContent:"space-between"}},[e(l,{rowWidth:"40%"},null),e(l,{style:{marginTop:0},rowWidth:"20%"},null)]),label:()=>e(l,null,null)})]})),default:()=>e(d,{style:{minHeight:"calc(100vh - var(--header-height))"},description:"暂无数据"},null)})]})])}});export{F as default};
+import{d as n,z as s,x as u,e,M as m,A as d,F as p}from"./index-4af745ae.js";import{M as f}from"./index-259f59dc.js";import{M as h}from"./index-ddeb5577.js";import{M as c}from"./index-95204351.js";import{S as g,a as v,b as l}from"./index-1a7451f3.js";import{C as y}from"./index-4344c760.js";import{C as w}from"./index-025620c9.js";import"./index-0b044ae1.js";import"./index-94927259.js";const F=n({name:"test-page",setup(){const t=s(!1),r=s(!0),o=u({search:"",files:[]}),i=()=>{t.value=!0,setTimeout(()=>{t.value=!1},2e3)};return setTimeout(()=>{r.value=!1},1e3),()=>e(p,null,[e(c,null,{default:()=>[e(m,null,null),e(h,{modelValue:o.search,"onUpdate:modelValue":a=>o.search=a},null)]}),e(f,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a,onRefresh:i,style:{minHeight:"calc(100vh - var(--header-height))"}},{default:()=>[e(g,{row:3,loading:r.value,style:"flex-wrap: wrap"},{template:()=>[1,2,3,4,5,1,2,3,4,5].map(a=>e(y,{inset:!0,style:{marginTop:"12px",width:"100%"}},{default:()=>[e(w,{center:!0},{icon:()=>e(v,{style:{width:"50px",height:"50px",borderRadius:"50%",overflow:"hidden",marginRight:"10px"}},null),title:()=>e("div",{style:{display:"flex",justifyContent:"space-between"}},[e(l,{rowWidth:"40%"},null),e(l,{style:{marginTop:0},rowWidth:"20%"},null)]),label:()=>e(l,null,null)})]})),default:()=>e(d,{style:{minHeight:"calc(100vh - var(--header-height))"},description:"暂无数据"},null)})]})])}});export{F as default};

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


+ 1 - 1
dist/assets/index-bd7352b1.js → dist/assets/index-1a7451f3.js

@@ -1 +1 @@
-import{c as l,d as i,e as a,a0 as m,n as r,w as s,aj as _,m as v,a as $,t as u,W as g,F as y}from"./index-956d72c6.js";const[A,P]=l("skeleton-title"),p={round:Boolean,titleWidth:r};var T=i({name:A,props:p,setup(t){return()=>a("h3",{class:P([{round:t.round}]),style:{width:m(t.titleWidth)}},null)}});const b=s(T);var z=b;const[B,D]=l("skeleton-avatar"),F={avatarSize:r,avatarShape:v("round")};var N=i({name:B,props:F,setup(t){return()=>a("div",{class:D([t.avatarShape]),style:_(t.avatarSize)},null)}});const R=s(N);var I=R;const d="100%",L={round:Boolean,rowWidth:{type:r,default:d}},[U,C]=l("skeleton-paragraph");var E=i({name:U,props:L,setup(t){return()=>a("div",{class:C([{round:t.round}]),style:{width:t.rowWidth}},null)}});const H=s(E);var O=H;const[j,c]=l("skeleton"),V="60%",q={row:$(0),round:Boolean,title:Boolean,titleWidth:r,avatar:Boolean,avatarSize:r,avatarShape:v("round"),loading:u,animate:u,rowWidth:{type:[Number,String,Array],default:d}};var x=i({name:j,inheritAttrs:!1,props:q,setup(t,{slots:o,attrs:h}){const f=()=>{if(t.avatar)return a(I,{avatarShape:t.avatarShape,avatarSize:t.avatarSize},null)},S=()=>{if(t.title)return a(z,{round:t.round,titleWidth:t.titleWidth},null)},W=n=>{const{rowWidth:e}=t;return e===d&&n===+t.row-1?V:Array.isArray(e)?e[n]:e},k=()=>Array(+t.row).fill("").map((n,e)=>a(O,{key:e,round:t.round,rowWidth:m(W(e))},null)),w=()=>o.template?o.template():a(y,null,[f(),a("div",{class:c("content")},[S(),k()])]);return()=>{var n;return t.loading?a("div",g({class:c({animate:t.animate,round:t.round})},h),[w()]):(n=o.default)==null?void 0:n.call(o)}}});const J=s(x);export{J as S,R as a,H as b};
+import{c as l,d as i,e as a,a0 as m,n as r,w as s,aj as _,m as v,a as $,t as u,W as g,F as y}from"./index-4af745ae.js";const[A,P]=l("skeleton-title"),p={round:Boolean,titleWidth:r};var T=i({name:A,props:p,setup(t){return()=>a("h3",{class:P([{round:t.round}]),style:{width:m(t.titleWidth)}},null)}});const b=s(T);var z=b;const[B,D]=l("skeleton-avatar"),F={avatarSize:r,avatarShape:v("round")};var N=i({name:B,props:F,setup(t){return()=>a("div",{class:D([t.avatarShape]),style:_(t.avatarSize)},null)}});const R=s(N);var I=R;const d="100%",L={round:Boolean,rowWidth:{type:r,default:d}},[U,C]=l("skeleton-paragraph");var E=i({name:U,props:L,setup(t){return()=>a("div",{class:C([{round:t.round}]),style:{width:t.rowWidth}},null)}});const H=s(E);var O=H;const[j,c]=l("skeleton"),V="60%",q={row:$(0),round:Boolean,title:Boolean,titleWidth:r,avatar:Boolean,avatarSize:r,avatarShape:v("round"),loading:u,animate:u,rowWidth:{type:[Number,String,Array],default:d}};var x=i({name:j,inheritAttrs:!1,props:q,setup(t,{slots:o,attrs:h}){const f=()=>{if(t.avatar)return a(I,{avatarShape:t.avatarShape,avatarSize:t.avatarSize},null)},S=()=>{if(t.title)return a(z,{round:t.round,titleWidth:t.titleWidth},null)},W=n=>{const{rowWidth:e}=t;return e===d&&n===+t.row-1?V:Array.isArray(e)?e[n]:e},k=()=>Array(+t.row).fill("").map((n,e)=>a(O,{key:e,round:t.round,rowWidth:m(W(e))},null)),w=()=>o.template?o.template():a(y,null,[f(),a("div",{class:c("content")},[S(),k()])]);return()=>{var n;return t.loading?a("div",g({class:c({animate:t.animate,round:t.round})},h),[w()]):(n=o.default)==null?void 0:n.call(o)}}});const J=s(x);export{J as S,R as a,H as b};

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


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


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


+ 1 - 1
dist/assets/index-058d2bca.js → dist/assets/index-4344c760.js

@@ -1 +1 @@
-import{c as o,d as c,e as r,F as u,t as d,W as m,aM as f,w as v}from"./index-956d72c6.js";const[g,i]=o("cell-group"),p={title:String,inset:Boolean,border:d};var O=c({name:g,inheritAttrs:!1,props:p,setup(e,{slots:t,attrs:l}){const n=()=>{var a;return r("div",m({class:[i({inset:e.inset}),{[f]:e.border&&!e.inset}]},l),[(a=t.default)==null?void 0:a.call(t)])},s=()=>r("div",{class:i("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?r(u,null,[s(),n()]):n()}});const T=v(O);export{T as C};
+import{c as o,d as c,e as r,F as u,t as d,W as m,aM as f,w as v}from"./index-4af745ae.js";const[g,i]=o("cell-group"),p={title:String,inset:Boolean,border:d};var O=c({name:g,inheritAttrs:!1,props:p,setup(e,{slots:t,attrs:l}){const n=()=>{var a;return r("div",m({class:[i({inset:e.inset}),{[f]:e.border&&!e.inset}]},l),[(a=t.default)==null?void 0:a.call(t)])},s=()=>r("div",{class:i("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?r(u,null,[s(),n()]):n()}});const T=v(O);export{T as C};

+ 1 - 0
dist/assets/index-486a0b90.js

@@ -0,0 +1 @@
+import{d as t,e as n}from"./index-4af745ae.js";const o="_download_1o8qx_1",s="_center_1o8qx_7",c="_btn_1o8qx_14",e={download:o,center:s,btn:c},r=""+new URL("center-66e2174b.png",import.meta.url).href,a=""+new URL("btn-bg-34d42f1c.png",import.meta.url).href,l=t({name:"download-page",setup(){return()=>n("div",{class:e.download},[n("img",{src:r,class:e.center},null),n("img",{src:a,class:e.btn},null)])}});export{l as default};

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


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


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


+ 1 - 1
dist/assets/index-bf604d5c.js → dist/assets/index-65859feb.js

@@ -1 +1 @@
-import{c as E,a as L,m as w,t as C,d as R,z as h,aE as B,h as x,aR as N,y,Q as _,e as r,X as z,ac as b,aG as F,L as G,i as H,w as I}from"./index-956d72c6.js";import{u as M}from"./use-tab-status-30ac3dbf.js";const[Q,o,U]=E("list"),V={error:Boolean,offset:L(300),loading:Boolean,disabled:Boolean,finished:Boolean,errorText:String,direction:w("down"),loadingText:String,finishedText:String,immediateCheck:C};var X=R({name:Q,props:V,emits:["load","update:error","update:loading"],setup(e,{emit:c,slots:a}){const d=h(e.loading),u=h(),g=h(),s=M(),m=B(u),i=()=>{z(()=>{if(d.value||e.finished||e.disabled||e.error||(s==null?void 0:s.value)===!1)return;const{direction:t}=e,l=+e.offset,n=b(m);if(!n.height||F(u))return;let f=!1;const v=b(g);t==="up"?f=n.top-v.top<=l:f=v.bottom-n.bottom<=l,f&&(d.value=!0,c("update:loading",!0),c("load"))})},T=()=>{if(e.finished){const t=a.finished?a.finished():e.finishedText;if(t)return r("div",{class:o("finished-text")},[t])}},k=()=>{c("update:error",!1),i()},P=()=>{if(e.error){const t=a.error?a.error():e.errorText;if(t)return r("div",{role:"button",class:o("error-text"),tabindex:0,onClick:k},[t])}},S=()=>{if(d.value&&!e.finished&&!e.disabled)return r("div",{class:o("loading")},[a.loading?a.loading():r(G,{class:o("loading-icon")},{default:()=>[e.loadingText||U("loading")]})])};return x(()=>[e.loading,e.finished,e.error],i),s&&x(s,t=>{t&&i()}),N(()=>{d.value=e.loading}),y(()=>{e.immediateCheck&&i()}),H({check:i}),_("scroll",i,{target:m,passive:!0}),()=>{var t;const l=(t=a.default)==null?void 0:t.call(a),n=r("div",{ref:g,class:o("placeholder")},null);return r("div",{ref:u,role:"feed",class:o(),"aria-busy":d.value},[e.direction==="down"?l:n,S(),T(),P(),e.direction==="up"?l:n])}}});const A=I(X);export{A as L};
+import{c as E,a as L,m as w,t as C,d as R,z as h,aE as B,h as x,aR as N,y,Q as _,e as r,X as z,ac as b,aG as F,L as G,i as H,w as I}from"./index-4af745ae.js";import{u as M}from"./use-tab-status-27003f80.js";const[Q,o,U]=E("list"),V={error:Boolean,offset:L(300),loading:Boolean,disabled:Boolean,finished:Boolean,errorText:String,direction:w("down"),loadingText:String,finishedText:String,immediateCheck:C};var X=R({name:Q,props:V,emits:["load","update:error","update:loading"],setup(e,{emit:c,slots:a}){const d=h(e.loading),u=h(),g=h(),s=M(),m=B(u),i=()=>{z(()=>{if(d.value||e.finished||e.disabled||e.error||(s==null?void 0:s.value)===!1)return;const{direction:t}=e,l=+e.offset,n=b(m);if(!n.height||F(u))return;let f=!1;const v=b(g);t==="up"?f=n.top-v.top<=l:f=v.bottom-n.bottom<=l,f&&(d.value=!0,c("update:loading",!0),c("load"))})},T=()=>{if(e.finished){const t=a.finished?a.finished():e.finishedText;if(t)return r("div",{class:o("finished-text")},[t])}},k=()=>{c("update:error",!1),i()},P=()=>{if(e.error){const t=a.error?a.error():e.errorText;if(t)return r("div",{role:"button",class:o("error-text"),tabindex:0,onClick:k},[t])}},S=()=>{if(d.value&&!e.finished&&!e.disabled)return r("div",{class:o("loading")},[a.loading?a.loading():r(G,{class:o("loading-icon")},{default:()=>[e.loadingText||U("loading")]})])};return x(()=>[e.loading,e.finished,e.error],i),s&&x(s,t=>{t&&i()}),N(()=>{d.value=e.loading}),y(()=>{e.immediateCheck&&i()}),H({check:i}),_("scroll",i,{target:m,passive:!0}),()=>{var t;const l=(t=a.default)==null?void 0:t.call(a),n=r("div",{ref:g,class:o("placeholder")},null);return r("div",{ref:u,role:"feed",class:o(),"aria-busy":d.value},[e.direction==="down"?l:n,S(),T(),P(),e.direction==="up"?l:n])}}});const A=I(X);export{A as L};

+ 0 - 1
dist/assets/index-7ba7bf8e.css

@@ -1 +0,0 @@
-._download_1o8qx_1{background:url(/assets/bg-f4434550.png) no-repeat center top #fff;background-size:contain;min-height:100vh;width:100%}._download_1o8qx_1 ._center_1o8qx_7{display:block;padding-top:.66667rem;width:6.32rem;height:15.2rem;margin:0 auto}._download_1o8qx_1 ._btn_1o8qx_14{display:block;margin:.93333rem auto .53333rem;width:6.13333rem;height:1.22667rem}

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


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


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


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


+ 1 - 1
dist/assets/index-2414fb02.js → dist/assets/index-95204351.js

@@ -1 +1 @@
-import{d as m,x as u,z as l,y as v,X as r,h as y,e as a,ac as n}from"./index-956d72c6.js";const S="_sticky_4d2w6_1",g="_white_4d2w6_6",x={sticky:S,white:g},p=m({name:"m-sticky",props:{position:{type:String,default:"top"},mode:{type:String,default:"fixed"},offsetTop:{type:String,default:"0px"},offsetBottom:{default:"0px"},varName:{type:String,default:"--header-height"}},emits:["barHeight"],setup(t,{slots:c,emit:h}){const e=u({divStyle:{},heightV:0,sectionStyle:{width:"100%",height:"auto",left:"0"}}),s=i=>{e.sectionStyle.height=`${i}px`,e.heightV=i,document.documentElement.style.setProperty(t.varName,`${i}px`),h("barHeight",i)},o=l(),f=l();return v(()=>{t.position==="top"?e.divStyle.top=t.offsetTop||"0px":e.divStyle.bottom=t.offsetBottom||"0px",r(()=>{if(o.value){const{height:i}=n(o.value);s(i),setTimeout(()=>{const{height:d}=n(o.value);d!==e.heightV&&s(d)},200)}f.value&&setTimeout(()=>{const{height:i}=n(f.value);i!==e.heightV&&t.position==="top"&&s(i)},1e3)})}),y(()=>t.offsetTop,()=>{e.divStyle.top=t.offsetTop}),y(()=>t.offsetBottom,()=>{e.divStyle.bottom=t.offsetBottom}),()=>a("div",{style:[e.sectionStyle],class:t.mode==="sticky"&&x.sticky},[a("div",{ref:o,class:["van-sticky",t.mode==="fixed"?"van-sticky--fixed":""],style:[e.divStyle,e.sectionStyle]},[a("div",{ref:f},[c.default&&c.default()])])])}});export{p as M};
+import{d as m,x as u,z as l,y as v,X as r,h as y,e as a,ac as n}from"./index-4af745ae.js";const S="_sticky_4d2w6_1",g="_white_4d2w6_6",x={sticky:S,white:g},p=m({name:"m-sticky",props:{position:{type:String,default:"top"},mode:{type:String,default:"fixed"},offsetTop:{type:String,default:"0px"},offsetBottom:{default:"0px"},varName:{type:String,default:"--header-height"}},emits:["barHeight"],setup(t,{slots:c,emit:h}){const e=u({divStyle:{},heightV:0,sectionStyle:{width:"100%",height:"auto",left:"0"}}),s=i=>{e.sectionStyle.height=`${i}px`,e.heightV=i,document.documentElement.style.setProperty(t.varName,`${i}px`),h("barHeight",i)},o=l(),f=l();return v(()=>{t.position==="top"?e.divStyle.top=t.offsetTop||"0px":e.divStyle.bottom=t.offsetBottom||"0px",r(()=>{if(o.value){const{height:i}=n(o.value);s(i),setTimeout(()=>{const{height:d}=n(o.value);d!==e.heightV&&s(d)},200)}f.value&&setTimeout(()=>{const{height:i}=n(f.value);i!==e.heightV&&t.position==="top"&&s(i)},1e3)})}),y(()=>t.offsetTop,()=>{e.divStyle.top=t.offsetTop}),y(()=>t.offsetBottom,()=>{e.divStyle.bottom=t.offsetBottom}),()=>a("div",{style:[e.sectionStyle],class:t.mode==="sticky"&&x.sticky},[a("div",{ref:o,class:["van-sticky",t.mode==="fixed"?"van-sticky--fixed":""],style:[e.divStyle,e.sectionStyle]},[a("div",{ref:f},[c.default&&c.default()])])])}});export{p as M};

+ 0 - 1
dist/assets/index-a7aa4f01.js

@@ -1 +0,0 @@
-import{d as t,e as n}from"./index-956d72c6.js";const s="_download_1o8qx_1",o="_center_1o8qx_7",c="_btn_1o8qx_14",e={download:s,center:o,btn:c},a="/assets/center-66e2174b.png",d="/assets/btn-bg-34d42f1c.png",r=t({name:"download-page",setup(){return()=>n("div",{class:e.download},[n("img",{src:a,class:e.center},null),n("img",{src:d,class:e.btn},null)])}});export{r as default};

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


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


+ 1 - 0
dist/assets/index-ce9c3426.css

@@ -0,0 +1 @@
+._download_1o8qx_1{background:url(./bg-f4434550.png) no-repeat center top #fff;background-size:contain;min-height:100vh;width:100%}._download_1o8qx_1 ._center_1o8qx_7{display:block;padding-top:.66667rem;width:6.32rem;height:15.2rem;margin:0 auto}._download_1o8qx_1 ._btn_1o8qx_14{display:block;margin:.93333rem auto .53333rem;width:6.13333rem;height:1.22667rem}

+ 1 - 1
dist/assets/index-6ae777bf.js → dist/assets/index-d786e513.js

@@ -1 +1 @@
-import{d as t,e,M as n,A as s,au as o,F as r,C as i}from"./index-956d72c6.js";const l=t({name:"page-404",setup(){const a=i();return()=>e(r,null,[e(n,null,null),e(s,{style:{"min-height":"calc(100vh - var(--van-nav-bar-height))",paddingTop:"0 !important"},showButton:!0,description:"页面找不到了~",image:"404",onClick:()=>{o().isApp?postMessage({api:"back"}):a.back()}},null)])}});export{l as default};
+import{d as t,e,M as n,A as s,au as o,F as r,C as i}from"./index-4af745ae.js";const l=t({name:"page-404",setup(){const a=i();return()=>e(r,null,[e(n,null,null),e(s,{style:{"min-height":"calc(100vh - var(--van-nav-bar-height))",paddingTop:"0 !important"},showButton:!0,description:"页面找不到了~",image:"404",onClick:()=>{o().isApp?postMessage({api:"back"}):a.back()}},null)])}});export{l as default};

+ 1 - 1
dist/assets/index-1a44e675.js → dist/assets/index-dac34900.js

@@ -1 +1 @@
-import{d as t,e,B as a,j as o}from"./index-956d72c6.js";const u=t({name:"home-page",setup(){return()=>e("div",{style:{fontSize:"18px"}},[e(a,{type:"primary",block:!0},{default:()=>[o("主要按钮")]})])}});export{u as default};
+import{d as t,e,B as a,j as o}from"./index-4af745ae.js";const u=t({name:"home-page",setup(){return()=>e("div",{style:{fontSize:"18px"}},[e(a,{type:"primary",block:!0},{default:()=>[o("主要按钮")]})])}});export{u as default};

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


File diff suppressed because it is too large
+ 0 - 0
dist/assets/login-724efb9c.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/site-settings-7d9c1cfd.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/skeletion-index-modal-1020d176.js


+ 1 - 0
dist/assets/use-tab-status-27003f80.js

@@ -0,0 +1 @@
+import{aS as s}from"./index-4af745ae.js";const t=Symbol(),o=()=>s(t,null);export{t as T,o as u};

+ 0 - 1
dist/assets/use-tab-status-30ac3dbf.js

@@ -1 +0,0 @@
-import{aS as s}from"./index-956d72c6.js";const t=Symbol(),o=()=>s(t,null);export{t as T,o as u};

+ 4 - 4
dist/index.html

@@ -3,7 +3,7 @@
 
 <head>
   <meta charset="UTF-8" />
-  <link rel="icon" href="/favicon.ico" />
+  <link rel="icon" href="./favicon.ico" />
   <meta name="viewport"
     content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
   <meta http-equiv="Cache-control" content="no-cache">
@@ -36,9 +36,9 @@
   <meta name="msapplication-tap-highlight" content="no" />
   <meta name="referrer" content="no-referrer" />
   <title>学校端</title>
-  <script src="/flexible.js" charset="UTF-8"></script>
-  <script type="module" crossorigin src="/assets/index-956d72c6.js"></script>
-  <link rel="stylesheet" href="/assets/index-882cd187.css">
+  <script src="./flexible.js" charset="UTF-8"></script>
+  <script type="module" crossorigin src="./assets/index-4af745ae.js"></script>
+  <link rel="stylesheet" href="./assets/index-882cd187.css">
 </head>
 
 <body>

+ 1 - 2
src/views/site-management/site-settings.tsx

@@ -11,8 +11,7 @@ import {
   Image,
   List,
   Picker,
-  Popup,
-  showToast
+  Popup
 } from 'vant';
 import iconMusic from '@/common/images/icon-music.png';
 import iconTeacher from '@/common/images/icon-teacher-default.png';

+ 1 - 0
vite.config.ts

@@ -14,6 +14,7 @@ function resolve(dir: string) {
 // https://github.com/vitejs/vite/issues/1930 .env
 const proxyUrl = 'https://test.dayaedu.com/';
 export default defineConfig({
+  base: './',
   plugins: [
     vue(),
     vueJsx(),

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