feat:更新代码
This commit is contained in:
@@ -1 +1 @@
|
||||
import{_ as d,j as f,r as m,c as k,d as o,w as s,e as n,o as g,h as a,f as e}from"./index-DikBC4WP.js";const x="/assets/401-HGF6Q5qM.gif",b={class:"errPage-container"},h={class:"list-unstyled"},w={class:"link-type"},v=["src"],y={__name:"401",setup(B){let{proxy:r}=f();const c=m(x+"?"+ +new Date);function u(){r.$route.query.noGoBack?r.$router.push({path:"/"}):r.$router.go(-1)}return(C,t)=>{const _=n("el-button"),i=n("router-link"),l=n("el-col"),p=n("el-row");return g(),k("div",b,[o(_,{icon:"arrow-left",class:"pan-back-btn",onClick:u},{default:s(()=>[...t[0]||(t[0]=[a(" 返回 ",-1)])]),_:1}),o(p,null,{default:s(()=>[o(l,{span:12},{default:s(()=>[t[2]||(t[2]=e("h1",{class:"text-jumbo text-ginormous"}," 401错误! ",-1)),t[3]||(t[3]=e("h2",null,"您没有访问权限!",-1)),t[4]||(t[4]=e("h6",null,"对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面",-1)),e("ul",h,[e("li",w,[o(i,{to:"/"},{default:s(()=>[...t[1]||(t[1]=[a(" 回首页 ",-1)])]),_:1})])])]),_:1}),o(l,{span:12},{default:s(()=>[e("img",{src:c.value,width:"313",height:"428",alt:"Girl has dropped her ice cream."},null,8,v)]),_:1})]),_:1})])}}},I=d(y,[["__scopeId","data-v-2c8b7582"]]);export{I as default};
|
||||
import{_ as d,j as f,r as m,c as k,d as o,w as s,e as n,o as g,h as a,f as e}from"./index-nRSe4xNB.js";const x="/assets/401-HGF6Q5qM.gif",b={class:"errPage-container"},h={class:"list-unstyled"},w={class:"link-type"},v=["src"],y={__name:"401",setup(B){let{proxy:r}=f();const c=m(x+"?"+ +new Date);function u(){r.$route.query.noGoBack?r.$router.push({path:"/"}):r.$router.go(-1)}return(C,t)=>{const _=n("el-button"),i=n("router-link"),l=n("el-col"),p=n("el-row");return g(),k("div",b,[o(_,{icon:"arrow-left",class:"pan-back-btn",onClick:u},{default:s(()=>[...t[0]||(t[0]=[a(" 返回 ",-1)])]),_:1}),o(p,null,{default:s(()=>[o(l,{span:12},{default:s(()=>[t[2]||(t[2]=e("h1",{class:"text-jumbo text-ginormous"}," 401错误! ",-1)),t[3]||(t[3]=e("h2",null,"您没有访问权限!",-1)),t[4]||(t[4]=e("h6",null,"对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面",-1)),e("ul",h,[e("li",w,[o(i,{to:"/"},{default:s(()=>[...t[1]||(t[1]=[a(" 回首页 ",-1)])]),_:1})])])]),_:1}),o(l,{span:12},{default:s(()=>[e("img",{src:c.value,width:"313",height:"428",alt:"Girl has dropped her ice cream."},null,8,v)]),_:1})]),_:1})])}}},I=d(y,[["__scopeId","data-v-2c8b7582"]]);export{I as default};
|
||||
BIN
dist/assets/401-8RIqH0GR.js.gz
vendored
Normal file
BIN
dist/assets/401-8RIqH0GR.js.gz
vendored
Normal file
Binary file not shown.
BIN
dist/assets/401-BnzQ57U8.js.gz
vendored
BIN
dist/assets/401-BnzQ57U8.js.gz
vendored
Binary file not shown.
@@ -1 +1 @@
|
||||
import{_ as o,b as l,c as _,f as t,q as c,d,t as n,s as r,w as p,e as m,o as u,h as v}from"./index-DikBC4WP.js";const h="/assets/404-N4aRkdWY.png",a="/assets/404_cloud-CPexjtDj.png",f={class:"wscn-http404-container"},g={class:"wscn-http404"},x={class:"bullshit"},b={class:"bullshit__headline"},k={__name:"404",setup(N){let e=l(()=>"找不到网页!");return(w,s)=>{const i=m("router-link");return u(),_("div",f,[t("div",g,[s[3]||(s[3]=c('<div class="pic-404" data-v-328ae272><img class="pic-404__parent" src="'+h+'" alt="404" data-v-328ae272><img class="pic-404__child left" src="'+a+'" alt="404" data-v-328ae272><img class="pic-404__child mid" src="'+a+'" alt="404" data-v-328ae272><img class="pic-404__child right" src="'+a+'" alt="404" data-v-328ae272></div>',1)),t("div",x,[s[1]||(s[1]=t("div",{class:"bullshit__oops"}," 404错误! ",-1)),t("div",b,n(r(e)),1),s[2]||(s[2]=t("div",{class:"bullshit__info"}," 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。 ",-1)),d(i,{to:"/index",class:"bullshit__return-home"},{default:p(()=>[...s[0]||(s[0]=[v(" 返回首页 ",-1)])]),_:1})])])])}}},B=o(k,[["__scopeId","data-v-328ae272"]]);export{B as default};
|
||||
import{_ as o,b as l,c as _,f as t,q as c,d,t as n,s as r,w as p,e as m,o as u,h as v}from"./index-nRSe4xNB.js";const h="/assets/404-N4aRkdWY.png",a="/assets/404_cloud-CPexjtDj.png",f={class:"wscn-http404-container"},g={class:"wscn-http404"},x={class:"bullshit"},b={class:"bullshit__headline"},k={__name:"404",setup(N){let e=l(()=>"找不到网页!");return(w,s)=>{const i=m("router-link");return u(),_("div",f,[t("div",g,[s[3]||(s[3]=c('<div class="pic-404" data-v-328ae272><img class="pic-404__parent" src="'+h+'" alt="404" data-v-328ae272><img class="pic-404__child left" src="'+a+'" alt="404" data-v-328ae272><img class="pic-404__child mid" src="'+a+'" alt="404" data-v-328ae272><img class="pic-404__child right" src="'+a+'" alt="404" data-v-328ae272></div>',1)),t("div",x,[s[1]||(s[1]=t("div",{class:"bullshit__oops"}," 404错误! ",-1)),t("div",b,n(r(e)),1),s[2]||(s[2]=t("div",{class:"bullshit__info"}," 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。 ",-1)),d(i,{to:"/index",class:"bullshit__return-home"},{default:p(()=>[...s[0]||(s[0]=[v(" 返回首页 ",-1)])]),_:1})])])])}}},B=o(k,[["__scopeId","data-v-328ae272"]]);export{B as default};
|
||||
BIN
dist/assets/404-DS_mPX5a.js.gz
vendored
Normal file
BIN
dist/assets/404-DS_mPX5a.js.gz
vendored
Normal file
Binary file not shown.
BIN
dist/assets/404-W2OpILVy.js.gz
vendored
BIN
dist/assets/404-W2OpILVy.js.gz
vendored
Binary file not shown.
BIN
dist/assets/index-BEyUpNsD.js.gz
vendored
BIN
dist/assets/index-BEyUpNsD.js.gz
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
dist/assets/index-BTk2IbAr.js.gz
vendored
Normal file
BIN
dist/assets/index-BTk2IbAr.js.gz
vendored
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
dist/assets/index-Ba0DPdLo.js.gz
vendored
Normal file
BIN
dist/assets/index-Ba0DPdLo.js.gz
vendored
Normal file
Binary file not shown.
BIN
dist/assets/index-Ba59pKR3.js.gz
vendored
BIN
dist/assets/index-Ba59pKR3.js.gz
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
dist/assets/index-CybmVna1.js.gz
vendored
Normal file
BIN
dist/assets/index-CybmVna1.js.gz
vendored
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
/* empty css */import{_ as S,r as f,b as B,c as u,d as i,w as l,e as v,o as s,f as a,t as m,F as g,g as _,h as r,E as d}from"./index-DikBC4WP.js";const E={class:"call-wrapper"},F={class:"avatar-section"},U=["src"],T={class:"user-name"},D={class:"status-text"},I={class:"control-section"},M={__name:"index",props:{mode:{type:String,default:"call"},avatarUrl:{type:String,default:"https://cdn-icons-png.flaticon.com/512/1946/1946429.png"},userName:{type:String,default:"对方用户"}},setup(o,{expose:y}){const k=o,n=f(!1),t=f("calling"),b=B(()=>k.mode==="call"?t.value==="calling"?"正在呼叫对方...":t.value==="active"?"通话中":"通话结束":t.value==="active"?"通话中":"对方来电...");function x(){t.value="active",d.success("开始通话")}function C(){t.value="active",d.success("已接听")}function p(){t.value="ended",d.error("通话已结束")}function h(){n.value=!1}function V(){n.value=!0}return y({show:V}),(j,e)=>{const c=v("el-button"),w=v("el-dialog");return s(),u("div",null,[i(w,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=N=>n.value=N),width:"80%","show-close":!1,"destroy-on-close":!0,modal:!1,"lock-scroll":!0,"before-close":h,class:"call-dialog"},{default:l(()=>[a("div",E,[a("div",F,[a("img",{class:"avatar",src:o.avatarUrl,alt:"头像"},null,8,U),a("div",T,m(o.userName),1),a("div",D,m(b.value),1)]),a("div",I,[o.mode==="call"?(s(),u(g,{key:0},[t.value==="calling"?(s(),_(c,{key:0,type:"danger",round:"",class:"control-btn hangup",onClick:p},{default:l(()=>[...e[1]||(e[1]=[r(" 挂断 ",-1)])]),_:1})):(s(),_(c,{key:1,type:"primary",round:"",class:"control-btn call",onClick:x},{default:l(()=>[...e[2]||(e[2]=[r(" 呼叫中... ",-1)])]),_:1}))],64)):(s(),u(g,{key:1},[i(c,{type:"success",round:"",class:"control-btn accept",onClick:C},{default:l(()=>[...e[3]||(e[3]=[r(" 接听 ",-1)])]),_:1}),i(c,{type:"danger",round:"",class:"control-btn hangup",onClick:p},{default:l(()=>[...e[4]||(e[4]=[r(" 挂断 ",-1)])]),_:1})],64))])])]),_:1},8,["modelValue"])])}}},A=S(M,[["__scopeId","data-v-6baeba6a"]]);export{A as default};
|
||||
/* empty css */import{_ as S,r as f,b as B,c as u,d as i,w as l,e as v,o as s,f as a,t as m,F as g,g as _,h as r,E as d}from"./index-nRSe4xNB.js";const E={class:"call-wrapper"},F={class:"avatar-section"},U=["src"],T={class:"user-name"},D={class:"status-text"},I={class:"control-section"},M={__name:"index",props:{mode:{type:String,default:"call"},avatarUrl:{type:String,default:"https://cdn-icons-png.flaticon.com/512/1946/1946429.png"},userName:{type:String,default:"对方用户"}},setup(o,{expose:y}){const k=o,n=f(!1),t=f("calling"),b=B(()=>k.mode==="call"?t.value==="calling"?"正在呼叫对方...":t.value==="active"?"通话中":"通话结束":t.value==="active"?"通话中":"对方来电...");function x(){t.value="active",d.success("开始通话")}function C(){t.value="active",d.success("已接听")}function p(){t.value="ended",d.error("通话已结束")}function h(){n.value=!1}function V(){n.value=!0}return y({show:V}),(j,e)=>{const c=v("el-button"),w=v("el-dialog");return s(),u("div",null,[i(w,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=N=>n.value=N),width:"80%","show-close":!1,"destroy-on-close":!0,modal:!1,"lock-scroll":!0,"before-close":h,class:"call-dialog"},{default:l(()=>[a("div",E,[a("div",F,[a("img",{class:"avatar",src:o.avatarUrl,alt:"头像"},null,8,U),a("div",T,m(o.userName),1),a("div",D,m(b.value),1)]),a("div",I,[o.mode==="call"?(s(),u(g,{key:0},[t.value==="calling"?(s(),_(c,{key:0,type:"danger",round:"",class:"control-btn hangup",onClick:p},{default:l(()=>[...e[1]||(e[1]=[r(" 挂断 ",-1)])]),_:1})):(s(),_(c,{key:1,type:"primary",round:"",class:"control-btn call",onClick:x},{default:l(()=>[...e[2]||(e[2]=[r(" 呼叫中... ",-1)])]),_:1}))],64)):(s(),u(g,{key:1},[i(c,{type:"success",round:"",class:"control-btn accept",onClick:C},{default:l(()=>[...e[3]||(e[3]=[r(" 接听 ",-1)])]),_:1}),i(c,{type:"danger",round:"",class:"control-btn hangup",onClick:p},{default:l(()=>[...e[4]||(e[4]=[r(" 挂断 ",-1)])]),_:1})],64))])])]),_:1},8,["modelValue"])])}}},A=S(M,[["__scopeId","data-v-6baeba6a"]]);export{A as default};
|
||||
BIN
dist/assets/index-D79yuk_J.js.gz
vendored
Normal file
BIN
dist/assets/index-D79yuk_J.js.gz
vendored
Normal file
Binary file not shown.
BIN
dist/assets/index-DB_z42wD.js.gz
vendored
BIN
dist/assets/index-DB_z42wD.js.gz
vendored
Binary file not shown.
@@ -1 +1 @@
|
||||
import{u as s,a as c,c as n,o as u}from"./index-DikBC4WP.js";const i={__name:"index",setup(p){const e=s(),t=c(),{params:o,query:a}=e,{path:r}=o;return t.replace({path:"/"+r,query:a}),(_,m)=>(u(),n("div"))}};export{i as default};
|
||||
import{u as s,a as c,c as n,o as u}from"./index-nRSe4xNB.js";const i={__name:"index",setup(p){const e=s(),t=c(),{params:o,query:a}=e,{path:r}=o;return t.replace({path:"/"+r,query:a}),(_,m)=>(u(),n("div"))}};export{i as default};
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
BIN
dist/assets/index-DikBC4WP.js.gz
vendored
BIN
dist/assets/index-DikBC4WP.js.gz
vendored
Binary file not shown.
BIN
dist/assets/index-Dikrwr7L.js.gz
vendored
BIN
dist/assets/index-Dikrwr7L.js.gz
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
dist/assets/index-Dl6L4IJG.js.gz
vendored
Normal file
BIN
dist/assets/index-Dl6L4IJG.js.gz
vendored
Normal file
Binary file not shown.
BIN
dist/assets/index-eGhvKdrr.js.gz
vendored
BIN
dist/assets/index-eGhvKdrr.js.gz
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
dist/assets/index-nRSe4xNB.js.gz
vendored
Normal file
BIN
dist/assets/index-nRSe4xNB.js.gz
vendored
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
import{_ as q,i as M,j as N,k as U,r as d,l as b,m as D,c as _,f as m,d as a,w as u,e as p,a as R,u as B,o as h,n as z,p as E,E as K}from"./index-DikBC4WP.js";import{C as L}from"./index-Ba59pKR3.js";const A={class:"loginView"},J={class:"wrapper-content"},P={class:"login-form"},$={key:0},j={key:1},F={__name:"login",setup(G){const w=M(),r=R(),y=B(),{proxy:S}=N(),C=U(),l=d(void 0);d(!0),b(()=>y,o=>{l.value=o.query&&o.query.redirect},{immediate:!0});const t=d({username:"",password:""}),V={username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"}]},i=d(!1);function v(){S.$refs.loginRef.validate(o=>{if(o){if(i.value=!0,!(localStorage!=null&&localStorage.getItem("UDID"))){K({message:"服务错误,请刷新页面",type:"warning"});return}const e=(t.value.username+(localStorage==null?void 0:localStorage.getItem("UDID"))).toLowerCase().replaceAll("-",""),s=`Gx${I(6)}${t.value.password}`,f=L.Blowfish.encrypt(s,e).toString();w.login({password:f,username:t.value.username}).then(async c=>{JSON.parse(sessionStorage.getItem("userData")),await x()}).catch(c=>{console.log("登录失败",c),i.value=!1})}}),k()}async function x(){try{if(l.value&&l.value!=="/login")try{r.resolve(l.value).matched.length>0?await r.push(l.value):(console.warn("重定向路径无效,跳转到默认页面"),await r.push("/coordinate"))}catch(o){console.warn("重定向跳转失败,跳转到默认页面:",o),await r.push("/coordinate")}else await r.push("/coordinate")}catch(o){console.error("登录跳转异常:",o),await r.push("/coordinate")}finally{i.value=!1}}function I(o){const e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let n="";for(let s=0;s<o;s++)n+=e.charAt(Math.floor(Math.random()*e.length));return n}function k(){"Notification"in window?Notification.requestPermission().then(()=>{}):console.log("浏览器不支持通知")}return D(async()=>{C.initUdid()}),(o,e)=>{const n=p("el-input"),s=p("el-form-item"),f=p("el-button"),c=p("el-form");return h(),_("div",A,[m("div",J,[m("div",P,[e[3]||(e[3]=m("div",{class:"selected-rectangle"},null,-1)),a(c,{ref:"loginRef",class:"form-info",model:t.value,rules:V},{default:u(()=>[e[2]||(e[2]=m("h3",{class:"title"},"欢迎登录",-1)),a(s,{prop:"username"},{default:u(()=>[a(n,{modelValue:t.value.username,"onUpdate:modelValue":e[0]||(e[0]=g=>t.value.username=g),"auto-complete":"off",placeholder:"请输入您的账号",size:"large",type:"text"},null,8,["modelValue"])]),_:1}),a(s,{prop:"password"},{default:u(()=>[a(n,{modelValue:t.value.password,"onUpdate:modelValue":e[1]||(e[1]=g=>t.value.password=g),"auto-complete":"off",placeholder:"请输入密码",size:"large",type:"password",onKeyup:z(v,["enter"])},null,8,["modelValue"])]),_:1}),a(s,null,{default:u(()=>[a(f,{loading:i.value,size:"large",class:"button-login",type:"primary",onClick:E(v,["prevent"])},{default:u(()=>[i.value?(h(),_("span",j,"登录中...")):(h(),_("span",$,"登 录"))]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])])])}}},Q=q(F,[["__scopeId","data-v-aec6e781"]]);export{Q as default};
|
||||
import{_ as q,i as M,j as N,k as U,r as d,l as b,m as D,c as _,f as m,d as a,w as u,e as p,a as R,u as B,o as h,n as z,p as E,E as K}from"./index-nRSe4xNB.js";import{C as L}from"./index-Dl6L4IJG.js";const A={class:"loginView"},J={class:"wrapper-content"},P={class:"login-form"},$={key:0},j={key:1},F={__name:"login",setup(G){const w=M(),r=R(),y=B(),{proxy:S}=N(),C=U(),l=d(void 0);d(!0),b(()=>y,o=>{l.value=o.query&&o.query.redirect},{immediate:!0});const t=d({username:"",password:""}),V={username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"}]},i=d(!1);function v(){S.$refs.loginRef.validate(o=>{if(o){if(i.value=!0,!(localStorage!=null&&localStorage.getItem("UDID"))){K({message:"服务错误,请刷新页面",type:"warning"});return}const e=(t.value.username+(localStorage==null?void 0:localStorage.getItem("UDID"))).toLowerCase().replaceAll("-",""),s=`Gx${I(6)}${t.value.password}`,f=L.Blowfish.encrypt(s,e).toString();w.login({password:f,username:t.value.username}).then(async c=>{JSON.parse(sessionStorage.getItem("userData")),await x()}).catch(c=>{console.log("登录失败",c),i.value=!1})}}),k()}async function x(){try{if(l.value&&l.value!=="/login")try{r.resolve(l.value).matched.length>0?await r.push(l.value):(console.warn("重定向路径无效,跳转到默认页面"),await r.push("/coordinate"))}catch(o){console.warn("重定向跳转失败,跳转到默认页面:",o),await r.push("/coordinate")}else await r.push("/coordinate")}catch(o){console.error("登录跳转异常:",o),await r.push("/coordinate")}finally{i.value=!1}}function I(o){const e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let n="";for(let s=0;s<o;s++)n+=e.charAt(Math.floor(Math.random()*e.length));return n}function k(){"Notification"in window?Notification.requestPermission().then(()=>{}):console.log("浏览器不支持通知")}return D(async()=>{C.initUdid()}),(o,e)=>{const n=p("el-input"),s=p("el-form-item"),f=p("el-button"),c=p("el-form");return h(),_("div",A,[m("div",J,[m("div",P,[e[3]||(e[3]=m("div",{class:"selected-rectangle"},null,-1)),a(c,{ref:"loginRef",class:"form-info",model:t.value,rules:V},{default:u(()=>[e[2]||(e[2]=m("h3",{class:"title"},"欢迎登录",-1)),a(s,{prop:"username"},{default:u(()=>[a(n,{modelValue:t.value.username,"onUpdate:modelValue":e[0]||(e[0]=g=>t.value.username=g),"auto-complete":"off",placeholder:"请输入您的账号",size:"large",type:"text"},null,8,["modelValue"])]),_:1}),a(s,{prop:"password"},{default:u(()=>[a(n,{modelValue:t.value.password,"onUpdate:modelValue":e[1]||(e[1]=g=>t.value.password=g),"auto-complete":"off",placeholder:"请输入密码",size:"large",type:"password",onKeyup:z(v,["enter"])},null,8,["modelValue"])]),_:1}),a(s,null,{default:u(()=>[a(f,{loading:i.value,size:"large",class:"button-login",type:"primary",onClick:E(v,["prevent"])},{default:u(()=>[i.value?(h(),_("span",j,"登录中...")):(h(),_("span",$,"登 录"))]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])])])}}},Q=q(F,[["__scopeId","data-v-aec6e781"]]);export{Q as default};
|
||||
BIN
dist/assets/login-B5BrSdAh.js.gz
vendored
Normal file
BIN
dist/assets/login-B5BrSdAh.js.gz
vendored
Normal file
Binary file not shown.
BIN
dist/assets/login-ZNL3XKVp.js.gz
vendored
BIN
dist/assets/login-ZNL3XKVp.js.gz
vendored
Binary file not shown.
BIN
dist/assets/room-BKpValiO.js.gz
vendored
BIN
dist/assets/room-BKpValiO.js.gz
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
dist/assets/room-BSjtcFv-.js.gz
vendored
Normal file
BIN
dist/assets/room-BSjtcFv-.js.gz
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user