From b3edb0bd7d8c0dc9d1d0fb96c98f10c0c65c8b03 Mon Sep 17 00:00:00 2001 From: RainSun Date: Sat, 6 Mar 2021 23:26:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E9=94=81=E9=A1=B5=E5=8A=A0title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/css/unlock.bc688abc.css | 1 + dist/css/unlock.e5b586c1.css | 1 - dist/index.html | 2 +- ...legacy.df7c572f.js => app-legacy.e4b8025b.js} | 2 +- dist/js/{app.d69af120.js => app.257ea0da.js} | 2 +- dist/js/unlock-legacy.2ddc29d3.js | 1 - dist/js/unlock-legacy.4de44754.js | 1 + dist/js/unlock.515ea5a1.js | 1 + dist/js/unlock.8f46929c.js | 1 - ...manifest.1a658df80982505a110f530ca042686f.js} | 16 ++++++++-------- ...manifest.78e5ef9937fb03a3e653f68a1982de5f.js} | 16 ++++++++-------- dist/service-worker.js | 2 +- src/views/Unlock/Unlock.vue | 4 ++-- 13 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 dist/css/unlock.bc688abc.css delete mode 100644 dist/css/unlock.e5b586c1.css rename dist/js/{app-legacy.df7c572f.js => app-legacy.e4b8025b.js} (98%) rename dist/js/{app.d69af120.js => app.257ea0da.js} (98%) delete mode 100644 dist/js/unlock-legacy.2ddc29d3.js create mode 100644 dist/js/unlock-legacy.4de44754.js create mode 100644 dist/js/unlock.515ea5a1.js delete mode 100644 dist/js/unlock.8f46929c.js rename dist/{precache-manifest.38941b002e92e7f55700a0893a7cc390.js => precache-manifest.1a658df80982505a110f530ca042686f.js} (88%) rename dist/{precache-manifest.4c83f6dbf1910f90f40b382dd5d1551c.js => precache-manifest.78e5ef9937fb03a3e653f68a1982de5f.js} (88%) diff --git a/dist/css/unlock.bc688abc.css b/dist/css/unlock.bc688abc.css new file mode 100644 index 0000000..08dfd57 --- /dev/null +++ b/dist/css/unlock.bc688abc.css @@ -0,0 +1 @@ +.unlock[data-v-b299acca]{width:100%;min-height:100%;background:#fff}.unlock .logo[data-v-b299acca]{margin:0 auto;display:block;height:5rem;width:5rem}.unlock .center[data-v-b299acca]{margin:0 auto;text-align:center;display:block}.unlock .input-box[data-v-b299acca]{width:70%;max-width:350px;margin:.5rem auto}.unlock .md-raised[data-v-b299acca]{margin-top:1rem}.dark-theme-unlock[data-v-b299acca]{background:#424242}.dark-theme-unlock .center[data-v-b299acca]{color:#fff!important}.tips[data-v-b299acca]{font-size:.3rem;max-width:70%;padding:1rem 0 0 0;color:#989898}.tips-buttom[data-v-b299acca]{padding-bottom:1rem}.qq-link[data-v-b299acca]{color:#448aff} \ No newline at end of file diff --git a/dist/css/unlock.e5b586c1.css b/dist/css/unlock.e5b586c1.css deleted file mode 100644 index b6b236f..0000000 --- a/dist/css/unlock.e5b586c1.css +++ /dev/null @@ -1 +0,0 @@ -.unlock[data-v-ad388aae]{width:100%;min-height:100%;background:#fff}.unlock .logo[data-v-ad388aae]{margin:0 auto;display:block;height:5rem;width:5rem}.unlock .center[data-v-ad388aae]{margin:0 auto;text-align:center;display:block}.unlock .input-box[data-v-ad388aae]{width:70%;max-width:350px;margin:.5rem auto}.unlock .md-raised[data-v-ad388aae]{margin-top:1rem}.dark-theme-unlock[data-v-ad388aae]{background:#424242}.dark-theme-unlock .center[data-v-ad388aae]{color:#fff!important}.tips[data-v-ad388aae]{font-size:.3rem;max-width:70%;padding:1rem 0 0 0;color:#989898}.tips-buttom[data-v-ad388aae]{padding-bottom:1rem}.qq-link[data-v-ad388aae]{color:#448aff} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 712513f..e63c507 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,4 +9,4 @@ 'font-size:12px;color:#999999;', (new Date).getFullYear()); } catch (e) { - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/dist/js/app-legacy.df7c572f.js b/dist/js/app-legacy.e4b8025b.js similarity index 98% rename from dist/js/app-legacy.df7c572f.js rename to dist/js/app-legacy.e4b8025b.js index 7084513..0db8c3c 100644 --- a/dist/js/app-legacy.df7c572f.js +++ b/dist/js/app-legacy.e4b8025b.js @@ -1 +1 @@ -(function(e){function t(t){for(var o,a,i=t[0],u=t[1],d=t[2],l=0,s=[];l=500?"50px":e/10+"px"}n.d(t,"a",(function(){return o}))}}); \ No newline at end of file +(function(e){function t(t){for(var o,a,i=t[0],u=t[1],d=t[2],l=0,s=[];l=500?"50px":e/10+"px"}n.d(t,"a",(function(){return o}))}}); \ No newline at end of file diff --git a/dist/js/app.d69af120.js b/dist/js/app.257ea0da.js similarity index 98% rename from dist/js/app.d69af120.js rename to dist/js/app.257ea0da.js index 33057ed..c25136c 100644 --- a/dist/js/app.d69af120.js +++ b/dist/js/app.257ea0da.js @@ -1 +1 @@ -(function(e){function t(t){for(var o,a,l=t[0],d=t[1],i=t[2],s=0,u=[];sthis.beforeunloadHandler(e)),window.addEventListener("unload",e=>this.unloadHandler(e))},destroyed(){window.removeEventListener("beforeunload",e=>this.beforeunloadHandler(e)),window.removeEventListener("unload",e=>this.unloadHandler(e))},methods:{...Object(c["b"])(["setRowPwd"]),beforeunloadHandler(){this._beforeUnload_time=(new Date).getTime()},unloadHandler(e){this._gap_time=(new Date).getTime()-this._beforeUnload_time,this._gap_time<=5&&(console.log("退出程序清除主密码"),this.setRowPwd(["",this]))}}},d=l,i=(n("5c0b"),n("5d22")),s=Object(i["a"])(d,a,r,!1,null,null,null),u=s.exports,g=n("08e7");Object(g["a"])("/service-worker.js",{ready(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered(){console.log("Service worker has been registered.")},cached(){console.log("Content has been cached for offline use.")},updatefound(){console.log("New content is downloading.")},updated(){console.log("New content is available; please refresh."),window.location.reload(!0)},offline(){console.log("No internet connection found. App is running in offline mode.")},error(e){console.error("Error during service worker registration:",e)}});var h=n("a81e");o["default"].use(h["a"]);const m=[{path:"/",name:"Home",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("home")]).then(n.bind(null,"1c62"))},{path:"/add",name:"Add",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("add")]).then(n.bind(null,"df8f"))},{path:"/account",name:"Account",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("account~settings"),n.e("account")]).then(n.bind(null,"a3f2"))},{path:"/updatelog",name:"UpdateLog",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("updatelog")]).then(n.bind(null,"8263"))},{path:"/settings",name:"Settings",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("account~settings"),n.e("settings")]).then(n.bind(null,"3f42"))},{path:"/unlock",name:"Unlock",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("unlock")]).then(n.bind(null,"ca94"))},{path:"/detail",name:"Detail",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("detail")]).then(n.bind(null,"f574"))},{path:"/generator",name:"Generator",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("generator")]).then(n.bind(null,"5eac"))},{path:"*",redirect:"/",name:"notFound",hidden:!0}],f=new h["a"]({mode:"history",base:"/",routes:m});var p=f;n("6ab7");o["default"].use(c["a"]);var v=new c["a"].Store({state:{user_infos:"",row_data:"",row_pwd:"",settings:"",home_state:""},mutations:{SET_USERINFO(e,t){e.user_infos=t},SET_ROWDATA(e,t){e.row_data=t},SET_ROWPWD(e,t){e.row_pwd=t},SET_SETTINGS(e,t){e.settings=t},SET_HOMESTATE(e,t){e.home_state=t}},actions:{setUserInfo({commit:e},t){e("SET_USERINFO",t[0]),w.call(t[1])},setRowData({commit:e},t){e("SET_ROWDATA",t[0]),w.call(t[1])},setRowPwd({commit:e},t){e("SET_ROWPWD",t[0]),w.call(t[1])},setSettings({commit:e},t){e("SET_SETTINGS",t[0]),w.call(t[1])},setHomeState({commit:e},t){e("SET_HOMESTATE",t[0]),w.call(t[1])}},modules:{}});function w(){let e=this.$store.state;for(let t of Object.keys(e))localStorage.setItem("canary_"+t,JSON.stringify(e[t]))}var b=n("e6a3"),k=n("61e4"),y=n("25e5"),_=n.n(y),E=(n("cd3b"),n("cfe9"),n("cb3b"),n("9306")),S=n.n(E),T=n("aac1"),O=n.n(T);o["default"].component("icon",k["a"]),o["default"].use(_.a),Object(b["a"])(),o["default"].use(S.a);var x=n("65d8");o["default"].use(x,{name:"v-touch"}),new O.a,o["default"].config.productionTip=!1,new o["default"]({router:p,store:v,render:e=>e(u)}).$mount("#app")},"5c0b":function(e,t,n){"use strict";n("ac27")},7126:function(e,t,n){var o={"./canary-white.svg":"8579","./canary.svg":"c251","./file_copy.svg":"d6a5"};function a(e){var t=r(e);return n(t)}function r(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}a.keys=function(){return Object.keys(o)},a.resolve=r,e.exports=a,a.id="7126"},8579:function(e,t){e.exports={svg:{$:{class:"icon",width:"200px",height:"200.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},path:[{$:{fill:"#ffffff",d:"M921.6 716.75904L415.46752 210.66752a136.25344 136.25344 0 0 0-96.54272-39.99744c-70.93248 0-128.53248 54.272-135.19872 123.43296L102.4 375.43936h86.12864C210.59584 506.39872 294.57408 616.09984 409.6 673.49504v179.84512h68.27008V700.34432a405.18656 405.18656 0 0 0 68.25984 13.70112v139.30496H614.4V716.75904h307.2zM448.93184 340.6336L620.2368 511.95904h-39.95648c-75.27424 0-136.54016-61.22496-136.54016-136.52992-0.01024-12.12416 2.12992-23.63392 5.19168-34.79552z m-198.26688-33.46432a68.32128 68.32128 0 0 1 68.25984-68.22912c18.19648 0 35.36896 7.09632 48.27136 19.99872l28.4672 28.4672a202.37312 202.37312 0 0 0-20.20352 88.03328c0 112.92672 91.86304 204.8 204.8 204.8h108.22656l68.27008 68.25984H592.00512c-188.20096 0-341.34016-153.1392-341.34016-341.32992z"}}]}}},ac27:function(e,t,n){},c251:function(e,t){e.exports={svg:{$:{t:"1582191167349",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3270","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},defs:[{style:[{$:{type:"text/css"}}]}],path:[{$:{d:"M921.6 716.75904L415.46752 210.66752a136.25344 136.25344 0 0 0-96.54272-39.99744c-70.93248 0-128.53248 54.272-135.19872 123.43296L102.4 375.43936h86.12864C210.59584 506.39872 294.57408 616.09984 409.6 673.49504v179.84512h68.27008V700.34432a405.18656 405.18656 0 0 0 68.25984 13.70112v139.30496H614.4V716.75904h307.2zM448.93184 340.6336L620.2368 511.95904h-39.95648c-75.27424 0-136.54016-61.22496-136.54016-136.52992-0.01024-12.12416 2.12992-23.63392 5.19168-34.79552z m-198.26688-33.46432a68.32128 68.32128 0 0 1 68.25984-68.22912c18.19648 0 35.36896 7.09632 48.27136 19.99872l28.4672 28.4672a202.37312 202.37312 0 0 0-20.20352 88.03328c0 112.92672 91.86304 204.8 204.8 204.8h108.22656l68.27008 68.25984H592.00512c-188.20096 0-341.34016-153.1392-341.34016-341.32992z","p-id":"3271",fill:"#bbdefb"}}]}}},d6a5:function(e,t){e.exports={svg:{$:{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24"},path:[{$:{d:"M0 0h24v24H0z",fill:"none"}},{$:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4l6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"}}]}}},e6a3:function(e,t,n){"use strict";function o(){const e=document.documentElement.clientWidth||document.body.clientWidth,t=document.getElementsByTagName("html")[0];t.style.fontSize=e>=500?"50px":e/10+"px"}n.d(t,"a",(function(){return o}))}}); \ No newline at end of file +(function(e){function t(t){for(var o,a,l=t[0],d=t[1],i=t[2],s=0,u=[];sthis.beforeunloadHandler(e)),window.addEventListener("unload",e=>this.unloadHandler(e))},destroyed(){window.removeEventListener("beforeunload",e=>this.beforeunloadHandler(e)),window.removeEventListener("unload",e=>this.unloadHandler(e))},methods:{...Object(c["b"])(["setRowPwd"]),beforeunloadHandler(){this._beforeUnload_time=(new Date).getTime()},unloadHandler(e){this._gap_time=(new Date).getTime()-this._beforeUnload_time,this._gap_time<=5&&(console.log("退出程序清除主密码"),this.setRowPwd(["",this]))}}},d=l,i=(n("5c0b"),n("5d22")),s=Object(i["a"])(d,a,r,!1,null,null,null),u=s.exports,g=n("08e7");Object(g["a"])("/service-worker.js",{ready(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered(){console.log("Service worker has been registered.")},cached(){console.log("Content has been cached for offline use.")},updatefound(){console.log("New content is downloading.")},updated(){console.log("New content is available; please refresh."),window.location.reload(!0)},offline(){console.log("No internet connection found. App is running in offline mode.")},error(e){console.error("Error during service worker registration:",e)}});var h=n("a81e");o["default"].use(h["a"]);const m=[{path:"/",name:"Home",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("home")]).then(n.bind(null,"1c62"))},{path:"/add",name:"Add",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("add")]).then(n.bind(null,"df8f"))},{path:"/account",name:"Account",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("account~settings"),n.e("account")]).then(n.bind(null,"a3f2"))},{path:"/updatelog",name:"UpdateLog",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("updatelog")]).then(n.bind(null,"8263"))},{path:"/settings",name:"Settings",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("account~settings"),n.e("settings")]).then(n.bind(null,"3f42"))},{path:"/unlock",name:"Unlock",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("unlock")]).then(n.bind(null,"ca94"))},{path:"/detail",name:"Detail",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("account~add~detail~home~settings~unlock"),n.e("detail")]).then(n.bind(null,"f574"))},{path:"/generator",name:"Generator",component:()=>Promise.all([n.e("account~add~detail~generator~home~settings~unlock~updatelog"),n.e("generator")]).then(n.bind(null,"5eac"))},{path:"*",redirect:"/",name:"notFound",hidden:!0}],f=new h["a"]({mode:"history",base:"/",routes:m});var p=f;n("6ab7");o["default"].use(c["a"]);var v=new c["a"].Store({state:{user_infos:"",row_data:"",row_pwd:"",settings:"",home_state:""},mutations:{SET_USERINFO(e,t){e.user_infos=t},SET_ROWDATA(e,t){e.row_data=t},SET_ROWPWD(e,t){e.row_pwd=t},SET_SETTINGS(e,t){e.settings=t},SET_HOMESTATE(e,t){e.home_state=t}},actions:{setUserInfo({commit:e},t){e("SET_USERINFO",t[0]),w.call(t[1])},setRowData({commit:e},t){e("SET_ROWDATA",t[0]),w.call(t[1])},setRowPwd({commit:e},t){e("SET_ROWPWD",t[0]),w.call(t[1])},setSettings({commit:e},t){e("SET_SETTINGS",t[0]),w.call(t[1])},setHomeState({commit:e},t){e("SET_HOMESTATE",t[0]),w.call(t[1])}},modules:{}});function w(){let e=this.$store.state;for(let t of Object.keys(e))localStorage.setItem("canary_"+t,JSON.stringify(e[t]))}var b=n("e6a3"),k=n("61e4"),y=n("25e5"),_=n.n(y),E=(n("cd3b"),n("cfe9"),n("cb3b"),n("9306")),S=n.n(E),T=n("aac1"),O=n.n(T);o["default"].component("icon",k["a"]),o["default"].use(_.a),Object(b["a"])(),o["default"].use(S.a);var x=n("65d8");o["default"].use(x,{name:"v-touch"}),new O.a,o["default"].config.productionTip=!1,new o["default"]({router:p,store:v,render:e=>e(u)}).$mount("#app")},"5c0b":function(e,t,n){"use strict";n("ac27")},7126:function(e,t,n){var o={"./canary-white.svg":"8579","./canary.svg":"c251","./file_copy.svg":"d6a5"};function a(e){var t=r(e);return n(t)}function r(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}a.keys=function(){return Object.keys(o)},a.resolve=r,e.exports=a,a.id="7126"},8579:function(e,t){e.exports={svg:{$:{class:"icon",width:"200px",height:"200.00px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},path:[{$:{fill:"#ffffff",d:"M921.6 716.75904L415.46752 210.66752a136.25344 136.25344 0 0 0-96.54272-39.99744c-70.93248 0-128.53248 54.272-135.19872 123.43296L102.4 375.43936h86.12864C210.59584 506.39872 294.57408 616.09984 409.6 673.49504v179.84512h68.27008V700.34432a405.18656 405.18656 0 0 0 68.25984 13.70112v139.30496H614.4V716.75904h307.2zM448.93184 340.6336L620.2368 511.95904h-39.95648c-75.27424 0-136.54016-61.22496-136.54016-136.52992-0.01024-12.12416 2.12992-23.63392 5.19168-34.79552z m-198.26688-33.46432a68.32128 68.32128 0 0 1 68.25984-68.22912c18.19648 0 35.36896 7.09632 48.27136 19.99872l28.4672 28.4672a202.37312 202.37312 0 0 0-20.20352 88.03328c0 112.92672 91.86304 204.8 204.8 204.8h108.22656l68.27008 68.25984H592.00512c-188.20096 0-341.34016-153.1392-341.34016-341.32992z"}}]}}},ac27:function(e,t,n){},c251:function(e,t){e.exports={svg:{$:{t:"1582191167349",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3270","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},defs:[{style:[{$:{type:"text/css"}}]}],path:[{$:{d:"M921.6 716.75904L415.46752 210.66752a136.25344 136.25344 0 0 0-96.54272-39.99744c-70.93248 0-128.53248 54.272-135.19872 123.43296L102.4 375.43936h86.12864C210.59584 506.39872 294.57408 616.09984 409.6 673.49504v179.84512h68.27008V700.34432a405.18656 405.18656 0 0 0 68.25984 13.70112v139.30496H614.4V716.75904h307.2zM448.93184 340.6336L620.2368 511.95904h-39.95648c-75.27424 0-136.54016-61.22496-136.54016-136.52992-0.01024-12.12416 2.12992-23.63392 5.19168-34.79552z m-198.26688-33.46432a68.32128 68.32128 0 0 1 68.25984-68.22912c18.19648 0 35.36896 7.09632 48.27136 19.99872l28.4672 28.4672a202.37312 202.37312 0 0 0-20.20352 88.03328c0 112.92672 91.86304 204.8 204.8 204.8h108.22656l68.27008 68.25984H592.00512c-188.20096 0-341.34016-153.1392-341.34016-341.32992z","p-id":"3271",fill:"#bbdefb"}}]}}},d6a5:function(e,t){e.exports={svg:{$:{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24"},path:[{$:{d:"M0 0h24v24H0z",fill:"none"}},{$:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4l6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"}}]}}},e6a3:function(e,t,n){"use strict";function o(){const e=document.documentElement.clientWidth||document.body.clientWidth,t=document.getElementsByTagName("html")[0];t.style.fontSize=e>=500?"50px":e/10+"px"}n.d(t,"a",(function(){return o}))}}); \ No newline at end of file diff --git a/dist/js/unlock-legacy.2ddc29d3.js b/dist/js/unlock-legacy.2ddc29d3.js deleted file mode 100644 index e682fb0..0000000 --- a/dist/js/unlock-legacy.2ddc29d3.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["unlock"],{"0861":function(e,t,s){"use strict";var i=s("a09b"),r=s("9414").trim,n=s("1ba2");i({target:"String",proto:!0,forced:n("trim")},{trim:function(){return r(this)}})},"0e4b":function(e,t,s){},1609:function(e,t,s){var i=s("a09b"),r=s("273e");i({target:"String",proto:!0},{repeat:r})},"1ba2":function(e,t,s){var i=s("2bc8"),r=s("1fef"),n="​…᠎";e.exports=function(e){return i((function(){return!!r[e]()||n[e]()!=n||r[e].name!==e}))}},"273e":function(e,t,s){"use strict";var i=s("0296"),r=s("4340");e.exports="".repeat||function(e){var t=String(r(this)),s="",n=i(e);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(s+=t);return s}},5121:function(e,t,s){"use strict";s("0e4b")},ca94:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"unlock",class:e.settings.is_dark_mode?"dark-theme-unlock":""},[s("icon",{staticClass:"logo",attrs:{name:"canary"}}),s("p",{staticClass:"md-title center"},[e._v(e._s(e.is_create?e.lang.subheader[0]:e.lang.subheader[1]))]),s("md-field",{staticClass:"input-box",class:e.messageClass},[s("label",[e._v(e._s(e.is_create?e.lang.pwd_label[0]:e.lang.pwd_label[1]))]),e.is_create?s("md-input",{attrs:{type:"password"},model:{value:e.pwd,callback:function(t){e.pwd=t},expression:"pwd"}}):s("md-input",{attrs:{type:"password"},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.judgePwd(t)}},model:{value:e.pwd,callback:function(t){e.pwd=t},expression:"pwd"}}),s("span",{staticClass:"md-error"},[e._v(e._s(e.err_msg))])],1),e.is_create?s("md-field",{staticClass:"input-box",class:e.messageClass},[s("label",[e._v(e._s(e.lang.repeat_pwd))]),s("md-input",{attrs:{type:"password"},model:{value:e.repeat,callback:function(t){e.repeat=t},expression:"repeat"}}),s("span",{staticClass:"md-error"},[e._v(e._s(e.err_msg))])],1):e._e(),e.is_create?s("md-field",{staticClass:"input-box",class:e.drivceMessageClass},[s("label",[e._v(e._s(e.lang.drivce_label))]),s("md-input",{model:{value:e.drivce,callback:function(t){e.drivce=t},expression:"drivce"}}),s("span",{staticClass:"md-error"},[e._v(e._s(e.drivce_err_msg))])],1):e._e(),s("md-button",{staticClass:"md-raised md-primary center",on:{click:function(t){return e.judgePwd()}}},[e._v(e._s(e.lang.enter))]),e.is_create?s("p",{staticClass:"center tips "},[e._v(" Tips1: 主密码可以是中文,怕忘了甚至可以是自己的名字,别让别人知道就好 "),s("br"),s("br"),e._v(" Tips2: 使用安卓客户端的同学不要长按输入框粘贴,会闪退,推荐使用chrome或者firefox添加到桌面使用 ")]):e._e(),s("p",{staticClass:"center tips tips-buttom"},[e._v(" 此密码本为长理专版,未开启同步密码将加密后存放本地,开启同步密码将加密后存放在您的长理网盘中,请放心使用 "),s("span",{staticClass:"qq-link",on:{click:function(t){return e.openQQ()}}},[e._v("点我加入用户群")])]),s("md-dialog-confirm",{attrs:{"md-active":e.show_dialog,"md-title":e.lang.dialog.title,"md-content":e.lang.dialog.content,"md-confirm-text":e.lang.dialog.confirm,"md-cancel-text":e.lang.dialog.cancel},on:{"update:mdActive":function(t){e.show_dialog=t},"update:md-active":function(t){e.show_dialog=t},"md-cancel":e.onCancel,"md-confirm":e.submit}}),s("md-snackbar",{attrs:{"md-position":"center","md-active":e.show_snackbar,"md-persistent":""},on:{"update:mdActive":function(t){e.show_snackbar=t},"update:md-active":function(t){e.show_snackbar=t}}},[s("span",[e._v(e._s(e.snakebar_msg))])])],1)},r=[],n=(s("0bd5"),s("1609"),s("9b42"),s("0861"),s("d211")),a=s("cf6b"),c=s("c71e"),o=s("36f0"),d=s("bfd3"),l={name:"Unlock",data:function(){return{pwd:"",repeat:"",drivce:"",is_err:!1,is_drivce_err:!1,err_msg:"",drivce_err_msg:"",show_dialog:!1,is_create:!1,show_snackbar:!1,snakebar_msg:"",lang:""}},computed:Object(n["a"])(Object(n["a"])({},Object(a["c"])(["row_data","settings","user_infos"])),{},{messageClass:function(){return{"md-invalid":this.is_err}},drivceMessageClass:function(){return{"md-invalid":this.is_drivce_err}}}),methods:Object(n["a"])(Object(n["a"])({},Object(a["b"])(["setRowPwd","setSettings","setUserInfo"])),{},{init:function(){d["a"].call(this),this.initLanguage(),this.is_create=!this.row_data&&!this.user_infos.drivce},initLanguage:function(){this.settings.is_chinese?this.lang=Object(o["a"])().unlock.CHS:this.lang=Object(o["a"])().unlock.EN,console.log("语言配置完成")},judgePwd:function(){if(0==this.pwd.trim().length)return this.is_err=!0,this.err_msg=this.lang.empty_pwd_error,void console.log("密码为空拦截");if(this.is_create){if(0==this.drivce.trim().length)return this.is_drivce_err=!0,this.drivce_err_msg=this.lang.drivce_error,void console.log("设备名为空拦截");this.pwd==this.repeat?this.show_dialog=!0:(this.is_err=!0,this.err_msg=this.lang.match_pwd_error,console.log("密码两次输入不一致拦截"))}else{try{Object(c["a"])(this.pwd,this.row_data)}catch(e){return this.is_err=!0,this.err_msg=this.lang.wrong_pwd_error,void console.log("密码输入错误拦截")}this.submit()}},onCancel:function(){console.log("用户点击取消")},submit:function(){var e=Object(c["d"])(this.pwd),t={main_code:e,create_time:(new Date).getTime()};if(this.is_create){var s=this.user_infos;s.drivce=this.drivce,this.setUserInfo([s,this])}this.setRowPwd([t,this]),console.log("主密码设置完成,返回Home"),this.$router.replace("/")},openQQ:function(){window.open("https://jq.qq.com/?_wv=1027&k=KIKWmqys")}}),created:function(){this.lang=Object(o["a"])().unlock.CHS,console.log("临时语言系统加载完成"),this.init()},mounted:function(){this.$route.params.msg&&(this.snakebar_msg=this.$route.params.msg,this.show_snackbar=!0)},watch:{pwd:function(){this.is_err=!1,this.err_msg=""},repeat:function(){this.is_err=!1,this.err_msg=""},drivce:function(){this.is_drivce_err=!1,this.drivce_err_msg=""}},beforeDestroy:function(){},components:{}},_=l,u=(s("5121"),s("5d22")),m=Object(u["a"])(_,i,r,!1,null,"ad388aae",null);t["default"]=m.exports}}]); \ No newline at end of file diff --git a/dist/js/unlock-legacy.4de44754.js b/dist/js/unlock-legacy.4de44754.js new file mode 100644 index 0000000..fbe5b36 --- /dev/null +++ b/dist/js/unlock-legacy.4de44754.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["unlock"],{"0861":function(t,e,s){"use strict";var i=s("a09b"),r=s("9414").trim,a=s("1ba2");i({target:"String",proto:!0,forced:a("trim")},{trim:function(){return r(this)}})},1609:function(t,e,s){var i=s("a09b"),r=s("273e");i({target:"String",proto:!0},{repeat:r})},"1ba2":function(t,e,s){var i=s("2bc8"),r=s("1fef"),a="​…᠎";t.exports=function(t){return i((function(){return!!r[t]()||a[t]()!=a||r[t].name!==t}))}},"25aa":function(t,e,s){},"273e":function(t,e,s){"use strict";var i=s("0296"),r=s("4340");t.exports="".repeat||function(t){var e=String(r(this)),s="",a=i(t);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(s+=e);return s}},"371f":function(t,e,s){"use strict";s("25aa")},ca94:function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"unlock",class:t.settings.is_dark_mode?"dark-theme-unlock":""},[t.is_create?t._e():s("md-toolbar",{staticClass:"md-primary"},[s("h3",{staticClass:"md-title",staticStyle:{flex:"1"}},[t._v(t._s(t.is_create?t.lang.title[0]:t.lang.title[1]))])]),s("icon",{staticClass:"logo",attrs:{name:"canary"}}),s("p",{staticClass:"md-title center"},[t._v(t._s(t.is_create?t.lang.subheader[0]:t.lang.subheader[1]))]),s("md-field",{staticClass:"input-box",class:t.messageClass},[s("label",[t._v(t._s(t.is_create?t.lang.pwd_label[0]:t.lang.pwd_label[1]))]),t.is_create?s("md-input",{attrs:{type:"password"},model:{value:t.pwd,callback:function(e){t.pwd=e},expression:"pwd"}}):s("md-input",{attrs:{type:"password"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.judgePwd(e)}},model:{value:t.pwd,callback:function(e){t.pwd=e},expression:"pwd"}}),s("span",{staticClass:"md-error"},[t._v(t._s(t.err_msg))])],1),t.is_create?s("md-field",{staticClass:"input-box",class:t.messageClass},[s("label",[t._v(t._s(t.lang.repeat_pwd))]),s("md-input",{attrs:{type:"password"},model:{value:t.repeat,callback:function(e){t.repeat=e},expression:"repeat"}}),s("span",{staticClass:"md-error"},[t._v(t._s(t.err_msg))])],1):t._e(),t.is_create?s("md-field",{staticClass:"input-box",class:t.drivceMessageClass},[s("label",[t._v(t._s(t.lang.drivce_label))]),s("md-input",{model:{value:t.drivce,callback:function(e){t.drivce=e},expression:"drivce"}}),s("span",{staticClass:"md-error"},[t._v(t._s(t.drivce_err_msg))])],1):t._e(),s("md-button",{staticClass:"md-raised md-primary center",on:{click:function(e){return t.judgePwd()}}},[t._v(t._s(t.lang.enter))]),t.is_create?s("p",{staticClass:"center tips "},[t._v(" Tips1: 主密码可以是中文,怕忘了甚至可以是自己的名字,别让别人知道就好 "),s("br"),s("br"),t._v(" Tips2: 使用安卓客户端的同学不要长按输入框粘贴,会闪退,推荐使用chrome或者firefox添加到桌面使用 ")]):t._e(),s("p",{staticClass:"center tips tips-buttom"},[t._v(" 此密码本为长理专版,未开启同步密码将加密后存放本地,开启同步密码将加密后存放在您的长理网盘中,请放心使用 "),s("span",{staticClass:"qq-link",on:{click:function(e){return t.openQQ()}}},[t._v("点我加入用户群")])]),s("md-dialog-confirm",{attrs:{"md-active":t.show_dialog,"md-title":t.lang.dialog.title,"md-content":t.lang.dialog.content,"md-confirm-text":t.lang.dialog.confirm,"md-cancel-text":t.lang.dialog.cancel},on:{"update:mdActive":function(e){t.show_dialog=e},"update:md-active":function(e){t.show_dialog=e},"md-cancel":t.onCancel,"md-confirm":t.submit}}),s("md-snackbar",{attrs:{"md-position":"center","md-active":t.show_snackbar,"md-persistent":""},on:{"update:mdActive":function(e){t.show_snackbar=e},"update:md-active":function(e){t.show_snackbar=e}}},[s("span",[t._v(t._s(t.snakebar_msg))])])],1)},r=[],a=(s("0bd5"),s("1609"),s("9b42"),s("0861"),s("d211")),n=s("cf6b"),c=s("c71e"),o=s("36f0"),l=s("bfd3"),d={name:"Unlock",data:function(){return{pwd:"",repeat:"",drivce:"",is_err:!1,is_drivce_err:!1,err_msg:"",drivce_err_msg:"",show_dialog:!1,is_create:!1,show_snackbar:!1,snakebar_msg:"",lang:""}},computed:Object(a["a"])(Object(a["a"])({},Object(n["c"])(["row_data","settings","user_infos"])),{},{messageClass:function(){return{"md-invalid":this.is_err}},drivceMessageClass:function(){return{"md-invalid":this.is_drivce_err}}}),methods:Object(a["a"])(Object(a["a"])({},Object(n["b"])(["setRowPwd","setSettings","setUserInfo"])),{},{init:function(){l["a"].call(this),this.initLanguage(),this.is_create=!this.row_data&&!this.user_infos.drivce},initLanguage:function(){this.settings.is_chinese?this.lang=Object(o["a"])().unlock.CHS:this.lang=Object(o["a"])().unlock.EN,console.log("语言配置完成")},judgePwd:function(){if(0==this.pwd.trim().length)return this.is_err=!0,this.err_msg=this.lang.empty_pwd_error,void console.log("密码为空拦截");if(this.is_create){if(0==this.drivce.trim().length)return this.is_drivce_err=!0,this.drivce_err_msg=this.lang.drivce_error,void console.log("设备名为空拦截");this.pwd==this.repeat?this.show_dialog=!0:(this.is_err=!0,this.err_msg=this.lang.match_pwd_error,console.log("密码两次输入不一致拦截"))}else{try{Object(c["a"])(this.pwd,this.row_data)}catch(t){return this.is_err=!0,this.err_msg=this.lang.wrong_pwd_error,void console.log("密码输入错误拦截")}this.submit()}},onCancel:function(){console.log("用户点击取消")},submit:function(){var t=Object(c["d"])(this.pwd),e={main_code:t,create_time:(new Date).getTime()};if(this.is_create){var s=this.user_infos;s.drivce=this.drivce,this.setUserInfo([s,this])}this.setRowPwd([e,this]),console.log("主密码设置完成,返回Home"),this.$router.replace("/")},openQQ:function(){window.open("https://jq.qq.com/?_wv=1027&k=KIKWmqys")}}),created:function(){this.lang=Object(o["a"])().unlock.CHS,console.log("临时语言系统加载完成"),this.init()},mounted:function(){this.$route.params.msg&&(this.snakebar_msg=this.$route.params.msg,this.show_snackbar=!0)},watch:{pwd:function(){this.is_err=!1,this.err_msg=""},repeat:function(){this.is_err=!1,this.err_msg=""},drivce:function(){this.is_drivce_err=!1,this.drivce_err_msg=""}},beforeDestroy:function(){},components:{}},_=d,u=(s("371f"),s("5d22")),m=Object(u["a"])(_,i,r,!1,null,"b299acca",null);e["default"]=m.exports}}]); \ No newline at end of file diff --git a/dist/js/unlock.515ea5a1.js b/dist/js/unlock.515ea5a1.js new file mode 100644 index 0000000..96f8eed --- /dev/null +++ b/dist/js/unlock.515ea5a1.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["unlock"],{"25aa":function(e,s,t){},"371f":function(e,s,t){"use strict";t("25aa")},ca94:function(e,s,t){"use strict";t.r(s);var i=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"unlock",class:e.settings.is_dark_mode?"dark-theme-unlock":""},[e.is_create?e._e():t("md-toolbar",{staticClass:"md-primary"},[t("h3",{staticClass:"md-title",staticStyle:{flex:"1"}},[e._v(e._s(e.is_create?e.lang.title[0]:e.lang.title[1]))])]),t("icon",{staticClass:"logo",attrs:{name:"canary"}}),t("p",{staticClass:"md-title center"},[e._v(e._s(e.is_create?e.lang.subheader[0]:e.lang.subheader[1]))]),t("md-field",{staticClass:"input-box",class:e.messageClass},[t("label",[e._v(e._s(e.is_create?e.lang.pwd_label[0]:e.lang.pwd_label[1]))]),e.is_create?t("md-input",{attrs:{type:"password"},model:{value:e.pwd,callback:function(s){e.pwd=s},expression:"pwd"}}):t("md-input",{attrs:{type:"password"},on:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.judgePwd(s)}},model:{value:e.pwd,callback:function(s){e.pwd=s},expression:"pwd"}}),t("span",{staticClass:"md-error"},[e._v(e._s(e.err_msg))])],1),e.is_create?t("md-field",{staticClass:"input-box",class:e.messageClass},[t("label",[e._v(e._s(e.lang.repeat_pwd))]),t("md-input",{attrs:{type:"password"},model:{value:e.repeat,callback:function(s){e.repeat=s},expression:"repeat"}}),t("span",{staticClass:"md-error"},[e._v(e._s(e.err_msg))])],1):e._e(),e.is_create?t("md-field",{staticClass:"input-box",class:e.drivceMessageClass},[t("label",[e._v(e._s(e.lang.drivce_label))]),t("md-input",{model:{value:e.drivce,callback:function(s){e.drivce=s},expression:"drivce"}}),t("span",{staticClass:"md-error"},[e._v(e._s(e.drivce_err_msg))])],1):e._e(),t("md-button",{staticClass:"md-raised md-primary center",on:{click:function(s){return e.judgePwd()}}},[e._v(e._s(e.lang.enter))]),e.is_create?t("p",{staticClass:"center tips "},[e._v(" Tips1: 主密码可以是中文,怕忘了甚至可以是自己的名字,别让别人知道就好 "),t("br"),t("br"),e._v(" Tips2: 使用安卓客户端的同学不要长按输入框粘贴,会闪退,推荐使用chrome或者firefox添加到桌面使用 ")]):e._e(),t("p",{staticClass:"center tips tips-buttom"},[e._v(" 此密码本为长理专版,未开启同步密码将加密后存放本地,开启同步密码将加密后存放在您的长理网盘中,请放心使用 "),t("span",{staticClass:"qq-link",on:{click:function(s){return e.openQQ()}}},[e._v("点我加入用户群")])]),t("md-dialog-confirm",{attrs:{"md-active":e.show_dialog,"md-title":e.lang.dialog.title,"md-content":e.lang.dialog.content,"md-confirm-text":e.lang.dialog.confirm,"md-cancel-text":e.lang.dialog.cancel},on:{"update:mdActive":function(s){e.show_dialog=s},"update:md-active":function(s){e.show_dialog=s},"md-cancel":e.onCancel,"md-confirm":e.submit}}),t("md-snackbar",{attrs:{"md-position":"center","md-active":e.show_snackbar,"md-persistent":""},on:{"update:mdActive":function(s){e.show_snackbar=s},"update:md-active":function(s){e.show_snackbar=s}}},[t("span",[e._v(e._s(e.snakebar_msg))])])],1)},a=[],r=(t("9b42"),t("cf6b")),n=t("c71e"),c=t("36f0"),o=t("bfd3"),l={name:"Unlock",data(){return{pwd:"",repeat:"",drivce:"",is_err:!1,is_drivce_err:!1,err_msg:"",drivce_err_msg:"",show_dialog:!1,is_create:!1,show_snackbar:!1,snakebar_msg:"",lang:""}},computed:{...Object(r["c"])(["row_data","settings","user_infos"]),messageClass(){return{"md-invalid":this.is_err}},drivceMessageClass(){return{"md-invalid":this.is_drivce_err}}},methods:{...Object(r["b"])(["setRowPwd","setSettings","setUserInfo"]),init(){o["a"].call(this),this.initLanguage(),this.is_create=!this.row_data&&!this.user_infos.drivce},initLanguage(){this.settings.is_chinese?this.lang=Object(c["a"])().unlock.CHS:this.lang=Object(c["a"])().unlock.EN,console.log("语言配置完成")},judgePwd(){if(0==this.pwd.trim().length)return this.is_err=!0,this.err_msg=this.lang.empty_pwd_error,void console.log("密码为空拦截");if(this.is_create){if(0==this.drivce.trim().length)return this.is_drivce_err=!0,this.drivce_err_msg=this.lang.drivce_error,void console.log("设备名为空拦截");this.pwd==this.repeat?this.show_dialog=!0:(this.is_err=!0,this.err_msg=this.lang.match_pwd_error,console.log("密码两次输入不一致拦截"))}else{let s;try{s=Object(n["a"])(this.pwd,this.row_data)}catch(e){return this.is_err=!0,this.err_msg=this.lang.wrong_pwd_error,void console.log("密码输入错误拦截")}this.submit()}},onCancel(){console.log("用户点击取消")},submit(){let e=Object(n["d"])(this.pwd),s={main_code:e,create_time:(new Date).getTime()};if(this.is_create){let e=this.user_infos;e.drivce=this.drivce,this.setUserInfo([e,this])}this.setRowPwd([s,this]),console.log("主密码设置完成,返回Home"),this.$router.replace("/")},openQQ(){window.open("https://jq.qq.com/?_wv=1027&k=KIKWmqys")}},created(){this.lang=Object(c["a"])().unlock.CHS,console.log("临时语言系统加载完成"),this.init()},mounted(){this.$route.params.msg&&(this.snakebar_msg=this.$route.params.msg,this.show_snackbar=!0)},watch:{pwd:function(){this.is_err=!1,this.err_msg=""},repeat:function(){this.is_err=!1,this.err_msg=""},drivce:function(){this.is_drivce_err=!1,this.drivce_err_msg=""}},beforeDestroy(){},components:{}},d=l,_=(t("371f"),t("5d22")),m=Object(_["a"])(d,i,a,!1,null,"b299acca",null);s["default"]=m.exports}}]); \ No newline at end of file diff --git a/dist/js/unlock.8f46929c.js b/dist/js/unlock.8f46929c.js deleted file mode 100644 index c5c5887..0000000 --- a/dist/js/unlock.8f46929c.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["unlock"],{"0e4b":function(e,s,t){},5121:function(e,s,t){"use strict";t("0e4b")},ca94:function(e,s,t){"use strict";t.r(s);var i=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"unlock",class:e.settings.is_dark_mode?"dark-theme-unlock":""},[t("icon",{staticClass:"logo",attrs:{name:"canary"}}),t("p",{staticClass:"md-title center"},[e._v(e._s(e.is_create?e.lang.subheader[0]:e.lang.subheader[1]))]),t("md-field",{staticClass:"input-box",class:e.messageClass},[t("label",[e._v(e._s(e.is_create?e.lang.pwd_label[0]:e.lang.pwd_label[1]))]),e.is_create?t("md-input",{attrs:{type:"password"},model:{value:e.pwd,callback:function(s){e.pwd=s},expression:"pwd"}}):t("md-input",{attrs:{type:"password"},on:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.judgePwd(s)}},model:{value:e.pwd,callback:function(s){e.pwd=s},expression:"pwd"}}),t("span",{staticClass:"md-error"},[e._v(e._s(e.err_msg))])],1),e.is_create?t("md-field",{staticClass:"input-box",class:e.messageClass},[t("label",[e._v(e._s(e.lang.repeat_pwd))]),t("md-input",{attrs:{type:"password"},model:{value:e.repeat,callback:function(s){e.repeat=s},expression:"repeat"}}),t("span",{staticClass:"md-error"},[e._v(e._s(e.err_msg))])],1):e._e(),e.is_create?t("md-field",{staticClass:"input-box",class:e.drivceMessageClass},[t("label",[e._v(e._s(e.lang.drivce_label))]),t("md-input",{model:{value:e.drivce,callback:function(s){e.drivce=s},expression:"drivce"}}),t("span",{staticClass:"md-error"},[e._v(e._s(e.drivce_err_msg))])],1):e._e(),t("md-button",{staticClass:"md-raised md-primary center",on:{click:function(s){return e.judgePwd()}}},[e._v(e._s(e.lang.enter))]),e.is_create?t("p",{staticClass:"center tips "},[e._v(" Tips1: 主密码可以是中文,怕忘了甚至可以是自己的名字,别让别人知道就好 "),t("br"),t("br"),e._v(" Tips2: 使用安卓客户端的同学不要长按输入框粘贴,会闪退,推荐使用chrome或者firefox添加到桌面使用 ")]):e._e(),t("p",{staticClass:"center tips tips-buttom"},[e._v(" 此密码本为长理专版,未开启同步密码将加密后存放本地,开启同步密码将加密后存放在您的长理网盘中,请放心使用 "),t("span",{staticClass:"qq-link",on:{click:function(s){return e.openQQ()}}},[e._v("点我加入用户群")])]),t("md-dialog-confirm",{attrs:{"md-active":e.show_dialog,"md-title":e.lang.dialog.title,"md-content":e.lang.dialog.content,"md-confirm-text":e.lang.dialog.confirm,"md-cancel-text":e.lang.dialog.cancel},on:{"update:mdActive":function(s){e.show_dialog=s},"update:md-active":function(s){e.show_dialog=s},"md-cancel":e.onCancel,"md-confirm":e.submit}}),t("md-snackbar",{attrs:{"md-position":"center","md-active":e.show_snackbar,"md-persistent":""},on:{"update:mdActive":function(s){e.show_snackbar=s},"update:md-active":function(s){e.show_snackbar=s}}},[t("span",[e._v(e._s(e.snakebar_msg))])])],1)},a=[],r=(t("9b42"),t("cf6b")),n=t("c71e"),c=t("36f0"),o=t("bfd3"),l={name:"Unlock",data(){return{pwd:"",repeat:"",drivce:"",is_err:!1,is_drivce_err:!1,err_msg:"",drivce_err_msg:"",show_dialog:!1,is_create:!1,show_snackbar:!1,snakebar_msg:"",lang:""}},computed:{...Object(r["c"])(["row_data","settings","user_infos"]),messageClass(){return{"md-invalid":this.is_err}},drivceMessageClass(){return{"md-invalid":this.is_drivce_err}}},methods:{...Object(r["b"])(["setRowPwd","setSettings","setUserInfo"]),init(){o["a"].call(this),this.initLanguage(),this.is_create=!this.row_data&&!this.user_infos.drivce},initLanguage(){this.settings.is_chinese?this.lang=Object(c["a"])().unlock.CHS:this.lang=Object(c["a"])().unlock.EN,console.log("语言配置完成")},judgePwd(){if(0==this.pwd.trim().length)return this.is_err=!0,this.err_msg=this.lang.empty_pwd_error,void console.log("密码为空拦截");if(this.is_create){if(0==this.drivce.trim().length)return this.is_drivce_err=!0,this.drivce_err_msg=this.lang.drivce_error,void console.log("设备名为空拦截");this.pwd==this.repeat?this.show_dialog=!0:(this.is_err=!0,this.err_msg=this.lang.match_pwd_error,console.log("密码两次输入不一致拦截"))}else{let s;try{s=Object(n["a"])(this.pwd,this.row_data)}catch(e){return this.is_err=!0,this.err_msg=this.lang.wrong_pwd_error,void console.log("密码输入错误拦截")}this.submit()}},onCancel(){console.log("用户点击取消")},submit(){let e=Object(n["d"])(this.pwd),s={main_code:e,create_time:(new Date).getTime()};if(this.is_create){let e=this.user_infos;e.drivce=this.drivce,this.setUserInfo([e,this])}this.setRowPwd([s,this]),console.log("主密码设置完成,返回Home"),this.$router.replace("/")},openQQ(){window.open("https://jq.qq.com/?_wv=1027&k=KIKWmqys")}},created(){this.lang=Object(c["a"])().unlock.CHS,console.log("临时语言系统加载完成"),this.init()},mounted(){this.$route.params.msg&&(this.snakebar_msg=this.$route.params.msg,this.show_snackbar=!0)},watch:{pwd:function(){this.is_err=!1,this.err_msg=""},repeat:function(){this.is_err=!1,this.err_msg=""},drivce:function(){this.is_drivce_err=!1,this.drivce_err_msg=""}},beforeDestroy(){},components:{}},d=l,_=(t("5121"),t("5d22")),m=Object(_["a"])(d,i,a,!1,null,"ad388aae",null);s["default"]=m.exports}}]); \ No newline at end of file diff --git a/dist/precache-manifest.38941b002e92e7f55700a0893a7cc390.js b/dist/precache-manifest.1a658df80982505a110f530ca042686f.js similarity index 88% rename from dist/precache-manifest.38941b002e92e7f55700a0893a7cc390.js rename to dist/precache-manifest.1a658df80982505a110f530ca042686f.js index 7b272be..7a965a4 100644 --- a/dist/precache-manifest.38941b002e92e7f55700a0893a7cc390.js +++ b/dist/precache-manifest.1a658df80982505a110f530ca042686f.js @@ -8,7 +8,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/css/add.caa4e153.css" }, { - "revision": "0a97c77030d4871aca18", + "revision": "9a068cc3abe40f59c492", "url": "/css/app.618e4370.css" }, { @@ -32,8 +32,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/css/settings.737c08f8.css" }, { - "revision": "6ffa77ca490398877184", - "url": "/css/unlock.e5b586c1.css" + "revision": "40e0f51eec75186f4904", + "url": "/css/unlock.bc688abc.css" }, { "revision": "6f68c46ab2433b6a65a9", @@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/fonts/MaterialIcons-Regular.e79bfd88.eot" }, { - "revision": "055939e1cbf2c21b71d034321f59e420", + "revision": "f7b9ca60912a06e46527228a6e9e6a50", "url": "/index.html" }, { @@ -80,8 +80,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/js/add-legacy.afa49e75.js" }, { - "revision": "0a97c77030d4871aca18", - "url": "/js/app-legacy.df7c572f.js" + "revision": "9a068cc3abe40f59c492", + "url": "/js/app-legacy.e4b8025b.js" }, { "revision": "4c57b04aa432c3c1e47f", @@ -104,8 +104,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/js/settings-legacy.32a90902.js" }, { - "revision": "6ffa77ca490398877184", - "url": "/js/unlock-legacy.2ddc29d3.js" + "revision": "40e0f51eec75186f4904", + "url": "/js/unlock-legacy.4de44754.js" }, { "revision": "6f68c46ab2433b6a65a9", diff --git a/dist/precache-manifest.4c83f6dbf1910f90f40b382dd5d1551c.js b/dist/precache-manifest.78e5ef9937fb03a3e653f68a1982de5f.js similarity index 88% rename from dist/precache-manifest.4c83f6dbf1910f90f40b382dd5d1551c.js rename to dist/precache-manifest.78e5ef9937fb03a3e653f68a1982de5f.js index e012b24..1053630 100644 --- a/dist/precache-manifest.4c83f6dbf1910f90f40b382dd5d1551c.js +++ b/dist/precache-manifest.78e5ef9937fb03a3e653f68a1982de5f.js @@ -8,7 +8,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/css/add.caa4e153.css" }, { - "revision": "2e6ef3d9bd8a6c634d81", + "revision": "546b07f956289df69a2f", "url": "/css/app.618e4370.css" }, { @@ -32,8 +32,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/css/settings.737c08f8.css" }, { - "revision": "5a2d77907be3c653d76b", - "url": "/css/unlock.e5b586c1.css" + "revision": "b6fdca1148db47b6e396", + "url": "/css/unlock.bc688abc.css" }, { "revision": "bfdfecbd523566862251", @@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/fonts/MaterialIcons-Regular.e79bfd88.eot" }, { - "revision": "bf6eb3938925a38d1dc6fbd15ea0ffb8", + "revision": "5729c452981684fc628f53eb76062dad", "url": "/index.html" }, { @@ -80,8 +80,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/js/add.97f8e124.js" }, { - "revision": "2e6ef3d9bd8a6c634d81", - "url": "/js/app.d69af120.js" + "revision": "546b07f956289df69a2f", + "url": "/js/app.257ea0da.js" }, { "revision": "c4a8294b2fc840a49c68", @@ -104,8 +104,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/js/settings.5643923f.js" }, { - "revision": "5a2d77907be3c653d76b", - "url": "/js/unlock.8f46929c.js" + "revision": "b6fdca1148db47b6e396", + "url": "/js/unlock.515ea5a1.js" }, { "revision": "bfdfecbd523566862251", diff --git a/dist/service-worker.js b/dist/service-worker.js index 3c8100c..2a1a43b 100644 --- a/dist/service-worker.js +++ b/dist/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/precache-manifest.4c83f6dbf1910f90f40b382dd5d1551c.js" + "/precache-manifest.78e5ef9937fb03a3e653f68a1982de5f.js" ); workbox.core.setCacheNameDetails({prefix: "codebook"}); diff --git a/src/views/Unlock/Unlock.vue b/src/views/Unlock/Unlock.vue index 25b640e..bc55cec 100644 --- a/src/views/Unlock/Unlock.vue +++ b/src/views/Unlock/Unlock.vue @@ -1,8 +1,8 @@