1
0
Fork 0
mirror of https://github.com/silenty4ng/k5web synced 2025-04-04 07:05:05 +00:00
This commit is contained in:
Silent YANG 2025-03-20 06:52:46 +08:00
parent 5a6f170dd1
commit 5da32df12a
66 changed files with 35 additions and 35 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
.container[data-v-c809b00a]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-c809b00a] .arco-list-content{overflow-x:hidden}.container[data-v-c809b00a] .arco-card-meta-title{font-size:14px}[data-v-c809b00a] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-c809b00a] .arco-list-item{width:33%}[data-v-c809b00a] .block-title{margin:0 0 12px;font-size:14px}[data-v-c809b00a] .list-wrap .list-row{align-items:stretch}[data-v-c809b00a] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-c809b00a] .list-wrap :deep(.arco-space){width:100%}[data-v-c809b00a] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

View file

@ -0,0 +1 @@
[data-v-d754cb60] ::-webkit-scrollbar-thumb{border-radius:0!important}[data-v-d754cb60] .scrollbar::-webkit-scrollbar{height:10px}[data-v-d754cb60] .t-table__content::-webkit-scrollbar{height:15px}.container[data-v-d754cb60]{padding:0 20px 20px;padding:0 .781vw .781vw}[data-v-d754cb60] .arco-table-th:last-child .arco-table-th-item-title{margin-left:16px}.action-icon[data-v-d754cb60]{margin-left:12px;cursor:pointer}.active[data-v-d754cb60]{color:#0960bd;background-color:#e3f4fc}.setting[data-v-d754cb60]{display:flex;align-items:center;width:200px;width:7.813vw}.setting .title[data-v-d754cb60]{margin-left:12px;cursor:pointer}.ttable[data-v-d754cb60] .t-table__affixed-header-elm-wrap{height:60px!important;height:2.344vw!important}.ttable[data-v-d754cb60] .t-table__content{scrollbar-width:auto!important}

Binary file not shown.

View file

@ -0,0 +1 @@
.container[data-v-c42ed1da]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-c42ed1da] .arco-list-content{overflow-x:hidden}.container[data-v-c42ed1da] .arco-card-meta-title{font-size:14px}[data-v-c42ed1da] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-c42ed1da] .arco-list-item{width:33%}[data-v-c42ed1da] .block-title{margin:0 0 12px;font-size:14px}[data-v-c42ed1da] .list-wrap .list-row{align-items:stretch}[data-v-c42ed1da] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-c42ed1da] .list-wrap :deep(.arco-space){width:100%}[data-v-c42ed1da] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
.container[data-v-eeca8f9a]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-eeca8f9a] .arco-list-content{overflow-x:hidden}.container[data-v-eeca8f9a] .arco-card-meta-title{font-size:14px}[data-v-eeca8f9a] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-eeca8f9a] .arco-list-item{width:33%}[data-v-eeca8f9a] .block-title{margin:0 0 12px;font-size:14px}[data-v-eeca8f9a] .list-wrap .list-row{align-items:stretch}[data-v-eeca8f9a] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-eeca8f9a] .list-wrap :deep(.arco-space){width:100%}[data-v-eeca8f9a] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

View file

