翻书优化

book_appCtr
wangbaotian 2024-08-22 16:50:01 +08:00
parent e2652c1441
commit d879a6303d
68 changed files with 129 additions and 14 deletions

View File

@ -2,6 +2,6 @@
"deviceId":"A0-29-42-42-F6-3F",
"deviceType":1,
"deptId":101,
"pictureTime":"10000"
"pictureTime":"15000"
}

View File

@ -25,9 +25,9 @@ module.exports = (appInfo) => {
config.windowsOption = {
title: 'book',
width: 1920,
height: 1080,
height: 1200,
minWidth: 1920,
minHeight: 1080,
minHeight: 1200,
frame: false,
fullscreenable: true,

View File

@ -40,7 +40,7 @@
//
pictureTime:'10000',
autoTurnTimeout:null,
imagesList: [image0, image19, image1, image2, image3, image4, image5, image6, image7, image8, image9, image10, image11, image12, image13, image14, image15, image16, image17, image18]
imagesList: [image0, image0, image1, image2, image3, image4, image5, image6, image7, image8, image9, image10, image11, image12, image13, image14, image15, image16, image17, image18, image19]
}
},
mounted() {
@ -67,14 +67,17 @@
acceleration: true, //,
display: 'double', //single=double=
duration: 800, //
page: 1, //
page: 2, //
gradients: true, //
autoCenter: true, //
turnCorners: 'bl,br', // ( 4) bl,br tl,tr bl,tr
height: 1080, //
height: 1200, //
width: 1920 //
}).bind('turned', (event, page, view) => {
if(page === $('#turnpage').turn('pages')){
console.log("翻页事件: " + page);
console.log("总页数: " + $('#turnpage').turn('pages'))
if(page === $('#turnpage').turn('pages') || page === $('#turnpage').turn('pages') - 1){
this.setAutoTurnFirstPage(); //
}else{
//
@ -83,8 +86,6 @@
}
});
//
// $('#turnpage').turn('next');
this.setAutoTurn();
console.log("定时翻页");
});
@ -92,7 +93,7 @@
setAutoTurnFirstPage(){
clearTimeout(this.autoTurnTimeout);
this.autoTurnTimeout = setTimeout(() => {
$('#turnpage').turn('page',1);
$('#turnpage').turn('page',2);
this.setAutoTurn(); //
}, this.pictureTime);
},
@ -120,5 +121,4 @@
}
}
}
</script>
</script>

View File