@ -1 +1 @@
import{R as i,d as s}from"./@arco-design.95e0b031.js";import"./vue.24dcbee8.js";import{b as m}from"./vue-router.425aabc5.js";import{d as a,a as n,x as t,e as _,u as c,o as u,z as d}from"./@vue.2faf1d8e.js";import{_ as l}from"./index.6ba7f7f2.js";import"./b-tween.8dd4e2fe.js";import"./dayjs.08dc07e5.js";import"./@intlify.b8ed1d74.js";import"./b-validate.1fdaeb97.js";import"./number-precision.5cddbed2.js";import"./resize-observer-polyfill.2b976e6e.js";import"./scroll-into-view-if-needed.0a5da943.js";import"./compute-scroll-into-view.17358474.js";import"./vue-echarts.29561399.js";import"./resize-detector.a8854a64.js";import"./echarts.5b0e6023.js";import"./zrender.ce26131e.js";import"./tslib.c6ba9914.js";import"./nprogress.77f16b3e.js";import"./mitt.550594b0.js";import"./pinia.510425a1.js";import"./vue-demi.1e0b7689.js";import"./axios.234ce069.js";import"./vue-i18n.4b9acc8b.js";import"./@vueuse.c5c16882.js";import"./aegis-web-sdk.088ecaea.js";import"./@zxing.8654f0db.js";import"./tdesign-vue-next.62a9d0ce.js";import"./tdesign-icons-vue-next.514651cc.js";import"./sortablejs.b2e3c7c4.js";import"./@popperjs.f3f73334.js";import"./vue-matomo.ed94ba67.js";const f={class:"content"},x={class:"operation-row"},b=a({__name:"index",setup(k){const o=m(),e=()=>{o.push({name:"Workplace"})};return(h,v)=>{const r=i,p=s;return u(),n("div",f,[t(r,{class:"result",status:"404",subtitle:"\u627E\u4E0D\u5230\u7F51\u9875"}),_("div",x,[t(p,{key:"back",type:"primary",onClick:e},{default:c(()=>[d(" \u8FD4\u56DE ")]),_:1})])])}}});const $=l(b,[["__scopeId","data-v-8bef407f"]]);export{$ as default};
import{R as i,d as s}from"./@arco-design.95e0b031.js";import"./vue.24dcbee8.js";import{b as m}from"./vue-router.425aabc5.js";import{d as a,a as n,x as t,e as _,u as c,o as u,z as d}from"./@vue.2faf1d8e.js";import{_ as l}from"./index.4b21480b.js";import"./b-tween.8dd4e2fe.js";import"./dayjs.08dc07e5.js";import"./@intlify.b8ed1d74.js";import"./b-validate.1fdaeb97.js";import"./number-precision.5cddbed2.js";import"./resize-observer-polyfill.2b976e6e.js";import"./scroll-into-view-if-needed.0a5da943.js";import"./compute-scroll-into-view.17358474.js";import"./vue-echarts.29561399.js";import"./resize-detector.a8854a64.js";import"./echarts.5b0e6023.js";import"./zrender.ce26131e.js";import"./tslib.c6ba9914.js";import"./nprogress.77f16b3e.js";import"./mitt.550594b0.js";import"./pinia.510425a1.js";import"./vue-demi.1e0b7689.js";import"./axios.234ce069.js";import"./vue-i18n.4b9acc8b.js";import"./@vueuse.c5c16882.js";import"./aegis-web-sdk.088ecaea.js";import"./@zxing.8654f0db.js";import"./tdesign-vue-next.62a9d0ce.js";import"./tdesign-icons-vue-next.514651cc.js";import"./sortablejs.b2e3c7c4.js";import"./@popperjs.f3f73334.js";import"./vue-matomo.ed94ba67.js";const f={class:"content"},x={class:"operation-row"},b=a({__name:"index",setup(k){const o=m(),e=()=>{o.push({name:"Workplace"})};return(h,v)=>{const r=i,p=s;return u(),n("div",f,[t(r,{class:"result",status:"404",subtitle:"\u627E\u4E0D\u5230\u7F51\u9875"}),_("div",x,[t(p,{key:"back",type:"primary",onClick:e},{default:c(()=>[d(" \u8FD4\u56DE ")]),_:1})])])}}});const $=l(b,[["__scopeId","data-v-8bef407f"]]);export{$ as default};

View file

@ -0,0 +1 @@
[data-v-7f8ac41e] ::-webkit-scrollbar-thumb{border-radius:0!important}[data-v-7f8ac41e] .scrollbar::-webkit-scrollbar{height:10px}[data-v-7f8ac41e] .t-table__content::-webkit-scrollbar{height:15px}.container[data-v-7f8ac41e]{padding:0 20px 20px;padding:0 .781vw .781vw}[data-v-7f8ac41e] .arco-table-th:last-child .arco-table-th-item-title{margin-left:16px}.action-icon[data-v-7f8ac41e]{margin-left:12px;cursor:pointer}.active[data-v-7f8ac41e]{color:#0960bd;background-color:#e3f4fc}.setting[data-v-7f8ac41e]{display:flex;align-items:center;width:200px;width:7.813vw}.setting .title[data-v-7f8ac41e]{margin-left:12px;cursor:pointer}.ttable[data-v-7f8ac41e] .t-table__affixed-header-elm-wrap{height:60px!important;height:2.344vw!important}.ttable[data-v-7f8ac41e] .t-table__content{scrollbar-width:auto!important}

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

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

View file

@ -1 +0,0 @@
[data-v-578c75cb] ::-webkit-scrollbar-thumb{border-radius:0!important}[data-v-578c75cb] .scrollbar::-webkit-scrollbar{height:10px}[data-v-578c75cb] .t-table__content::-webkit-scrollbar{height:15px}.container[data-v-578c75cb]{padding:0 20px 20px;padding:0 .781vw .781vw}[data-v-578c75cb] .arco-table-th:last-child .arco-table-th-item-title{margin-left:16px}.action-icon[data-v-578c75cb]{margin-left:12px;cursor:pointer}.active[data-v-578c75cb]{color:#0960bd;background-color:#e3f4fc}.setting[data-v-578c75cb]{display:flex;align-items:center;width:200px;width:7.813vw}.setting .title[data-v-578c75cb]{margin-left:12px;cursor:pointer}.ttable[data-v-578c75cb] .t-table__affixed-header-elm-wrap{height:60px!important;height:2.344vw!important}.ttable[data-v-578c75cb] .t-table__content{scrollbar-width:auto!important}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

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

1
assets/index.6151a49c.js Normal file

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
.container[data-v-9419f98b]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-9419f98b] .arco-list-content{overflow-x:hidden}.container[data-v-9419f98b] .arco-card-meta-title{font-size:14px}[data-v-9419f98b] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-9419f98b] .arco-list-item{width:33%}[data-v-9419f98b] .block-title{margin:0 0 12px;font-size:14px}[data-v-9419f98b] .list-wrap .list-row{align-items:stretch}[data-v-9419f98b] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-9419f98b] .list-wrap :deep(.arco-space){width:100%}[data-v-9419f98b] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