@ -0,0 +1 @@
import{_ as t,i as e,a as s,l as o,b as a,o as n,c as r,f as l,t as i,h as c,e as u,w as d,p,k as h}from"./index-f69ca7de.js";import{s as v}from"./store2-491cc7ac.js";const m={data:()=>({currentStatus:"关闭",servicAddress:"无"}),mounted(){this.init()},methods:{init(){e.invoke(s.checkHttpServer,{}).then((t=>{t.enable&&(this.currentStatus="开启",this.servicAddress=t.server,v.set("httpServiceConfig",t))}))},sendRequest(t){"关闭"!=this.currentStatus?this.requestHttp(s.doHttpRequest,{id:t}).then((t=>{})):this.$message.error("http服务未开启")},requestHttp(t,e){const s=v.get("httpServiceConfig").server||"http://localhost:7071";let a=t.split(".").join("/");return a=s+"/"+a,console.log("url:",a),o({url:a,method:"post",data:e,timeout:6e4})},backendRequest(){console.log("GO_URL:","http://www.test.com");o({baseURL:"http://www.test.com",method:"get",url:"/hello",timeout:6e4}).then((t=>{console.log("res:",t);const e=t.data||null;this.$message.info(`go服务返回: ${e}`)}))}}},b=t=>(p("data-v-3508e997"),t=t(),h(),t),k={id:"app-base-httpserver"},f=b((()=>l("div",{class:"one-block-1"},[l("span",null," 1. 使用http与主进程通信 ")],-1))),g={class:"one-block-2"},w=b((()=>l("div",{class:"one-block-1"},[l("span",null," 2. 使用http与服务端通信 ")],-1))),q={class:"one-block-2"};const R=t(m,[["render",function(t,e,s,o,p,h){const v=a("a-button");return n(),r("div",k,[f,l("div",g,[l("p",null,"* 状态:"+i(p.currentStatus),1),l("p",null,"* 地址:"+i(p.servicAddress),1),l("p",null,[c("* 发送请求: "),u(v,{onClick:e[0]||(e[0]=t=>h.sendRequest("pictures"))},{default:d((()=>[c(" 打开【我的图片】 ")])),_:1})])]),w,l("div",q,[l("p",null,[u(v,{onClick:e[1]||(e[1]=t=>h.backendRequest())},{default:d((()=>[c(" 发送请求 ")])),_:1}),c(" (请自行创建服务) ")])])])}],["__scopeId","data-v-3508e997"]]);export{R as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,u as s,v as a,w as n,x as t,y as o,z as c,A as l,B as i,C as p,D as r,E as g,F as u,G as d,H as m,I as y,J as h,K as f,L as k,M as _}from"./尾页-4f4439fb.js";import{_ as v,i as x,a as b,m as j,q as S,b as C,o as O,c as M,f as N,e as z,w as P,h as w,u as E,v as L,p as U,k as R}from"./index-f69ca7de.js";const q=""+new URL("login-48da88de.png",import.meta.url).href,A=Object.freeze(Object.defineProperty({__proto__:null,default:q},Symbol.toStringTag,{value:"Module"})),D=""+new URL("logo-abcaf0c2.png",import.meta.url).href,I=Object.freeze(Object.defineProperty({__proto__:null,default:D},Symbol.toStringTag,{value:"Module"})),K=[{name:"对话框",type:"icon-duihuakuang"},{name:"闹钟",type:"icon-naozhong"},{name:"笑脸",type:"icon-xiaolian"},{name:"ok",type:"icon-ok"},{name:"风车",type:"icon-fengche"},{name:"汗颜",type:"icon-hanyan"},{name:"相机",type:"icon-xiangji"},{name:"礼物",type:"icon-liwu"},{name:"礼花",type:"icon-lihua"},{name:"扭蛋",type:"icon-niudan"},{name:"流星",type:"icon-liuxing"},{name:"风筝",type:"icon-fengzheng"},{name:"蛋糕",type:"icon-dangao"},{name:"泡泡",type:"icon-paopao"},{name:"购物",type:"icon-gouwu"},{name:"饮料",type:"icon-yinliao"},{name:"云彩",type:"icon-yuncai"},{name:"彩铅",type:"icon-caiqian"},{name:"纸飞机",type:"icon-zhifeiji"},{name:"点赞",type:"icon-dianzan"},{name:"煎蛋",type:"icon-jiandan"},{name:"小熊",type:"icon-xiaoxiong"},{name:"花",type:"icon-hua"},{name:"眼睛",type:"icon-yanjing"}],T=Object.assign({"/src/assets/1.png":e,"/src/assets/10.png":s,"/src/assets/11.png":a,"/src/assets/12.png":n,"/src/assets/13.png":t,"/src/assets/14.png":o,"/src/assets/15.png":c,"/src/assets/16.png":l,"/src/assets/17.png":i,"/src/assets/18.png":p,"/src/assets/2.png":r,"/src/assets/3.png":g,"/src/assets/4.png":u,"/src/assets/5.png":d,"/src/assets/6.png":m,"/src/assets/7.png":y,"/src/assets/8.png":h,"/src/assets/9.png":f,"/src/assets/login.png":A,"/src/assets/logo.png":I,"/src/assets/封面.png":k,"/src/assets/尾页.png":_});Object.values(T).map((e=>e.default));const V={data:()=>({type:1,iconData:K,progressName:"",exePath:""}),methods:{exec(e){console.log("process:",process);const s={id:e};x.invoke(b.test,s).then((e=>{console.log("res:",e)}))},exec2(e){},getMac(){x.invoke(b.getAllMac,{}).then((e=>{console.log("macs :",e)}))},getOSMessage(){x.invoke(b.getOSMessage,{}).then((e=>{console.log("OS :",e)}))},setSound(){x.invoke(b.deviceLoudness,{value:100}).then((e=>{console.log("设置后的声音 :",e)}))},restart(){x.invoke(b.deviceRestart,{}).then((e=>{console.log("重启 :",e)}))},kill(){console.log(this.progressName),x.invoke(b.deviceKillName,this.progressName).then((e=>{console.log("关闭进程结果 :",e)}))},starExe(){console.log(this.exePath),x.invoke(b.deviceStarExe,this.exePath).then((e=>{console.log("启动程序 :",e)}))},testNet(){console.log(j),S().then((e=>{console.log(e)})).catch((e=>{console.error(e)}))}}},B={id:"app-base-test-api"},F=(e=>(U("data-v-223ec398"),e=e(),R(),e))((()=>N("div",{class:"one-block-1"},[N("span",null," 1. 测试一些操作系统api ")],-1))),G={class:"one-block-2"};const H=v(V,[["render",function(e,s,a,n,t,o){const c=C("a-button"),l=C("a-space");return O(),M("div",B,[F,N("div",G,[z(l,null,{default:P((()=>[z(c,{onClick:s[0]||(s[0]=e=>o.exec(1))},{default:P((()=>[w(" 点击 ")])),_:1}),z(c,{onClick:s[1]||(s[1]=e=>o.exec2(1))},{default:P((()=>[w(" 点击2 ")])),_:1}),z(c,{onClick:s[2]||(s[2]=e=>o.getMac())},{default:P((()=>[w(" 获取mac 列表 ")])),_:1}),z(c,{onClick:s[3]||(s[3]=e=>o.getOSMessage())},{default:P((()=>[w(" 获取系统信息 ")])),_:1}),z(c,{onClick:s[4]||(s[4]=e=>o.setSound())},{default:P((()=>[w(" 设置声音50")])),_:1}),z(c,{onClick:s[5]||(s[5]=e=>o.restart())},{default:P((()=>[w("重启")])),_:1})])),_:1}),z(l,null,{default:P((()=>[E(N("input",{"onUpdate:modelValue":s[6]||(s[6]=e=>t.progressName=e),placeholder:"请输入进程名称"},null,512),[[L,t.progressName]]),z(c,{onClick:s[7]||(s[7]=e=>o.kill())},{default:P((()=>[w(" kill 指定进程 ")])),_:1})])),_:1}),z(l,null,{default:P((()=>[E(N("input",{"onUpdate:modelValue":s[8]||(s[8]=e=>t.exePath=e),placeholder:"请输入程序地址"},null,512),[[L,t.exePath]]),z(c,{onClick:s[9]||(s[9]=e=>o.starExe())},{default:P((()=>[w(" 启动 ")])),_:1})])),_:1}),z(l,null,{default:P((()=>[z(c,{onClick:s[10]||(s[10]=e=>o.testNet())},{default:P((()=>[w(" 测试网络请求 ")])),_:1})])),_:1})])])}],["__scopeId","data-v-223ec398"]]);export{H as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as t,a as s,g as a,b as i,o as l,c as n,f as o,e as d,w as r,h as c,t as u,p as v,k as m}from"./index-f69ca7de.js";const p={data:()=>({defaultDeviceName:"",printerList:[],views:[{type:"html",content:"/public/html/view_example.html"}]}),mounted(){this.init()},methods:{init(){t.removeAllListeners(s.printStatus),t.on(s.printStatus,((e,t)=>{console.log("result",t),this.$message.info("打印中...")}))},getPrinter(){t.invoke(s.getPrinterList,{}).then((e=>{this.printerList=e}))},doPrint(e){console.log("defaultDeviceName:",this.defaultDeviceName);const i={view:a(this.views[e]),deviceName:this.defaultDeviceName};t.send(s.print,i)},defaultDevice(e){let t="";return e.isDefault&&(t="- 默认",this.defaultDeviceName=e.name),t}}},f=e=>(v("data-v-b732860b"),e=e(),m(),e),h={id:"app-hw-bluetooth"},b=f((()=>o("div",{class:"one-block-1"},[o("span",null," 1. 打印机设备 ")],-1))),k={class:"one-block-2"},D={class:"one-block-2"},_=f((()=>o("div",null,"设备列表",-1))),g=f((()=>o("div",{class:"one-block-1"},[o("span",null," 2. 打印内容 ")],-1))),N={class:"one-block-2"};const w=e(p,[["render",function(e,t,s,a,v,m){const p=i("a-button"),f=i("a-list-item"),w=i("a-list");return l(),n("div",h,[b,o("div",k,[d(p,{onClick:t[0]||(t[0]=e=>m.getPrinter())},{default:r((()=>[c(" 获取打印机列表 ")])),_:1})]),o("div",D,[d(w,{size:"small",bordered:"","data-source":v.printerList},{renderItem:r((({item:e})=>[d(f,null,{default:r((()=>[c(u(e.displayName)+" "+u(m.defaultDevice(e)),1)])),_:2},1024)])),header:r((()=>[_])),_:1},8,["data-source"])]),g,o("div",N,[d(p,{onClick:t[1]||(t[1]=e=>m.doPrint(0))},{default:r((()=>[c(" 打印一个页面 ")])),_:1})])])}],["__scopeId","data-v-b732860b"]]);export{w as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as s,a,b as l,o,c as t,f as i,e as n,w as d,h as c,p as r,k as u}from"./index-f69ca7de.js";import{s as p}from"./store2-491cc7ac.js";const f=[{content:"【下载】目录",id:"downloads"},{content:"【图片】目录",id:"pictures"},{content:"【文档】目录",id:"documents"},{content:"【音乐】目录",id:"music"}],h={data:()=>({file_list:f,action_url:"",image_info:[],num:0,servicAddress:"",dir_path:"D:\\www\\ee"}),mounted(){this.getHost()},methods:{getHost(){s.invoke(a.checkHttpServer,{}).then((e=>{if(e.enable){this.servicAddress=e.server,p.set("httpServiceConfig",e);const s=e.server||"http://localhost:7071";let l=a.uploadFile.split(".").join("/");this.action_url=s+"/"+l}}))},openDirectry(e){s.invoke(a.openDirectory,{id:e}).then((e=>{}))},selectDir(){s.invoke(a.selectFolder,"").then((e=>{this.dir_path=e,this.$message.info(e)}))},messageShow(){s.invoke(a.messageShow,"").then((e=>{this.$message.info(e)}))},messageShowConfirm(){s.invoke(a.messageShowConfirm,"").then((e=>{this.$message.info(e)}))},handleFileChange(e){if(console.log("handleFileChange-----"),""==this.action_url)return void this.$message.error("http服务未开启");const s=e.file.status;if("uploading"!==s&&console.log(e.file),"done"===s){const s=e.file.response;if(console.log("uploadRes:",s),"success"!==s.code)return this.$message.error(`file upload failed ${s.code} .`),!1;this.num++;const a=s.data;a.id=this.num,a.imageUrlText="image url",this.image_info.push(a),this.$message.success(`${e.file.name} file uploaded successfully.`)}else"error"===s&&this.$message.error(`${e.file.name} file upload failed.`)}}},m=e=>(r("data-v-d30dccef"),e=e(),u(),e),g={id:"app-base-file"},_=m((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 系统原生对话框 ")],-1))),v={class:"one-block-2"},k=m((()=>i("div",{class:"one-block-1"},[i("span",null," 2. 选择保存目录 ")],-1))),C={class:"one-block-2"},b=m((()=>i("div",{class:"one-block-1"},[i("span",null," 3. 打开文件夹 ")],-1))),w={class:"one-block-2"},$=m((()=>i("div",{class:"one-block-1"},[i("span",null," 4. 上传文件到图床 ")],-1))),S={class:"one-block-2"},D=m((()=>i("p",{class:"ant-upload-drag-icon"},null,-1))),y=m((()=>i("p",{class:"ant-upload-text"}," 点击 或 拖拽文件到这里 ",-1))),F=m((()=>i("p",{class:"ant-upload-hint"}," 注意请使用您自己的图床token ",-1))),x=m((()=>i("div",{class:"footer"},null,-1)));const j=e(h,[["render",function(e,s,a,r,u,p){const f=l("a-button"),h=l("a-space"),m=l("a-input"),j=l("a-col"),H=l("a-row"),V=l("a-card"),A=l("a-list-item"),I=l("a-list"),U=l("a-upload-dragger");return o(),t("div",g,[_,i("div",v,[n(h,null,{default:d((()=>[n(f,{onClick:s[0]||(s[0]=e=>p.messageShow())},{default:d((()=>[c("消息提示(ipc)")])),_:1}),n(f,{onClick:s[1]||(s[1]=e=>p.messageShowConfirm())},{default:d((()=>[c("消息提示与确认(ipc)")])),_:1})])),_:1})]),k,i("div",C,[n(H,null,{default:d((()=>[n(j,{span:12},{default:d((()=>[n(m,{modelValue:u.dir_path,"onUpdate:modelValue":s[2]||(s[2]=e=>u.dir_path=e),value:u.dir_path,"addon-before":"保存目录"},null,8,["modelValue","value"])])),_:1}),n(j,{span:12},{default:d((()=>[n(f,{onClick:p.selectDir},{default:d((()=>[c(" 修改目录 ")])),_:1},8,["onClick"])])),_:1})])),_:1})]),b,i("div",w,[n(I,{grid:{gutter:16,column:4},"data-source":u.file_list},{renderItem:d((({item:e})=>[n(A,{onClick:s=>p.openDirectry(e.id)},{default:d((()=>[n(V,{title:e.content},{default:d((()=>[n(f,{type:"link"},{default:d((()=>[c(" 打开 ")])),_:1})])),_:2},1032,["title"])])),_:2},1032,["onClick"])])),_:1},8,["data-source"])]),$,i("div",S,[n(U,{name:"file",multiple:!0,action:u.action_url,onChange:p.handleFileChange},{default:d((()=>[D,y,F])),_:1},8,["action","onChange"])]),x])}],["__scopeId","data-v-d30dccef"]]);export{j as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as t,i,a as e,g as s,b as n,o as a,c as o,f as l,e as c,w as d,h as f,p as b,k as u}from"./index-f69ca7de.js";const p={data:()=>({views:[{type:"main",title:"通知标题",subtitle:"副标题",body:"这是通知内容-默认",silent:!0},{type:"main",title:"提示音",subtitle:"副标题-提示音",body:"这是通知内容-提示音",silent:!1},{type:"main",title:"点击通知事件",subtitle:"副标题-点击通知事件",body:"这是通知内容-点击通知事件",clickEvent:!0},{type:"main",title:"关闭通知事件",subtitle:"副标题-关闭通知事件",body:"这是通知内容-点击通知事件",closeEvent:!0}]}),mounted(){this.init()},methods:{init(){i.removeAllListeners(e.sendNotification),i.on(e.sendNotification,((t,i)=>{"[object Object]"==Object.prototype.toString.call(i)&&this.$message.info(i.msg)}))},sendNotification(t){i.send(e.sendNotification,s(this.views[t]))}}},m={id:"app-base-notification"},r=(t=>(b("data-v-6555f14e"),t=t(),u(),t))((()=>l("div",{class:"one-block-1"},[l("span",null," 1. 弹出桌面通知 ")],-1))),v={class:"one-block-2"};const y=t(p,[["render",function(t,i,e,s,b,u){const p=n("a-button"),y=n("a-space");return a(),o("div",m,[r,l("div",v,[c(y,null,{default:d((()=>[c(p,{onClick:i[0]||(i[0]=t=>u.sendNotification(0))},{default:d((()=>[f("默认")])),_:1}),c(p,{onClick:i[1]||(i[1]=t=>u.sendNotification(1))},{default:d((()=>[f("发出提示音")])),_:1}),c(p,{onClick:i[2]||(i[2]=t=>u.sendNotification(2))},{default:d((()=>[f("点击通知触发事件")])),_:1}),c(p,{onClick:i[3]||(i[3]=t=>u.sendNotification(3))},{default:d((()=>[f("关闭通知触发事件")])),_:1})])),_:1})])])}],["__scopeId","data-v-6555f14e"]]);export{y as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as t,a,b as s,o,c as l,f as n,e as d,w as u,t as h,h as r,p as m,k as c}from"./index-f69ca7de.js";const i={data:()=>({currentThemeMode:"",themeList:["system","light","dark"]}),mounted(){},methods:{setTheme(e){this.currentThemeMode=e.target.value,console.log("setTheme currentThemeMode:",this.currentThemeMode),t.invoke(a.setTheme,this.currentThemeMode).then((e=>{console.log("result:",e),this.currentThemeMode=e}))},getTheme(){t.invoke(a.getTheme).then((e=>{console.log("result:",e),this.currentThemeMode=e}))}}},T=e=>(m("data-v-5a0f8a17"),e=e(),c(),e),v={id:"app-base-screen"},f=T((()=>n("div",{class:"one-block-1"},[n("span",null," 1. 系统主题模式 ")],-1))),g={class:"one-block-2"},p=T((()=>n("div",{class:"one-block-1"}," 2. 设置主题模式请自行实现前端UI效果 ",-1))),M={class:"one-block-2"};const k=e(i,[["render",function(e,t,a,m,c,i){const T=s("a-button"),k=s("a-space"),_=s("a-radio"),b=s("a-radio-group");return o(),l("div",v,[f,n("div",g,[d(k,null,{default:u((()=>[d(T,{onClick:t[0]||(t[0]=e=>i.getTheme())},{default:u((()=>[r("获取模式")])),_:1})])),_:1}),n("span",null," 结果:"+h(c.currentThemeMode),1)]),p,n("div",M,[d(b,{modelValue:c.currentThemeMode,"onUpdate:modelValue":t[1]||(t[1]=e=>c.currentThemeMode=e),onChange:i.setTheme},{default:u((()=>[d(_,{value:c.themeList[0]},{default:u((()=>[r(h(c.themeList[0]),1)])),_:1},8,["value"]),d(_,{value:c.themeList[1]},{default:u((()=>[r(h(c.themeList[1]),1)])),_:1},8,["value"]),d(_,{value:c.themeList[2]},{default:u((()=>[r(h(c.themeList[2]),1)])),_:1},8,["value"])])),_:1},8,["modelValue","onChange"])])])}],["__scopeId","data-v-5a0f8a17"]]);export{k as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as a,i as e,a as s,b as t,o as l,c as n,f as c,e as d,w as o,h as i,F as r,r as u,d as f,t as b,p,k}from"./index-f69ca7de.js";const _={data:()=>({data:[]}),methods:{getScreen(a){e.invoke(s.getScreen,a).then((a=>{this.data=a}))}}},v=a=>(p("data-v-5c2facb0"),a=a(),k(),a),g={id:"app-base-screen"},S=v((()=>c("div",{class:"one-block-1"},[c("span",null," 1. 屏幕信息 ")],-1))),h={class:"one-block-2"},m=v((()=>c("div",{class:"one-block-1"},[c("span",null," 结果: ")],-1))),C={class:"one-block-2"};const x=a(_,[["render",function(a,e,s,p,k,_){const v=t("a-button"),x=t("a-space"),j=t("a-descriptions-item"),w=t("a-descriptions");return l(),n("div",g,[S,c("div",h,[d(x,null,{default:o((()=>[d(v,{onClick:e[0]||(e[0]=a=>_.getScreen(0))},{default:o((()=>[i("获取当前鼠标位置")])),_:1}),d(v,{onClick:e[1]||(e[1]=a=>_.getScreen(1))},{default:o((()=>[i("获取主屏幕")])),_:1}),d(v,{onClick:e[2]||(e[2]=a=>_.getScreen(2))},{default:o((()=>[i("获取所有屏幕")])),_:1})])),_:1})]),m,c("div",C,[d(w,{title:""},{default:o((()=>[(l(!0),n(r,null,u(k.data,((a,e)=>(l(),f(j,{key:e,label:a.title},{default:o((()=>[i(b(a.desc),1)])),_:2},1032,["label"])))),128))])),_:1})])])}],["__scopeId","data-v-5c2facb0"]]);export{x as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as s,a,l as t,b as r,o,c as n,f as i,e as v,w as c,h as d,p as l,k as m}from"./index-f69ca7de.js";import{s as u}from"./store2-491cc7ac.js";const f={data:()=>({server:""}),methods:{startServer(){s.invoke(a.startJavaServer,{}).then((e=>{0!=e.code?this.$message.error(e.msg):(this.$message.info("异步启动"),u.set("javaService",e.server))}))},closeServer(){s.invoke(a.closeJavaServer,{}).then((e=>{0!=e.code&&this.$message.error(e.msg),this.$message.info("异步关闭"),u.remove("javaService")}))},sendRequest(){const e=u.get("javaService")||"";if(""==e)return void this.$message.error("服务未开启 或 正在启动中");t({method:"get",url:e+"/test1/get",params:{id:"1111111"},timeout:6e4}).then((e=>{const s=e.data||null;this.$message.info(`java服务返回: ${s}`)}))}}},h={id:"app-other"},g=(e=>(l("data-v-c3213243"),e=e(),m(),e))((()=>i("div",{class:"one-block-1"},[i("span",null," 请求java服务接口(废弃,请使用跨语言服务) ")],-1))),p={class:"one-block-2"};const j=e(f,[["render",function(e,s,a,t,l,m){const u=r("a-button"),f=r("a-space");return o(),n("div",h,[g,i("div",p,[v(f,null,{default:c((()=>[v(u,{onClick:s[0]||(s[0]=e=>m.startServer())},{default:c((()=>[d(" 启动java项目 ")])),_:1}),v(u,{onClick:s[1]||(s[1]=e=>m.sendRequest())},{default:c((()=>[d(" 测试接口 ")])),_:1}),v(u,{onClick:s[2]||(s[2]=e=>m.closeServer())},{default:c((()=>[d(" 关闭java项目 ")])),_:1})])),_:1})])])}],["__scopeId","data-v-c3213243"]]);export{j as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as s,i as e,s as a,a as t,b as o,o as n,c,f as r,e as d,w as l,h as p,t as i,p as u,k as h}from"./index-f69ca7de.js";const f={data:()=>({status:0,progress:"",percentNumber:0}),mounted(){this.init()},methods:{init(){e.removeAllListeners(a.appUpdater),e.on(a.appUpdater,((s,e)=>{e=JSON.parse(e),this.status=e.status,3==e.status?(this.progress=e.desc,this.percentNumber=e.percentNumber):this.$message.info(e.desc)}))},checkForUpdater(){e.invoke(t.checkForUpdater).then((s=>{console.log(s)}))},download(){1===this.status?e.invoke(t.downloadApp).then((s=>{console.log(s)})):this.$message.info("没有可用版本")}}},k=s=>(u("data-v-88c3fe69"),s=s(),h(),s),m={id:"app-demo-window"},v=k((()=>r("div",{class:"one-block-1"},[r("span",null," 1. 自动更新 ")],-1))),b={class:"one-block-2"},g=k((()=>r("div",{class:"one-block-1"},[r("span",null," 2. 下载进度 ")],-1))),_={class:"one-block-2"};const w=s(f,[["render",function(s,e,a,t,u,h){const f=o("a-button"),k=o("a-space"),w=o("a-progress");return n(),c("div",m,[v,r("div",b,[d(k,null,{default:l((()=>[d(f,{onClick:e[0]||(e[0]=s=>h.checkForUpdater())},{default:l((()=>[p("检查更新")])),_:1}),d(f,{onClick:e[1]||(e[1]=s=>h.download())},{default:l((()=>[p("下载并安装")])),_:1})])),_:1})]),g,r("div",_,[d(w,{percent:u.percentNumber,status:"active"},null,8,["percent"]),d(k,null,{default:l((()=>[p(i(u.progress),1)])),_:1})])])}],["__scopeId","data-v-88c3fe69"]]);export{w as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as n,a as l,g as a,b as o,o as i,c as t,f as d,e as s,w,h as c,p as u,k as b}from"./index-f69ca7de.js";const p={data:()=>({views:[{type:"web",content:"https://www.bilibili.com/",windowName:"window-web",windowTitle:"bilibili"},{type:"html",content:"/public/html/view_example.html",windowName:"window-html",windowTitle:"html window"},{type:"vue",content:"#/special/subwindow",windowName:"window-vue",windowTitle:"vue window"}]}),methods:{createWindow(e){n.invoke(l.createWindow,a(this.views[e])).then((e=>{console.log(e)}))}}},v=e=>(u("data-v-f82edd5f"),e=e(),b(),e),m={id:"app-base-window"},f=v((()=>d("div",{class:"one-block-1"},[d("span",null," 1. 新窗口中加载web内容 ")],-1))),h={class:"one-block-2"},r=v((()=>d("div",{class:"one-block-1"},[d("span",null," 2. 新窗口中加载html内容 ")],-1))),k={class:"one-block-2"},_=v((()=>d("div",{class:"one-block-1"},[d("span",null," 3. 新窗口中加载当前项目页面 ")],-1))),W={class:"one-block-2"};const x=e(p,[["render",function(e,n,l,a,u,b){const p=o("a-button"),v=o("a-space");return i(),t("div",m,[f,d("div",h,[s(v,null,{default:w((()=>[s(p,{onClick:n[0]||(n[0]=e=>b.createWindow(0))},{default:w((()=>[c("打开哔哩哔哩")])),_:1})])),_:1})]),r,d("div",k,[s(v,null,{default:w((()=>[s(p,{onClick:n[1]||(n[1]=e=>b.createWindow(1))},{default:w((()=>[c("打开html页面")])),_:1})])),_:1})]),_,d("div",W,[s(v,null,{default:w((()=>[s(p,{onClick:n[2]||(n[2]=e=>b.createWindow(2))},{default:w((()=>[c("打开vue页面")])),_:1})])),_:1})])])}],["__scopeId","data-v-f82edd5f"]]);export{x as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as t,a as o,g as n,b as a,o as l,c as s,f as i,e as d,w as c,h as w,p as v,k as u}from"./index-f69ca7de.js";const m={data:()=>({views:[{type:"web",content:"https://www.baidu.com/"},{type:"html",content:"/public/html/view_example.html"}]}),methods:{loadViewContent(e){t.invoke(o.loadViewContent,n(this.views[e])).then((e=>{console.log(e)}))},removeViewContent(e){t.invoke(o.removeViewContent,n(this.views[e])).then((e=>{console.log(e)}))}}},p=e=>(v("data-v-792e445a"),e=e(),u(),e),h={id:"app-base-window-view"},C=p((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 嵌入web内容 ")],-1))),b={class:"one-block-2"},k=p((()=>i("div",{class:"one-block-1"},[i("span",null," 2. 嵌入html内容 ")],-1))),r={class:"one-block-2"};const f=e(m,[["render",function(e,t,o,n,v,u){const m=a("a-button"),p=a("a-space");return l(),s("div",h,[C,i("div",b,[d(p,null,{default:c((()=>[d(m,{onClick:t[0]||(t[0]=e=>u.loadViewContent(0))},{default:c((()=>[w("加载百度页面")])),_:1}),d(m,{onClick:t[1]||(t[1]=e=>u.removeViewContent(0))},{default:c((()=>[w("移除百度页面")])),_:1})])),_:1})]),k,i("div",r,[d(p,null,{default:c((()=>[d(m,{onClick:t[2]||(t[2]=e=>u.loadViewContent(1))},{default:c((()=>[w("加载html页面")])),_:1}),d(m,{onClick:t[3]||(t[3]=e=>u.removeViewContent(1))},{default:c((()=>[w("移除html页面")])),_:1})])),_:1})])])}],["__scopeId","data-v-792e445a"]]);export{f as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as l,a as s,l as a,b as t,o,c as n,f as i,e as r,w as c,h as d,p as u,k}from"./index-f69ca7de.js";const v={data:()=>({type:1,serverUrl:""}),methods:{info(){l.invoke(s.crossInfo,{}).then((e=>{console.log("res:",e)}))},getUrl(){l.invoke(s.getCrossUrl,{name:"javaapp"}).then((e=>{this.serverUrl=e,this.$message.info(`服务地址: ${e}`)}))},kill(){l.invoke(s.killCrossServer,{type:"one",name:"javaapp"})},killAll(){l.invoke(s.killCrossServer,{type:"all",name:"javaapp"})},create(){l.invoke(s.createCrossServer,{program:"java"})},request(e){if(1!=e||""!=this.serverUrl)if(1==e){const e=this.serverUrl+"/test1/get";a({method:"get",url:e,params:{id:"1111111"},timeout:1e3}).then((e=>{console.log("res:",e);const l=e.data||null;this.$message.info(`服务返回: ${l}`)}))}else l.invoke(s.requestApi,{name:"javaapp",urlPath:"/test1/get",params:{id:"1111111"}}).then((e=>{console.log("res:",e);const l=e||null;this.$message.info(`服务返回: ${l}`)}));else this.$message.info("请先获取服务地址")}}},p=e=>(u("data-v-5d226b2a"),e=e(),k(),e),f={id:"app-cross-java"},h=p((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 基础控制 ")],-1))),m={class:"one-block-2"},g=p((()=>i("div",{class:"one-block-1"},[i("span",null," 2. 发送http请求 ")],-1))),_={class:"one-block-2"},C=p((()=>i("div",{class:"one-block-1"},[i("span",null," 3. 多个服务 ")],-1))),b={class:"one-block-2"};const j=e(v,[["render",function(e,l,s,a,u,k){const v=t("a-button"),p=t("a-space");return o(),n("div",f,[h,i("div",m,[r(p,null,{default:c((()=>[r(v,{onClick:l[0]||(l[0]=e=>k.create())},{default:c((()=>[d(" 启动 ")])),_:1}),r(v,{onClick:l[1]||(l[1]=e=>k.getUrl())},{default:c((()=>[d(" 获取地址 ")])),_:1}),r(v,{onClick:l[2]||(l[2]=e=>k.kill())},{default:c((()=>[d(" kill ")])),_:1}),r(v,{onClick:l[3]||(l[3]=e=>k.info())},{default:c((()=>[d(" 查看 ")])),_:1})])),_:1})]),g,i("div",_,[r(p,null,{default:c((()=>[r(v,{onClick:l[4]||(l[4]=e=>k.request(1))},{default:c((()=>[d(" 前端发送 ")])),_:1}),r(v,{onClick:l[5]||(l[5]=e=>k.request(2))},{default:c((()=>[d(" 主进程发送 ")])),_:1})])),_:1})]),C,i("div",b,[r(p,null,{default:c((()=>[r(v,{onClick:l[6]||(l[6]=e=>k.create())},{default:c((()=>[d(" 启动 ")])),_:1}),r(v,{onClick:l[7]||(l[7]=e=>k.killAll())},{default:c((()=>[d(" kill所有 ")])),_:1})])),_:1})])])}],["__scopeId","data-v-5d226b2a"]]);export{j as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as l,a as s,l as a,b as o,o as t,c as n,f as i,e as r,w as c,h as d,p as u,k}from"./index-f69ca7de.js";const p={data:()=>({type:1,serverUrl:""}),methods:{info(){l.invoke(s.crossInfo,{}).then((e=>{console.log("res:",e)}))},getUrl(){l.invoke(s.getCrossUrl,{name:"goapp"}).then((e=>{this.serverUrl=e,this.$message.info(`服务地址: ${e}`)}))},kill(){l.invoke(s.killCrossServer,{type:"one",name:"goapp"})},killAll(){l.invoke(s.killCrossServer,{type:"all",name:"goapp"})},create(){l.invoke(s.createCrossServer,{program:"go"})},request(e){if(1!=e||""!=this.serverUrl)if(1==e){const e=this.serverUrl+"/api/hello";a({method:"get",url:e,params:{id:"111"},timeout:1e3}).then((e=>{console.log("res:",e);const l=e.data.data||null;this.$message.info(`服务返回: ${l}`)}))}else l.invoke(s.requestApi,{name:"goapp",urlPath:"/api/hello"}).then((e=>{console.log("res:",e);const l=e.data||null;this.$message.info(`服务返回: ${l}`)}));else this.$message.info("请先获取服务地址")}}},f=e=>(u("data-v-e1875343"),e=e(),k(),e),v={id:"app-cross-go"},g=f((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 基础控制 ")],-1))),h={class:"one-block-2"},m=f((()=>i("div",{class:"one-block-1"},[i("span",null," 2. 发送http请求 ")],-1))),_={class:"one-block-2"},C=f((()=>i("div",{class:"one-block-1"},[i("span",null," 3. 多个服务 ")],-1))),b={class:"one-block-2"};const U=e(p,[["render",function(e,l,s,a,u,k){const p=o("a-button"),f=o("a-space");return t(),n("div",v,[g,i("div",h,[r(f,null,{default:c((()=>[r(p,{onClick:l[0]||(l[0]=e=>k.create())},{default:c((()=>[d(" 启动 ")])),_:1}),r(p,{onClick:l[1]||(l[1]=e=>k.getUrl())},{default:c((()=>[d(" 获取地址 ")])),_:1}),r(p,{onClick:l[2]||(l[2]=e=>k.kill())},{default:c((()=>[d(" kill ")])),_:1}),r(p,{onClick:l[3]||(l[3]=e=>k.info())},{default:c((()=>[d(" test ")])),_:1})])),_:1})]),m,i("div",_,[r(f,null,{default:c((()=>[r(p,{onClick:l[4]||(l[4]=e=>k.request(1))},{default:c((()=>[d(" 前端发送 ")])),_:1}),r(p,{onClick:l[5]||(l[5]=e=>k.request(2))},{default:c((()=>[d(" 主进程发送 ")])),_:1})])),_:1})]),C,i("div",b,[r(f,null,{default:c((()=>[r(p,{onClick:l[6]||(l[6]=e=>k.create())},{default:c((()=>[d(" 启动 ")])),_:1}),r(p,{onClick:l[7]||(l[7]=e=>k.killAll())},{default:c((()=>[d(" kill所有 ")])),_:1})])),_:1})])])}],["__scopeId","data-v-e1875343"]]);export{U as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as t,i as s,a as n,b as e,o as a,c as o,f as i,e as r,w as l,t as c,p as u,k as p}from"./index-f69ca7de.js";const d={data:()=>({currentStatus:"无"}),mounted(){this.init()},methods:{init(){s.removeAllListeners(n.initPowerMonitor),s.on(n.initPowerMonitor,((t,s)=>{"[object Object]"==Object.prototype.toString.call(s)&&(this.currentStatus=s.msg,this.$message.info(s.msg))})),s.send(n.initPowerMonitor,"")}}},b=t=>(u("data-v-564cbe99"),t=t(),p(),t),m={id:"app-base-powermonitor"},f=b((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 监控电源状态 ")],-1))),v={class:"one-block-2"},w=b((()=>i("p",null,"* 拔掉电源,使用电池供电",-1))),g=b((()=>i("p",null,"* 接入电源",-1))),h=b((()=>i("p",null,"* 锁屏",-1))),j=b((()=>i("p",null,"* 解锁",-1)));const S=t(d,[["render",function(t,s,n,u,p,d){const b=e("a-space");return a(),o("div",m,[f,i("div",v,[r(b,null,{default:l((()=>[i("p",null,"* 当前状态:"+c(p.currentStatus),1)])),_:1}),w,g,h,j])])}],["__scopeId","data-v-564cbe99"]]);export{S as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as a,i as e,a as t,b as n,o as s,c as o,f as u,e as c,w as l,p as h,k as i}from"./index-f69ca7de.js";const d={data:()=>({autoLaunchChecked:!1}),mounted(){this.init()},methods:{init(){e.invoke(t.autoLaunch,"check").then((a=>{console.log("[ipcRenderer] [autoLaunch] result:",a),this.autoLaunchChecked=a.status}))},autoLaunchChange(a){console.log("[ipcRenderer] [autoLaunch] self.autoLaunchChecked:",this.autoLaunchChecked)}}},r=a=>(h("data-v-1b008e01"),a=a(),i(),a),k={id:"app-base-system-launch"},m={class:"one-block-2"},C=r((()=>u("a",null,"启动",-1))),L=r((()=>u("span",null," 开机自动启动 ",-1)));const p=a(d,[["render",function(a,e,t,h,i,d){const r=n("a-list-item-meta"),p=n("a-switch"),f=n("a-list-item"),g=n("a-list");return s(),o("div",k,[u("div",m,[c(g,{class:"set-auto",itemLayout:"horizontal"},{default:l((()=>[c(f,{style:{"text-align":"left"}},{actions:l((()=>[c(p,{modelValue:i.autoLaunchChecked,"onUpdate:modelValue":e[0]||(e[0]=a=>i.autoLaunchChecked=a),checkedChildren:"开",unCheckedChildren:"关",onChange:e[1]||(e[1]=a=>d.autoLaunchChange())},null,8,["modelValue"])])),default:l((()=>[c(r,null,{title:l((()=>[C])),description:l((()=>[L])),_:1})])),_:1})])),_:1})])])}],["__scopeId","data-v-1b008e01"]]);export{p as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as a,i as n,a as s,b as o,o as i,c as e,f as t,e as d,w as l,h as c,p as r,k as u}from"./index-f69ca7de.js";const p={data:()=>({}),methods:{loginWindow(){this.$router.push({name:"SpecialLoginWindow",params:{}}),n.invoke(s.loginWindow,{width:400,height:300}).then((a=>{}))}}},b={id:"effect-login-index"},f=(a=>(r("data-v-3b73b158"),a=a(),u(),a))((()=>t("div",{class:"one-block-1"},[t("span",null," 1. 登录 ")],-1))),h={class:"one-block-2"};const g=a(p,[["render",function(a,n,s,r,u,p){const g=o("a-button"),v=o("a-space");return i(),e("div",b,[f,t("div",h,[d(v,null,{default:l((()=>[d(g,{onClick:n[0]||(n[0]=a=>p.loginWindow())},{default:l((()=>[c("切换为登录窗口")])),_:1})])),_:1})])])}],["__scopeId","data-v-3b73b158"]]);export{g as default};

View File

@ -0,0 +1 @@
import{_ as s,i as e,a as r,b as o,o as i,c as p,f as l,e as d,w as t,h as a,t as n,p as u,k as c}from"./index-f69ca7de.js";const g={data:()=>({processPids:"",progress1:0,progress2:0,progress3:0,progress4:0,progress5:0,progress6:0,progress1_pid:0,progress2_pid:0,progress3_pid:0,progress4_pid:0,progress5_pid:0,progress6_pid:0}),mounted(){this.init()},methods:{init(){e.removeAllListeners(r.timerJobProgress),e.removeAllListeners(r.createPoolNotice),e.on(r.timerJobProgress,((s,e)=>{switch(e.jobId){case 1:this.progress1=e.number,this.progress1_pid=0==e.pid?e.pid:this.progress1_pid;break;case 2:this.progress2=e.number,this.progress2_pid=0==e.pid?e.pid:this.progress2_pid;break;case 3:this.progress3=e.number,this.progress3_pid=0==e.pid?e.pid:this.progress3_pid;break;case 4:this.progress4=e.number,this.progress4_pid=0==e.pid?e.pid:this.progress4_pid;break;case 5:this.progress5=e.number,this.progress5_pid=0==e.pid?e.pid:this.progress5_pid;break;case 6:this.progress6=e.number,this.progress6_pid=0==e.pid?e.pid:this.progress6_pid}})),e.on(r.createPoolNotice,((s,e)=>{let r=JSON.stringify(e);this.processPids=r}))},runJob(s,o){let i={id:s,type:"timer",action:o};e.invoke(r.someJob,i).then((s=>{if("close"!=o)switch(s.jobId){case 1:this.progress1_pid=s.result.pid;break;case 2:this.progress2_pid=s.result.pid}}))},createPool(){e.send(r.createPool,{number:3})},runJobByPool(s,o){let i={id:s,type:"timer",action:o};e.invoke(r.someJobByPool,i).then((s=>{switch(s.jobId){case 3:this.progress3_pid=s.result.pid;break;case 4:this.progress4_pid=s.result.pid;break;case 5:this.progress5_pid=s.result.pid;break;case 6:this.progress6_pid=s.result.pid}}))}}},_=s=>(u("data-v-71705fa7"),s=s(),c(),s),b={id:"app-base-jobs"},h=_((()=>l("div",{class:"one-block-1"},[l("span",null," 1. 任务 / 并发任务 ")],-1))),k={class:"one-block-2"},f=_((()=>l("p",null,null,-1))),m=_((()=>l("div",{class:"one-block-1"},[l("span",null," 2. 任务池 / 并发任务 ")],-1))),P={class:"one-block-2"},J=_((()=>l("p",null,null,-1))),v=_((()=>l("p",null,null,-1))),y=_((()=>l("p",null,null,-1))),C=_((()=>l("p",null,null,-1)));const B=s(g,[["render",function(s,e,r,u,c,g){const _=o("a-button"),B=o("a-space");return i(),p("div",b,[h,l("div",k,[d(B,null,{default:t((()=>[d(_,{onClick:e[0]||(e[0]=s=>g.runJob(1,"create"))},{default:t((()=>[a("执行任务1")])),_:1}),a(" 进度:"+n(c.progress1)+" 进程pid"+n(c.progress1_pid)+" ",1),d(_,{onClick:e[1]||(e[1]=s=>g.runJob(1,"close"))},{default:t((()=>[a("关闭")])),_:1})])),_:1}),f,d(B,null,{default:t((()=>[d(_,{onClick:e[2]||(e[2]=s=>g.runJob(2,"create"))},{default:t((()=>[a("执行任务2")])),_:1}),a(" 进度:"+n(c.progress2)+" 进程pid"+n(c.progress2_pid)+" ",1),d(_,{onClick:e[3]||(e[3]=s=>g.runJob(2,"close"))},{default:t((()=>[a("关闭")])),_:1})])),_:1})]),m,l("div",P,[d(B,null,{default:t((()=>[d(_,{onClick:e[4]||(e[4]=s=>g.createPool())},{default:t((()=>[a("创建进程池")])),_:1}),a(" 进程pids"+n(c.processPids),1)])),_:1}),J,d(B,null,{default:t((()=>[d(_,{onClick:e[5]||(e[5]=s=>g.runJobByPool(3,"run"))},{default:t((()=>[a("执行任务3")])),_:1}),a(" 进度:"+n(c.progress3)+" 进程pid"+n(c.progress3_pid),1)])),_:1}),v,d(B,null,{default:t((()=>[d(_,{onClick:e[6]||(e[6]=s=>g.runJobByPool(4,"run"))},{default:t((()=>[a("执行任务4")])),_:1}),a(" 进度:"+n(c.progress4)+" 进程pid"+n(c.progress4_pid),1)])),_:1}),y,d(B,null,{default:t((()=>[d(_,{onClick:e[7]||(e[7]=s=>g.runJobByPool(5,"run"))},{default:t((()=>[a("执行任务5")])),_:1}),a(" 进度:"+n(c.progress5)+" 进程pid"+n(c.progress5_pid),1)])),_:1}),C,d(B,null,{default:t((()=>[d(_,{onClick:e[8]||(e[8]=s=>g.runJobByPool(6,"run"))},{default:t((()=>[a("执行任务6")])),_:1}),a(" 进度:"+n(c.progress6)+" 进程pid"+n(c.progress6_pid),1)])),_:1})])])}],["__scopeId","data-v-71705fa7"]]);export{B as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as a,a as s,b as t,o,c as n,f as d,e as r,w as l,h as c,t as i,p,k as u}from"./index-f69ca7de.js";const f={data:()=>({data:[{content:"powershell.exe",id:"powershell.exe"}]}),methods:{openSoft(e){a.invoke(s.openSoftware,e).then((e=>{e||this.$message.error("程序不存在")}))}}},b={id:"app-base-software-open"},h=(e=>(p("data-v-90e4d11c"),e=e(),u(),e))((()=>d("div",{class:"one-block-1"},[d("span",null," 1. 调用其它软件exe、bash等可执行程序 "),d("p"),d("span",{class:"sub-content"}," 注请先将【powershell.exe】复制到【electron-egg/build/extraResources】目录中 ")],-1))),k={class:"one-block-2"};const m=e(f,[["render",function(e,a,s,p,u,f){const m=t("a-button"),x=t("a-list-item"),v=t("a-list");return o(),n("div",b,[h,d("div",k,[r(v,{bordered:"","data-source":u.data},{renderItem:l((({item:e})=>[r(x,{onClick:a=>f.openSoft(e.id)},{default:l((()=>[c(i(e.content)+" ",1),r(m,{type:"link"},{default:l((()=>[c(" 执行 ")])),_:1})])),_:2},1032,["onClick"])])),_:1},8,["data-source"])])])}],["__scopeId","data-v-90e4d11c"]]);export{m as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as l,a as s,l as a,b as o,o as t,c as n,f as i,e as r,w as c,h as p,p as d,k as u}from"./index-f69ca7de.js";const k={data:()=>({type:1,serverUrl:""}),methods:{info(){l.invoke(s.crossInfo,{}).then((e=>{console.log("res:",e)}))},getUrl(){l.invoke(s.getCrossUrl,{name:"pyapp"}).then((e=>{this.serverUrl=e,this.$message.info(`服务地址: ${e}`)}))},kill(){l.invoke(s.killCrossServer,{type:"one",name:"pyapp"})},killAll(){l.invoke(s.killCrossServer,{type:"all",name:"pyapp"})},create(){l.invoke(s.createCrossServer,{program:"python"})},request(e){if(1!=e||""!=this.serverUrl)if(1==e){const e=this.serverUrl+"/api/hello";a({method:"get",url:e,params:{id:"111"},timeout:1e3}).then((e=>{console.log("res:",e);const l=e.data||null;this.$message.info(`服务返回: ${JSON.stringify(l)}`)}))}else l.invoke(s.requestApi,{name:"pyapp",urlPath:"/api/hello"}).then((e=>{console.log("res:",e);const l=e||null;this.$message.info(`服务返回: ${JSON.stringify(l)}`)}));else this.$message.info("请先获取服务地址")}}},f=e=>(d("data-v-89c3cb98"),e=e(),u(),e),v={id:"app-cross-python"},h=f((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 基础控制 ")],-1))),m={class:"one-block-2"},g=f((()=>i("div",{class:"one-block-1"},[i("span",null," 2. 发送http请求 ")],-1))),_={class:"one-block-2"},C=f((()=>i("div",{class:"one-block-1"},[i("span",null," 3. 多个服务 ")],-1))),y={class:"one-block-2"};const b=e(k,[["render",function(e,l,s,a,d,u){const k=o("a-button"),f=o("a-space");return t(),n("div",v,[h,i("div",m,[r(f,null,{default:c((()=>[r(k,{onClick:l[0]||(l[0]=e=>u.create())},{default:c((()=>[p(" 启动 ")])),_:1}),r(k,{onClick:l[1]||(l[1]=e=>u.getUrl())},{default:c((()=>[p(" 获取地址 ")])),_:1}),r(k,{onClick:l[2]||(l[2]=e=>u.kill())},{default:c((()=>[p(" kill ")])),_:1}),r(k,{onClick:l[3]||(l[3]=e=>u.info())},{default:c((()=>[p(" test ")])),_:1})])),_:1})]),g,i("div",_,[r(f,null,{default:c((()=>[r(k,{onClick:l[4]||(l[4]=e=>u.request(1))},{default:c((()=>[p(" 前端发送 ")])),_:1}),r(k,{onClick:l[5]||(l[5]=e=>u.request(2))},{default:c((()=>[p(" 主进程发送 ")])),_:1})])),_:1})]),C,i("div",y,[r(f,null,{default:c((()=>[r(k,{onClick:l[6]||(l[6]=e=>u.create())},{default:c((()=>[p(" 启动 ")])),_:1}),r(k,{onClick:l[7]||(l[7]=e=>u.killAll())},{default:c((()=>[p(" kill all ")])),_:1})])),_:1})])])}],["__scopeId","data-v-89c3cb98"]]);export{b as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as n,a as s,s as o,g as a,b as i,o as l,c as d,f as t,e as c,w,h as g,t as k,p as u,k as p}from"./index-f69ca7de.js";const r={data:()=>({messageString:"",message1:"",message2:"",message3:"",windowName:"window-ipc",newWcId:0,views:[{type:"vue",content:"#/special/subwindow",windowName:"window-ipc",windowTitle:"ipc window"}]}),mounted(){this.init()},methods:{init(){n.removeAllListeners(s.ipcSendMsg),n.on(s.ipcSendMsg,((e,n)=>{console.log("[ipcRenderer] [socketMsgStart] result:",n),this.messageString=n,e.sender.send(s.hello,"electron-egg")})),n.removeAllListeners(o.window2ToWindow1),n.on(o.window2ToWindow1,((e,n)=>{this.$message.info(n)}))},sendMsgStart(){n.send(s.ipcSendMsg,{type:"start",content:"开始"})},sendMsgStop(){n.send(s.ipcSendMsg,{type:"end",content:""})},handleInvoke(){n.invoke(s.ipcInvokeMsg,"异步-回调").then((e=>{console.log("r:",e),this.message1=e}))},async handleInvoke2(){const e=await n.invoke(s.ipcInvokeMsg,"异步");console.log("msg:",e),this.message2=e},handleSendSync(){const e=n.sendSync(s.ipcSendSyncMsg,"同步");this.message3=e},createWindow(e){n.invoke(s.createWindow,a(this.views[e])).then((e=>{console.log("[createWindow] id:",e)}))},async sendTosubWindow(){this.newWcId=await n.invoke(s.getWCid,this.windowName),n.sendTo(this.newWcId,o.window1ToWindow2,"窗口1通过 sendTo 给窗口2发送消息")}}},v=e=>(u("data-v-227d95f1"),e=e(),p(),e),m={id:"app-base-socket-ipc"},h=v((()=>t("div",{class:"one-block-1"},[t("span",null," 1. 发送异步消息 ")],-1))),f={class:"one-block-2"},S=v((()=>t("p",null,null,-1))),_=v((()=>t("div",{class:"one-block-1"},[t("span",null," 2. 同步消息(不推荐,阻塞执行) ")],-1))),b={class:"one-block-2"},C=v((()=>t("div",{class:"one-block-1"},[t("span",null," 3. 长消息: 服务端持续向前端页面发消息 ")],-1))),W={class:"one-block-2"},M=v((()=>t("div",{class:"one-block-1"},[t("span",null," 4. 多窗口通信:子窗口与主进程通信,子窗口互相通信 ")],-1))),y={class:"one-block-2"};const I=e(r,[["render",function(e,n,s,o,a,u){const p=i("a-button"),r=i("a-space");return l(),d("div",m,[h,t("div",f,[c(r,null,{default:w((()=>[c(p,{onClick:u.handleInvoke},{default:w((()=>[g("发送 - 回调")])),_:1},8,["onClick"]),g(" 结果:"+k(a.message1),1)])),_:1}),S,c(r,null,{default:w((()=>[c(p,{onClick:u.handleInvoke2},{default:w((()=>[g("发送 - async/await")])),_:1},8,["onClick"]),g(" 结果:"+k(a.message2),1)])),_:1})]),_,t("div",b,[c(r,null,{default:w((()=>[c(p,{onClick:u.handleSendSync},{default:w((()=>[g("同步消息")])),_:1},8,["onClick"]),g(" 结果:"+k(a.message3),1)])),_:1})]),C,t("div",W,[c(r,null,{default:w((()=>[c(p,{onClick:u.sendMsgStart},{default:w((()=>[g("开始")])),_:1},8,["onClick"]),c(p,{onClick:u.sendMsgStop},{default:w((()=>[g("结束")])),_:1},8,["onClick"]),g(" 结果:"+k(a.messageString),1)])),_:1})]),M,t("div",y,[c(r,null,{default:w((()=>[c(p,{onClick:n[0]||(n[0]=e=>u.createWindow(0))},{default:w((()=>[g("打开新窗口2")])),_:1}),c(p,{onClick:n[1]||(n[1]=e=>u.sendTosubWindow())},{default:w((()=>[g("向新窗口2发消息")])),_:1})])),_:1})])])}],["__scopeId","data-v-227d95f1"]]);export{I as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,i as n,a as s,s as o,b as a,o as l,c as i,f as d,e as t,w as c,h as g,t as u,p as k,k as p}from"./index-f69ca7de.js";const m={data:()=>({messageString:"",message1:"",message2:"",message3:"",mainWCid:0}),mounted(){this.init()},methods:{init(){n.removeAllListeners(s.ipcSendMsg),n.on(s.ipcSendMsg,((e,n)=>{console.log("[ipcRenderer] [socketMsgStart] result:",n),this.messageString=n,e.sender.send(s.hello,"electron-egg")})),n.removeAllListeners(o.window1ToWindow2),n.on(o.window1ToWindow2,((e,n)=>{this.$message.info(n)}))},sendMsgStart(){n.send(s.ipcSendMsg,{type:"start",content:"开始"})},sendMsgStop(){n.send(s.ipcSendMsg,{type:"end",content:""})},handleInvoke(){n.invoke(s.ipcInvokeMsg,"异步-回调").then((e=>{console.log("r:",e),this.message1=e}))},async handleInvoke2(){const e=await n.invoke(s.ipcInvokeMsg,"异步");console.log("msg:",e),this.message2=e},handleSendSync(){const e=n.sendSync(s.ipcSendSyncMsg,"同步");this.message3=e},sendTosubWindow(){n.invoke(s.getWCid,"main").then((e=>{this.mainWCid=e,n.sendTo(this.mainWCid,o.window2ToWindow1,"窗口2 通过 sendTo 给主窗口发送消息")}))}}},r=e=>(k("data-v-54ef5770"),e=e(),p(),e),v={id:"app-base-subwindow-ipc"},h=r((()=>d("div",{class:"one-block-1"},[d("span",null," 1. 发送异步消息 ")],-1))),S={class:"one-block-2"},f=r((()=>d("p",null,null,-1))),w=r((()=>d("div",{class:"one-block-1"},[d("span",null," 2. 同步消息(不推荐,阻塞执行) ")],-1))),C={class:"one-block-2"},b=r((()=>d("div",{class:"one-block-1"},[d("span",null," 3. 长消息: 服务端持续向前端页面发消息 ")],-1))),_={class:"one-block-2"},M=r((()=>d("div",{class:"one-block-1"},[d("span",null," 4. 多窗口通信:窗口之间互相通信 ")],-1))),W={class:"one-block-2"};const y=e(m,[["render",function(e,n,s,o,k,p){const m=a("a-button"),r=a("a-space");return l(),i("div",v,[h,d("div",S,[t(r,null,{default:c((()=>[t(m,{onClick:p.handleInvoke},{default:c((()=>[g("发送 - 回调")])),_:1},8,["onClick"]),g(" 结果:"+u(k.message1),1)])),_:1}),f,t(r,null,{default:c((()=>[t(m,{onClick:p.handleInvoke2},{default:c((()=>[g("发送 - async/await")])),_:1},8,["onClick"]),g(" 结果:"+u(k.message2),1)])),_:1})]),w,d("div",C,[t(r,null,{default:c((()=>[t(m,{onClick:p.handleSendSync},{default:c((()=>[g("同步消息")])),_:1},8,["onClick"]),g(" 结果:"+u(k.message3),1)])),_:1})]),b,d("div",_,[t(r,null,{default:c((()=>[t(m,{onClick:p.sendMsgStart},{default:c((()=>[g("开始")])),_:1},8,["onClick"]),t(m,{onClick:p.sendMsgStop},{default:c((()=>[g("结束")])),_:1},8,["onClick"]),g(" 结果:"+u(k.messageString),1)])),_:1})]),M,d("div",W,[t(r,null,{default:c((()=>[t(m,{onClick:n[0]||(n[0]=e=>p.sendTosubWindow())},{default:c((()=>[g("向主窗口发消息")])),_:1})])),_:1})])])}],["__scopeId","data-v-54ef5770"]]);export{y as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as e,b as a,o as n,d as t,w as i,e as o,c as r,r as m,f as s,t as p,F as l}from"./index-f69ca7de.js";const u={framework:{menu_100:{icon:"profile",title:"通信",pageName:"FrameworkSocketIpc",params:{}},menu_101:{icon:"profile",title:"http服务",pageName:"FrameworkSocketHttpServer",params:{}},menu_102:{icon:"profile",title:"socket服务",pageName:"FrameworkSocketSocketServer",params:{}},menu_103:{icon:"profile",title:"json数据库",pageName:"FrameworkJsonDBIndex",params:{}},menu_104:{icon:"profile",title:"sqlite数据库",pageName:"FrameworkSqliteDBIndex",params:{}},menu_105:{icon:"profile",title:"任务",pageName:"FrameworkJobsIndex",params:{}},menu_106:{icon:"profile",title:"自动更新",pageName:"FrameworkUpdaterIndex",params:{}},menu_107:{icon:"profile",title:"软件调用",pageName:"FrameworkSoftwareIndex",params:{}},menu_109:{icon:"profile",title:"测试",pageName:"FrameworkTestApiIndex",params:{}}},os:{menu_100:{icon:"profile",title:"文件",pageName:"OsFileIndex",params:{}},menu_101:{icon:"profile",title:"视图",pageName:"OsWindowViewIndex",params:{}},menu_102:{icon:"profile",title:"窗口",pageName:"OsWindowIndex",params:{}},menu_103:{icon:"profile",title:"桌面通知",pageName:"OsNotificationIndex",params:{}},menu_104:{icon:"profile",title:"电源监控",pageName:"OsPowerMonitorIndex",params:{}},menu_105:{icon:"profile",title:"屏幕信息",pageName:"OsScreenIndex",params:{}},menu_106:{icon:"profile",title:"系统主题",pageName:"OsThemeIndex",params:{}},menu_110:{icon:"profile",title:"图片",pageName:"OsFilePic",params:{}}},hardware:{menu_100:{icon:"profile",title:"打印机",pageName:"HardwarePrinterIndex",params:{}}},effect:{menu_100:{icon:"profile",title:"视频播放器",pageName:"EffectVideoIndex",params:{}},menu_110:{icon:"profile",title:"登录",pageName:"EffectLoginIndex",params:{}}},cross:{menu_100:{icon:"profile",title:"go服务",pageName:"CrossGoIndex",params:{}},menu_110:{icon:"profile",title:"java服务",pageName:"CrossJavaIndex",params:{}},menu_120:{icon:"profile",title:"python服务",pageName:"CrossPythonIndex",params:{}}}};const c=e({props:{id:{type:String,default:""}},data:()=>({menu:{},current:"menu_100",keys:[]}),watch:{id:function(){console.log("watch id ----- ",this.id),this.current="menu_100",this.menuHandle()}},created(){},mounted(){this.menuHandle()},methods:{menuHandle(){console.log("menu ------ id:",this.id),this.menu=u[this.id];const e=this.menu[this.current];this.$router.push({name:e.pageName,params:e.params})},changeMenu(e){console.log("changeMenu e:",e),this.current=e.key}}},[["render",function(e,u,c,d,f,g){const _=a("router-link"),h=a("a-menu-item"),N=a("a-menu"),k=a("a-layout-sider"),w=a("router-view"),x=a("a-layout-content"),I=a("a-layout");return n(),t(I,{id:"app-menu"},{default:i((()=>[o(k,{theme:"light",class:"layout-sider"},{default:i((()=>[o(N,{theme:"light",mode:"inline",selectedKeys:[f.current],onClick:g.changeMenu},{default:i((()=>[(n(!0),r(l,null,m(f.menu,((e,a)=>(n(),t(h,{key:a},{default:i((()=>[o(_,{to:{name:e.pageName,params:e.params}},{default:i((()=>[s("span",null,p(e.title),1)])),_:2},1032,["to"])])),_:2},1024)))),128))])),_:1},8,["selectedKeys","onClick"])])),_:1}),o(I,null,{default:i((()=>[o(x,null,{default:i((()=>[o(w)])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-cb2fcd1f"]]);export{c as default};

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as a,i as s,a as e,b as t,o as c,c as l,f as i,e as n,w as o,h as d,p,k as u}from"./index-f69ca7de.js";const f={data:()=>({picPath:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"}),methods:{selectPic(){s.invoke(e.selectPic,{}).then((a=>{this.picPath=a}))}}},r=a=>(p("data-v-d083fee8"),a=a(),u(),a),h={id:"os-file-pic"},P=r((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 加载本机图片 ")],-1))),k={class:"one-block-2"},m=r((()=>i("p",null,null,-1)));const v=a(f,[["render",function(a,s,e,p,u,f){const r=t("a-button"),v=t("a-space"),b=t("a-image");return c(),l("div",h,[P,i("div",k,[n(v,null,{default:o((()=>[n(r,{onClick:s[0]||(s[0]=a=>f.selectPic(0))},{default:o((()=>[d("选择图片")])),_:1})])),_:1}),m,n(b,{width:500,src:u.picPath},null,8,["src"])])])}],["__scopeId","data-v-d083fee8"]]);export{v as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
import{_ as a,i as e,a as o,b as t,o as s,c as i,f as n,e as d,w as r,t as l,h as c}from"./index-f69ca7de.js";const g={id:"effect-login-window"},h={class:"block-1"},m={key:1};const p=a({data:()=>({loading:!1,loginText:"正在登陆......"}),methods:{login(){this.loading=!0,setTimeout((()=>{this.$router.push({name:"Framework",params:{}}),e.invoke(o.restoreWindow,{width:980,height:650}).then((a=>{}))}),2e3)}}},[["render",function(a,e,o,p,u,f){const k=t("a-button");return s(),i("div",g,[n("div",h,[u.loading?(s(),i("span",m,l(u.loginText),1)):(s(),i("a",{key:0,onClick:e[0]||(e[0]=(...a)=>f.login&&f.login(...a))},[d(k,{type:"primary"},{default:r((()=>[c(" 登录 ")])),_:1})]))])])}],["__scopeId","data-v-be47062b"]]);export{p as default};

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.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1,3 @@
import{x as t,y as e}from"./index-f69ca7de.js";var r,n,i,s,a,o={exports:{}};
/*! store2 - v2.14.3 - 2024-02-14
* Copyright (c) 2024 Nathan Bubna; Licensed MIT */r=o,n=t,i=t&&t.define,(a=(s={version:"2.14.3",areas:{},apis:{},nsdelim:".",inherit:function(t,e){for(var r in t)e.hasOwnProperty(r)||Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e},stringify:function(t,e){return void 0===t||"function"==typeof t?t+"":JSON.stringify(t,e||s.replace)},parse:function(t,e){try{return JSON.parse(t,e||s.revive)}catch(r){return t}},fn:function(t,e){for(var r in s.storeAPI[t]=e,s.apis)s.apis[r][t]=e},get:function(t,e){return t.getItem(e)},set:function(t,e,r){t.setItem(e,r)},remove:function(t,e){t.removeItem(e)},key:function(t,e){return t.key(e)},length:function(t){return t.length},clear:function(t){t.clear()},Store:function(t,e,r){var n=s.inherit(s.storeAPI,(function(t,e,r){return 0===arguments.length?n.getAll():"function"==typeof e?n.transact(t,e,r):void 0!==e?n.set(t,e,r):"string"==typeof t||"number"==typeof t?n.get(t):"function"==typeof t?n.each(t):t?n.setAll(t,e):n.clear()}));n._id=t;try{var i="__store2_test";e.setItem(i,"ok"),n._area=e,e.removeItem(i)}catch(a){n._area=s.storage("fake")}return n._ns=r||"",s.areas[t]||(s.areas[t]=n._area),s.apis[n._ns+n._id]||(s.apis[n._ns+n._id]=n),n},storeAPI:{area:function(t,e){var r=this[t];return r&&r.area||(r=s.Store(t,e,this._ns),this[t]||(this[t]=r)),r},namespace:function(t,e,r){if(r=r||this._delim||s.nsdelim,!t)return this._ns?this._ns.substring(0,this._ns.length-r.length):"";var n=t,i=this[n];if(!(i&&i.namespace||((i=s.Store(this._id,this._area,this._ns+n+r))._delim=r,this[n]||(this[n]=i),e)))for(var a in s.areas)i.area(a,s.areas[a]);return i},isFake:function(t){return t?(this._real=this._area,this._area=s.storage("fake")):!1===t&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(t){return this._area.has?this._area.has(this._in(t)):!!(this._in(t)in this._area)},size:function(){return this.keys().length},each:function(t,e){for(var r=0,n=s.length(this._area);r<n;r++){var i=this._out(s.key(this._area,r));if(void 0!==i&&!1===t.call(this,i,this.get(i),e))break;n>s.length(this._area)&&(n--,r--)}return e||this},keys:function(t){return this.each((function(t,e,r){r.push(t)}),t||[])},get:function(t,e){var r,n=s.get(this._area,this._in(t));return"function"==typeof e&&(r=e,e=null),null!==n?s.parse(n,r):null!=e?e:n},getAll:function(t){return this.each((function(t,e,r){r[t]=e}),t||{})},transact:function(t,e,r){var n=this.get(t,r),i=e(n);return this.set(t,void 0===i?n:i),this},set:function(t,e,r){var n,i=this.get(t);return null!=i&&!1===r?e:("function"==typeof r&&(n=r,r=void 0),s.set(this._area,this._in(t),s.stringify(e,n),r)||i)},setAll:function(t,e){var r,n;for(var i in t)n=t[i],this.set(i,n,e)!==n&&(r=!0);return r},add:function(t,e,r){var n=this.get(t);if(n instanceof Array)e=n.concat(e);else if(null!==n){var i=typeof n;if(i===typeof e&&"object"===i){for(var a in e)n[a]=e[a];e=n}else e=n+e}return s.set(this._area,this._in(t),s.stringify(e,r)),e},remove:function(t,e){var r=this.get(t,e);return s.remove(this._area,this._in(t)),r},clear:function(){return this._ns?this.each((function(t){s.remove(this._area,this._in(t))}),1):s.clear(this._area),this},clearAll:function(){var t=this._area;for(var e in s.areas)s.areas.hasOwnProperty(e)&&(this._area=s.areas[e],this.clear());return this._area=t,this},_in:function(t){return"string"!=typeof t&&(t=s.stringify(t)),this._ns?this._ns+t:t},_out:function(t){return this._ns?t&&0===t.indexOf(this._ns)?t.substring(this._ns.length):void 0:t}},storage:function(t){return s.inherit(s.storageAPI,{items:{},name:t})},storageAPI:{length:0,has:function(t){return this.items.hasOwnProperty(t)},key:function(t){var e=0;for(var r in this.items)if(this.has(r)&&t===e++)return r},setItem:function(t,e){this.has(t)||this.length++,this.items[t]=e},removeItem:function(t){this.has(t)&&(delete this.items[t],this.length--)},getItem:function(t){return this.has(t)?this.items[t]:null},clear:function(){for(var t in this.items)this.removeItem(t)}}}).Store("local",function(){try{return localStorage}catch(t){}}())).local=a,a._=s,a.area("session",function(){try{return sessionStorage}catch(t){}}()),a.area("page",s.storage("page")),"function"==typeof i&&void 0!==i.amd?i("store2",[],(function(){return a})):r.exports?r.exports=a:(n.store&&(s.conflict=n.store),n.store=a);const h=e(o.exports);export{h as s};

Binary file not shown.

View File

@ -0,0 +1 @@
const e=""+new URL("1-84795e6d.png",import.meta.url).href,t=Object.freeze(Object.defineProperty({__proto__:null,default:e},Symbol.toStringTag,{value:"Module"})),r=""+new URL("2-9a276330.png",import.meta.url).href,o=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"})),l=""+new URL("3-e002d1a9.png",import.meta.url).href,a=Object.freeze(Object.defineProperty({__proto__:null,default:l},Symbol.toStringTag,{value:"Module"})),n=""+new URL("4-5045eb38.png",import.meta.url).href,u=Object.freeze(Object.defineProperty({__proto__:null,default:n},Symbol.toStringTag,{value:"Module"})),f=""+new URL("5-da3253e2.png",import.meta.url).href,p=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"})),_=""+new URL("6-c9597846.png",import.meta.url).href,b=Object.freeze(Object.defineProperty({__proto__:null,default:_},Symbol.toStringTag,{value:"Module"})),d=""+new URL("7-b1220b9f.png",import.meta.url).href,g=Object.freeze(Object.defineProperty({__proto__:null,default:d},Symbol.toStringTag,{value:"Module"})),i=""+new URL("8-2cd58286.png",import.meta.url).href,m=Object.freeze(Object.defineProperty({__proto__:null,default:i},Symbol.toStringTag,{value:"Module"})),c=""+new URL("9-c113c46b.png",import.meta.url).href,s=Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"})),j=""+new URL("10-9b758e04.png",import.meta.url).href,y=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"})),O=""+new URL("11-00a56e76.png",import.meta.url).href,S=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"})),h=""+new URL("12-17ee9383.png",import.meta.url).href,v=Object.freeze(Object.defineProperty({__proto__:null,default:h},Symbol.toStringTag,{value:"Module"})),w=""+new URL("13-1d642d9a.png",import.meta.url).href,z=Object.freeze(Object.defineProperty({__proto__:null,default:w},Symbol.toStringTag,{value:"Module"})),L=""+new URL("14-0b296361.png",import.meta.url).href,M=Object.freeze(Object.defineProperty({__proto__:null,default:L},Symbol.toStringTag,{value:"Module"})),P=""+new URL("15-f8166379.png",import.meta.url).href,R=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:"Module"})),T=""+new URL("16-67f6183a.png",import.meta.url).href,U=Object.freeze(Object.defineProperty({__proto__:null,default:T},Symbol.toStringTag,{value:"Module"})),x=""+new URL("17-d7db124e.png",import.meta.url).href,k=Object.freeze(Object.defineProperty({__proto__:null,default:x},Symbol.toStringTag,{value:"Module"})),q=""+new URL("18-b11cf07c.png",import.meta.url).href,A=Object.freeze(Object.defineProperty({__proto__:null,default:q},Symbol.toStringTag,{value:"Module"})),B=""+new URL("封面-896afb12.png",import.meta.url).href,C=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),D=""+new URL("尾页-5803a323.png",import.meta.url).href,E=Object.freeze(Object.defineProperty({__proto__:null,default:D},Symbol.toStringTag,{value:"Module"}));export{U as A,k as B,A as C,o as D,a as E,u as F,p as G,b as H,g as I,m as J,s as K,C as L,E as M,t as _,e as a,r as b,l as c,n as d,f as e,_ as f,d as g,i as h,B as i,c as j,j as k,O as l,h as m,w as n,L as o,P as p,T as q,x as r,q as s,D as t,y as u,S as v,v as w,z as x,M as y,R as z};

Binary file not shown.

View File

@ -84,8 +84,8 @@
}
}
</style>
<script type="module" crossorigin src="./assets/index-4c6e30ca.js"></script>
<link rel="stylesheet" href="./assets/index-b0a2eaef.css">
<script type="module" crossorigin src="./assets/index-f69ca7de.js"></script>
<link rel="stylesheet" href="./assets/index-8f538cf2.css">
</head>
<body>
<div id="loadingPage">

Binary file not shown.