Binary file not shown.

1
assets/index.6dae9d05.js Normal file

File diff suppressed because one or more lines are too long

1
assets/index.73d9f2bc.js Normal file

File diff suppressed because one or more lines are too long

1
assets/index.75c09a01.js Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
.container[data-v-3d4eeb96]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-3d4eeb96] .arco-list-content{overflow-x:hidden}.container[data-v-3d4eeb96] .arco-card-meta-title{font-size:14px}[data-v-3d4eeb96] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-3d4eeb96] .arco-list-item{width:33%}[data-v-3d4eeb96] .block-title{margin:0 0 12px;font-size:14px}[data-v-3d4eeb96] .list-wrap .list-row{align-items:stretch}[data-v-3d4eeb96] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-3d4eeb96] .list-wrap :deep(.arco-space){width:100%}[data-v-3d4eeb96] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
.container[data-v-ca3efa9c]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-ca3efa9c] .arco-list-content{overflow-x:hidden}.container[data-v-ca3efa9c] .arco-card-meta-title{font-size:14px}[data-v-ca3efa9c] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-ca3efa9c] .arco-list-item{width:33%}[data-v-ca3efa9c] .block-title{margin:0 0 12px;font-size:14px}[data-v-ca3efa9c] .list-wrap .list-row{align-items:stretch}[data-v-ca3efa9c] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-ca3efa9c] .list-wrap :deep(.arco-space){width:100%}[data-v-ca3efa9c] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
import{O as m,d as _}from"./@arco-design.95e0b031.js";import"./vue.24dcbee8.js";import{d as F,h as f,l as h,a as g,N as p,O as d,e as o,z as n,x as i,A as r,u as y,b9 as v,b8 as A,o as b}from"./@vue.2faf1d8e.js";import{_ as D}from"./index.6ba7f7f2.js";import"./b-tween.8dd4e2fe.js";import"./dayjs.08dc07e5.js";import"./@intlify.b8ed1d74.js";import"./b-validate.1fdaeb97.js";import"./number-precision.5cddbed2.js";import"./resize-observer-polyfill.2b976e6e.js";import"./scroll-into-view-if-needed.0a5da943.js";import"./compute-scroll-into-view.17358474.js";import"./vue-echarts.29561399.js";import"./resize-detector.a8854a64.js";import"./echarts.5b0e6023.js";import"./zrender.ce26131e.js";import"./tslib.c6ba9914.js";import"./vue-router.425aabc5.js";import"./nprogress.77f16b3e.js";import"./mitt.550594b0.js";import"./pinia.510425a1.js";import"./vue-demi.1e0b7689.js";import"./axios.234ce069.js";import"./vue-i18n.4b9acc8b.js";import"./@vueuse.c5c16882.js";import"./aegis-web-sdk.088ecaea.js";import"./@zxing.8654f0db.js";import"./tdesign-vue-next.62a9d0ce.js";import"./tdesign-icons-vue-next.514651cc.js";import"./sortablejs.b2e3c7c4.js";import"./@popperjs.f3f73334.js";import"./vue-matomo.ed94ba67.js";const s=a=>(v("data-v-da2b92fd"),a=a(),A(),a),S={class:"container"},x={style:{"background-color":"#fff",padding:"10%"}},B=s(()=>o("br",null,null,-1)),C={style:{"background-color":"#fff",padding:"10%"}},E=s(()=>o("p",{style:{"font-size":"1.5rem","font-weight":"bold"}}," \u83B7\u53D6\u4FE1\u606F\uFF08Information\uFF09 ",-1)),k={name:"SatLoc"},w=F({...k,setup(a){const t=f({lat:0,lng:0,alt:0,type:0,uuid:""});h(()=>{t.uuid=new URLSearchParams(location.hash.replace("#/satloc?","")).get("uuid"),navigator.geolocation.getCurrentPosition(e=>{e.coords&&(t.lat=e.coords.latitude,t.lng=e.coords.longitude,e.coords.altitude&&(t.alt=e.coords.altitude))})});const c=async()=>{await fetch("https://k5.vicicode.cn/api/lol",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({func:0,uuid:t.uuid,cache:JSON.stringify([t.lng,t.lat,t.alt])})}),t.type=1};return(e,N)=>{const u=m,l=_;return b(),g("div",S,[p(o("div",x,[n(" \u8BF7\u70B9\u51FB\u7F51\u9875\u201C\u5DF2\u626B\u7801\u4E0A\u4F20\u201D\u6309\u94AE "),B,n(' Please click on the "Scanned and Uploaded" button on PC page. ')],512),[[d,t.type!=0]]),p(o("div",C,[E,i(u),o("p",null," \u53F0\u7AD9\u7ECF\u5EA6\uFF08Longitude\uFF09\uFF1A"+r(t.lng),1),i(u),o("p",null," \u53F0\u7AD9\u7EAC\u5EA6\uFF08Latitude\uFF09\uFF1A"+r(t.lat),1),i(u),o("p",null," \u53F0\u7AD9\u6D77\u62D4\uFF08Altitude\uFF09\uFF1A"+r(t.alt),1),i(u),i(l,{type:"primary",onClick:c},{default:y(()=>[n("\u4E0A\u4F20\uFF08Upload\uFF09")]),_:1})],512),[[d,t.type==0]])])}}});const st=D(w,[["__scopeId","data-v-da2b92fd"]]);export{st as default};
import{O as m,d as _}from"./@arco-design.95e0b031.js";import"./vue.24dcbee8.js";import{d as F,h as f,l as h,a as g,N as p,O as d,e as o,z as n,x as i,A as r,u as y,b9 as v,b8 as A,o as b}from"./@vue.2faf1d8e.js";import{_ as D}from"./index.4b21480b.js";import"./b-tween.8dd4e2fe.js";import"./dayjs.08dc07e5.js";import"./@intlify.b8ed1d74.js";import"./b-validate.1fdaeb97.js";import"./number-precision.5cddbed2.js";import"./resize-observer-polyfill.2b976e6e.js";import"./scroll-into-view-if-needed.0a5da943.js";import"./compute-scroll-into-view.17358474.js";import"./vue-echarts.29561399.js";import"./resize-detector.a8854a64.js";import"./echarts.5b0e6023.js";import"./zrender.ce26131e.js";import"./tslib.c6ba9914.js";import"./vue-router.425aabc5.js";import"./nprogress.77f16b3e.js";import"./mitt.550594b0.js";import"./pinia.510425a1.js";import"./vue-demi.1e0b7689.js";import"./axios.234ce069.js";import"./vue-i18n.4b9acc8b.js";import"./@vueuse.c5c16882.js";import"./aegis-web-sdk.088ecaea.js";import"./@zxing.8654f0db.js";import"./tdesign-vue-next.62a9d0ce.js";import"./tdesign-icons-vue-next.514651cc.js";import"./sortablejs.b2e3c7c4.js";import"./@popperjs.f3f73334.js";import"./vue-matomo.ed94ba67.js";const s=a=>(v("data-v-da2b92fd"),a=a(),A(),a),S={class:"container"},x={style:{"background-color":"#fff",padding:"10%"}},B=s(()=>o("br",null,null,-1)),C={style:{"background-color":"#fff",padding:"10%"}},E=s(()=>o("p",{style:{"font-size":"1.5rem","font-weight":"bold"}}," \u83B7\u53D6\u4FE1\u606F\uFF08Information\uFF09 ",-1)),k={name:"SatLoc"},w=F({...k,setup(a){const t=f({lat:0,lng:0,alt:0,type:0,uuid:""});h(()=>{t.uuid=new URLSearchParams(location.hash.replace("#/satloc?","")).get("uuid"),navigator.geolocation.getCurrentPosition(e=>{e.coords&&(t.lat=e.coords.latitude,t.lng=e.coords.longitude,e.coords.altitude&&(t.alt=e.coords.altitude))})});const c=async()=>{await fetch("https://k5.vicicode.cn/api/lol",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({func:0,uuid:t.uuid,cache:JSON.stringify([t.lng,t.lat,t.alt])})}),t.type=1};return(e,N)=>{const u=m,l=_;return b(),g("div",S,[p(o("div",x,[n(" \u8BF7\u70B9\u51FB\u7F51\u9875\u201C\u5DF2\u626B\u7801\u4E0A\u4F20\u201D\u6309\u94AE "),B,n(' Please click on the "Scanned and Uploaded" button on PC page. ')],512),[[d,t.type!=0]]),p(o("div",C,[E,i(u),o("p",null," \u53F0\u7AD9\u7ECF\u5EA6\uFF08Longitude\uFF09\uFF1A"+r(t.lng),1),i(u),o("p",null," \u53F0\u7AD9\u7EAC\u5EA6\uFF08Latitude\uFF09\uFF1A"+r(t.lat),1),i(u),o("p",null," \u53F0\u7AD9\u6D77\u62D4\uFF08Altitude\uFF09\uFF1A"+r(t.alt),1),i(u),i(l,{type:"primary",onClick:c},{default:y(()=>[n("\u4E0A\u4F20\uFF08Upload\uFF09")]),_:1})],512),[[d,t.type==0]])])}}});const st=D(w,[["__scopeId","data-v-da2b92fd"]]);export{st as default};

View file

@ -1 +0,0 @@
.container[data-v-132b4f44]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-132b4f44] .arco-list-content{overflow-x:hidden}.container[data-v-132b4f44] .arco-card-meta-title{font-size:14px}[data-v-132b4f44] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-132b4f44] .arco-list-item{width:33%}[data-v-132b4f44] .block-title{margin:0 0 12px;font-size:14px}[data-v-132b4f44] .list-wrap .list-row{align-items:stretch}[data-v-132b4f44] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-132b4f44] .list-wrap :deep(.arco-space){width:100%}[data-v-132b4f44] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

View file

@ -0,0 +1 @@
.container[data-v-7b502477]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-7b502477] .arco-list-content{overflow-x:hidden}.container[data-v-7b502477] .arco-card-meta-title{font-size:14px}[data-v-7b502477] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-7b502477] .arco-list-item{width:33%}[data-v-7b502477] .block-title{margin:0 0 12px;font-size:14px}[data-v-7b502477] .list-wrap .list-row{align-items:stretch}[data-v-7b502477] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-7b502477] .list-wrap :deep(.arco-space){width:100%}[data-v-7b502477] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
.container[data-v-10614cc6]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-10614cc6] .arco-list-content{overflow-x:hidden}.container[data-v-10614cc6] .arco-card-meta-title{font-size:14px}[data-v-10614cc6] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-10614cc6] .arco-list-item{width:33%}[data-v-10614cc6] .block-title{margin:0 0 12px;font-size:14px}[data-v-10614cc6] .list-wrap .list-row{align-items:stretch}[data-v-10614cc6] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-10614cc6] .list-wrap :deep(.arco-space){width:100%}[data-v-10614cc6] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
[data-v-5c010fac] ::-webkit-scrollbar-thumb{border-radius:0!important}[data-v-5c010fac] .scrollbar::-webkit-scrollbar{height:10px}[data-v-5c010fac] .t-table__content::-webkit-scrollbar{height:15px}.container[data-v-5c010fac]{padding:0 20px 20px;padding:0 .781vw .781vw}[data-v-5c010fac] .arco-table-th:last-child .arco-table-th-item-title{margin-left:16px}.action-icon[data-v-5c010fac]{margin-left:12px;cursor:pointer}.active[data-v-5c010fac]{color:#0960bd;background-color:#e3f4fc}.setting[data-v-5c010fac]{display:flex;align-items:center;width:200px;width:7.813vw}.setting .title[data-v-5c010fac]{margin-left:12px;cursor:pointer}.ttable[data-v-5c010fac] .t-table__affixed-header-elm-wrap{height:60px!important;height:2.344vw!important}.ttable[data-v-5c010fac] .t-table__content{scrollbar-width:auto!important}

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

Binary file not shown.

View file

@ -1 +0,0 @@
.container[data-v-cec4bf24]{padding:0 20px 20px;padding:0 .781vw .781vw}.container[data-v-cec4bf24] .arco-list-content{overflow-x:hidden}.container[data-v-cec4bf24] .arco-card-meta-title{font-size:14px}[data-v-cec4bf24] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-cec4bf24] .arco-list-item{width:33%}[data-v-cec4bf24] .block-title{margin:0 0 12px;font-size:14px}[data-v-cec4bf24] .list-wrap .list-row{align-items:stretch}[data-v-cec4bf24] .list-wrap .list-row .list-col{margin-bottom:16px;margin-bottom:.625vw}[data-v-cec4bf24] .list-wrap :deep(.arco-space){width:100%}[data-v-cec4bf24] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

View file

@ -1 +1 @@
import{d as A,g as C,_ as D}from"./index.6ba7f7f2.js";import{a6 as O,P as N,d as P,k as x,a7 as V,O as $,U as R,_ as S}from"./@arco-design.95e0b031.js";import"./vue.24dcbee8.js";import{u as T}from"./vue-router.425aabc5.js";import{d as f,c as I,r as m,j as y,k as j,l as q,m as H}from"./serial.d615852e.js";import{d as M,h as U,l as L,o as z,a as G,x as i,u as r,e as c,z as _,A as b,D as F}from"./@vue.2faf1d8e.js";import"./vue-echarts.29561399.js";import"./resize-detector.a8854a64.js";import"./echarts.5b0e6023.js";import"./zrender.ce26131e.js";import"./tslib.c6ba9914.js";import"./nprogress.77f16b3e.js";import"./@intlify.b8ed1d74.js";import"./mitt.550594b0.js";import"./pinia.510425a1.js";import"./vue-demi.1e0b7689.js";import"./axios.234ce069.js";import"./vue-i18n.4b9acc8b.js";import"./@vueuse.c5c16882.js";import"./aegis-web-sdk.088ecaea.js";import"./@zxing.8654f0db.js";import"./tdesign-vue-next.62a9d0ce.js";import"./tdesign-icons-vue-next.514651cc.js";import"./sortablejs.b2e3c7c4.js";import"./@popperjs.f3f73334.js";import"./vue-matomo.ed94ba67.js";import"./b-tween.8dd4e2fe.js";import"./dayjs.08dc07e5.js";import"./b-validate.1fdaeb97.js";import"./number-precision.5cddbed2.js";import"./resize-observer-polyfill.2b976e6e.js";import"./scroll-into-view-if-needed.0a5da943.js";import"./compute-scroll-into-view.17358474.js";const W={class:"container"},J={style:{display:"flex","justify-content":"space-between","align-items":"center"}},K=["innerHTML"],Q={name:"Flash"},X=M({...Q,setup(Y){const p=A(),e=U({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907<br/><br/>",binaryFile:void 0,binaryName:"",protocol:"Official"}),l=T();L(async()=>{var t;if(l.query.url){const a=await fetch(l.query.url),o=(t=a==null?void 0:a.body)==null?void 0:t.getReader();if(o){const s=[];for(;;){const{done:n,value:d}=await o.read();if(n)break;s.push(...d)}const u=new Uint8Array(s);e.binaryFile=u,e.binaryName=l.query.url.substring(l.query.url.lastIndexOf("/")+1).split("?")[0]+" "}}});const h=()=>{const t=document.createElement("input");t.type="file",t.onchange=async()=>{const a=new Blob([t.files[0]],{type:"application/octet-stream"}),o=new Uint8Array(await a.arrayBuffer());e.binaryFile=o,e.binaryName=t.files[0].name},t.click()},g=async()=>{if(!e.binaryFile){alert("\u8BF7\u9009\u62E9\u6587\u4EF6");return}p.connectPort&&await f(p.connectPort);let t=await I();e.protocol=="Official"&&await m(t,24,1e3),e.protocol=="Official"&&(await y(t,[48,5,16,0,42,79,69,70,87,45,76,79,83,69,72,85,0,0,0,0]),await m(t,24));const a=j(e.binaryFile);if(a.length>61440)throw alert("\u6700\u540E\u7684\u8FB9\u754C\u68C0\u67E5\u5931\u8D25\u3002\u4E0D\u7BA1\u662F\u8C01\u4FEE\u6539\u4E86\u4EE3\u7801\uFF0C\u4ED6\u90FD\u662F\u4E2A\u767D\u75F4\u3002"),new Error("Last resort boundary check failed. Whoever touched the code is an idiot.");for(let o=0;o<a.length;o+=256){const s=a.slice(o,o+256),u=q(s,o,a.length);try{await y(t,u),e.protocol=="Official"?await m(t,26):await H(t)}catch(n){return console.log("Flash command rejected. Aborting."),Promise.reject(n)}e.status=e.status+`\u66F4\u65B0\u8FDB\u5EA6 ${(o/a.length*100).toFixed(1)}%<br/>`,F(()=>{const n=document==null?void 0:document.getElementById("statusArea");n&&(n.scrollTop=n==null?void 0:n.scrollHeight)})}e.status=e.status+"\u66F4\u65B0\u8FDB\u5EA6 100.0%<br/>",e.status=e.status+"\u56FA\u4EF6\u66F4\u65B0\u6210\u529F",F(()=>{const o=document==null?void 0:document.getElementById("statusArea");o&&(o.scrollTop=o==null?void 0:o.scrollHeight)}),f(t),p.updateSettings({connectState:!1})};return(t,a)=>{const o=C,s=P,u=x,n=O,d=V,w=$,E=N,B=R,v=S;return z(),G("div",W,[i(o,{items:[t.$t("menu.list"),t.$t("menu.flash")]},null,8,["items"]),i(v,{gutter:20,align:"stretch"},{default:r(()=>[i(B,{span:24},{default:r(()=>[i(E,{class:"general-card",title:t.$t("menu.flash")+t.$t("global.onBoot")},{default:r(()=>[c("div",J,[c("div",null,[i(u,null,{default:r(()=>[i(s,{onClick:h},{default:r(()=>[_(b(e.binaryFile?e.binaryName:t.$t("tool.selectFirmware")),1)]),_:1}),i(s,{type:"primary",disabled:!e.binaryFile,onClick:g},{default:r(()=>[_(b(t.$t("tool.flash")),1)]),_:1},8,["disabled"])]),_:1})]),c("div",null,[i(d,{type:"button",size:"mini",modelValue:e.protocol,"onUpdate:modelValue":a[0]||(a[0]=k=>e.protocol=k)},{default:r(()=>[i(n,{value:"Official"},{default:r(()=>[_("Official")]),_:1})]),_:1},8,["modelValue"])])]),i(w),c("div",{id:"statusArea",style:{height:"20em","background-color":"var(--color-bg-3)",color:"var(--color-text-3)",overflow:"auto",padding:"20px"},innerHTML:e.status},null,8,K)]),_:1},8,["title"])]),_:1})]),_:1})])}}});const xt=D(X,[["__scopeId","data-v-f272bde7"]]);export{xt as default};
import{d as A,g as C,_ as D}from"./index.4b21480b.js";import{a6 as O,P as N,d as P,k as x,a7 as V,O as $,U as R,_ as S}from"./@arco-design.95e0b031.js";import"./vue.24dcbee8.js";import{u as T}from"./vue-router.425aabc5.js";import{d as f,c as I,r as m,j as y,k as j,l as q,m as H}from"./serial.d615852e.js";import{d as M,h as U,l as L,o as z,a as G,x as i,u as r,e as c,z as _,A as b,D as F}from"./@vue.2faf1d8e.js";import"./vue-echarts.29561399.js";import"./resize-detector.a8854a64.js";import"./echarts.5b0e6023.js";import"./zrender.ce26131e.js";import"./tslib.c6ba9914.js";import"./nprogress.77f16b3e.js";import"./@intlify.b8ed1d74.js";import"./mitt.550594b0.js";import"./pinia.510425a1.js";import"./vue-demi.1e0b7689.js";import"./axios.234ce069.js";import"./vue-i18n.4b9acc8b.js";import"./@vueuse.c5c16882.js";import"./aegis-web-sdk.088ecaea.js";import"./@zxing.8654f0db.js";import"./tdesign-vue-next.62a9d0ce.js";import"./tdesign-icons-vue-next.514651cc.js";import"./sortablejs.b2e3c7c4.js";import"./@popperjs.f3f73334.js";import"./vue-matomo.ed94ba67.js";import"./b-tween.8dd4e2fe.js";import"./dayjs.08dc07e5.js";import"./b-validate.1fdaeb97.js";import"./number-precision.5cddbed2.js";import"./resize-observer-polyfill.2b976e6e.js";import"./scroll-into-view-if-needed.0a5da943.js";import"./compute-scroll-into-view.17358474.js";const W={class:"container"},J={style:{display:"flex","justify-content":"space-between","align-items":"center"}},K=["innerHTML"],Q={name:"Flash"},X=M({...Q,setup(Y){const p=A(),e=U({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907<br/><br/>",binaryFile:void 0,binaryName:"",protocol:"Official"}),l=T();L(async()=>{var t;if(l.query.url){const a=await fetch(l.query.url),o=(t=a==null?void 0:a.body)==null?void 0:t.getReader();if(o){const s=[];for(;;){const{done:n,value:d}=await o.read();if(n)break;s.push(...d)}const u=new Uint8Array(s);e.binaryFile=u,e.binaryName=l.query.url.substring(l.query.url.lastIndexOf("/")+1).split("?")[0]+" "}}});const h=()=>{const t=document.createElement("input");t.type="file",t.onchange=async()=>{const a=new Blob([t.files[0]],{type:"application/octet-stream"}),o=new Uint8Array(await a.arrayBuffer());e.binaryFile=o,e.binaryName=t.files[0].name},t.click()},g=async()=>{if(!e.binaryFile){alert("\u8BF7\u9009\u62E9\u6587\u4EF6");return}p.connectPort&&await f(p.connectPort);let t=await I();e.protocol=="Official"&&await m(t,24,1e3),e.protocol=="Official"&&(await y(t,[48,5,16,0,42,79,69,70,87,45,76,79,83,69,72,85,0,0,0,0]),await m(t,24));const a=j(e.binaryFile);if(a.length>61440)throw alert("\u6700\u540E\u7684\u8FB9\u754C\u68C0\u67E5\u5931\u8D25\u3002\u4E0D\u7BA1\u662F\u8C01\u4FEE\u6539\u4E86\u4EE3\u7801\uFF0C\u4ED6\u90FD\u662F\u4E2A\u767D\u75F4\u3002"),new Error("Last resort boundary check failed. Whoever touched the code is an idiot.");for(let o=0;o<a.length;o+=256){const s=a.slice(o,o+256),u=q(s,o,a.length);try{await y(t,u),e.protocol=="Official"?await m(t,26):await H(t)}catch(n){return console.log("Flash command rejected. Aborting."),Promise.reject(n)}e.status=e.status+`\u66F4\u65B0\u8FDB\u5EA6 ${(o/a.length*100).toFixed(1)}%<br/>`,F(()=>{const n=document==null?void 0:document.getElementById("statusArea");n&&(n.scrollTop=n==null?void 0:n.scrollHeight)})}e.status=e.status+"\u66F4\u65B0\u8FDB\u5EA6 100.0%<br/>",e.status=e.status+"\u56FA\u4EF6\u66F4\u65B0\u6210\u529F",F(()=>{const o=document==null?void 0:document.getElementById("statusArea");o&&(o.scrollTop=o==null?void 0:o.scrollHeight)}),f(t),p.updateSettings({connectState:!1})};return(t,a)=>{const o=C,s=P,u=x,n=O,d=V,w=$,E=N,B=R,v=S;return z(),G("div",W,[i(o,{items:[t.$t("menu.list"),t.$t("menu.flash")]},null,8,["items"]),i(v,{gutter:20,align:"stretch"},{default:r(()=>[i(B,{span:24},{default:r(()=>[i(E,{class:"general-card",title:t.$t("menu.flash")+t.$t("global.onBoot")},{default:r(()=>[c("div",J,[c("div",null,[i(u,null,{default:r(()=>[i(s,{onClick:h},{default:r(()=>[_(b(e.binaryFile?e.binaryName:t.$t("tool.selectFirmware")),1)]),_:1}),i(s,{type:"primary",disabled:!e.binaryFile,onClick:g},{default:r(()=>[_(b(t.$t("tool.flash")),1)]),_:1},8,["disabled"])]),_:1})]),c("div",null,[i(d,{type:"button",size:"mini",modelValue:e.protocol,"onUpdate:modelValue":a[0]||(a[0]=k=>e.protocol=k)},{default:r(()=>[i(n,{value:"Official"},{default:r(()=>[_("Official")]),_:1})]),_:1},8,["modelValue"])])]),i(w),c("div",{id:"statusArea",style:{height:"20em","background-color":"var(--color-bg-3)",color:"var(--color-text-3)",overflow:"auto",padding:"20px"},innerHTML:e.status},null,8,K)]),_:1},8,["title"])]),_:1})]),_:1})])}}});const xt=D(X,[["__scopeId","data-v-f272bde7"]]);export{xt as default};

View file

@ -127,8 +127,8 @@
}
</style>
<script src="serial.js"></script>
<meta name="builtTime" content="20250319143360">
<script type="module" crossorigin src="./assets/index.6ba7f7f2.js"></script>
<meta name="builtTime" content="20250319224829">
<script type="module" crossorigin src="./assets/index.4b21480b.js"></script>
<link rel="modulepreload" crossorigin href="./assets/@intlify.b8ed1d74.js">
<link rel="modulepreload" crossorigin href="./assets/@vue.2faf1d8e.js">
<link rel="modulepreload" crossorigin href="./assets/vue.24dcbee8.js">

Binary file not shown.