(function(){var t={6128:function(t,e,o){"use strict";o.r(e);var n=o(8081),i=o.n(n),a=o(3645),r=o.n(a),s=r()(i());s.push([t.id,"#app{width:100%;height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFangSC-Regular,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif}",""]),e["default"]=s},7846:function(t,e,o){"use strict";o.r(e);var n=o(8081),i=o.n(n),a=o(3645),r=o.n(a),s=r()(i());s.push([t.id,'.linkList[data-v-4235c404]{display:flex;justify-content:center}.linkItem[data-v-4235c404]{display:inline-block;vertical-align:middle;cursor:pointer;padding:4px 12px;margin:0;font-weight:500;font-size:13px;line-height:1;border-right:1px solid rgba(0,0,0,.25)}.linkItem[data-v-4235c404]:last-child{border-right:none}.bgTmp[data-v-4235c404],.productDetailModal .bg[data-v-4235c404]{content:"";position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.75);z-index:1999}.productDetailModal .loginProductModalContent[data-v-4235c404]{position:fixed;top:150px;left:calc(50% - 400px);width:800px;min-height:400px;z-index:2000}.productDetailModal .loginProductModalContent .productTitleImg[data-v-4235c404]{margin:0 auto;text-align:center}.productDetailModal .loginProductModalContent .productTitleImg img[data-v-4235c404]{width:280px;position:relative;z-index:3000}.productDetailModal .loginProductModalContent .modalBody[data-v-4235c404]{background-color:#fff;margin-top:-28px;border-radius:12px;background-size:100% 100%;background-position:top;background-repeat:no-repeat;white-space:nowrap;font-size:0}.productDetailModal .loginProductModalContent .modalBody div[data-v-4235c404]{font-size:14px}.productDetailModal .loginProductModalContent .modalBody .productImg[data-v-4235c404]{line-height:0;font-size:0;width:420px;display:inline-block;vertical-align:top}.productDetailModal .loginProductModalContent .modalBody .productImg img[data-v-4235c404]{width:100%}.productDetailModal .loginProductModalContent .modalBody .productDesc[data-v-4235c404]{white-space:normal;width:calc(100% - 420px);display:inline-block;vertical-align:top;text-align:left;padding:40px 18px 42px}.productDetailModal .loginProductModalContent .modalBody .productDesc .titleText[data-v-4235c404]{padding:16px 0;font-size:20px;font-weight:600;color:rgba(0,0,0,.85)}.productDetailModal .loginProductModalContent .modalBody .productDesc .descText[data-v-4235c404]{font-size:14px;font-weight:400;color:rgba(0,0,0,.65);white-space:pre-line}.productDetailModal .loginProductModalContent .modalBody .productDesc .descText.onlyText[data-v-4235c404]{min-height:210px}.productDetailModal .loginProductModalContent .modalBody .productDesc .tagBlock[data-v-4235c404]{background:#fafafa;border-radius:8px;padding:9px 0 9px 18px;margin-top:16px}.productDetailModal .loginProductModalContent .modalBody .productDesc .tagBlock .tagItem[data-v-4235c404]{position:relative;padding:8px 15px;display:inline-block;vertical-align:middle;width:33.3%}.productDetailModal .loginProductModalContent .modalBody .productDesc .tagBlock .tagItem[data-v-4235c404]:before{content:"";position:absolute;top:50%;transform:translateY(-50%);left:5px;height:5px;width:5px;border-radius:5px;background-color:#dedede}.productDetailModal .loginProductModalContent .modalBody .productDesc .qrCodeInfo[data-v-4235c404]{padding:40px 0 0;white-space:nowrap}.productDetailModal .loginProductModalContent .modalBody .productDesc .qrCodeInfo .qrcode[data-v-4235c404]{width:50%;display:inline-block;vertical-align:middle;text-align:center;font-size:12px;font-weight:400;color:rgba(0,0,0,.45)}.productDetailModal .loginProductModalContent .modalBody .productDesc .qrCodeInfo .qrcode img[data-v-4235c404]{width:120px;display:inline-block;vertical-align:middle;margin-bottom:8px}.productDetailModal .loginProductModalContent .modalBody .productDesc .control[data-v-4235c404]{margin-top:32px;white-space:nowrap;text-align:center}.productDetailModal .loginProductModalContent .modalBody .productDesc .control button[data-v-4235c404]{width:calc(50% - 8px);display:inline-block;vertical-align:middle;padding:6px 12px;border-radius:4px;cursor:pointer;background:#fff;border:1px solid #d9d9d9;color:rgba(0,0,0,.85);transition-duration:.2s}.productDetailModal .loginProductModalContent .modalBody .productDesc .control button[data-v-4235c404]:last-child{margin-left:16px}.productDetailModal .loginProductModalContent .modalBody .productDesc .control button[data-v-4235c404]:hover{color:#fff;border-color:transparent}.contactModal .contactBg[data-v-4235c404]{content:"";position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.75);z-index:1999;z-index:3000}.contactModal .loginProductModalContent[data-v-4235c404]{text-align:center;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:380px;min-height:280px;z-index:3001;background-color:#fff;border-radius:8px}.contactModal .loginProductModalContent .header[data-v-4235c404]{text-align:center;position:relative;padding:20px 16px;font-size:18px;font-weight:500;color:rgba(0,0,0,.85)}.contactModal .loginProductModalContent .header .close[data-v-4235c404]{padding:10px;position:absolute;right:6px;top:12px;font-size:18px;line-height:1;cursor:pointer;color:#6c6c6c}.contactModal .loginProductModalContent .header .close[data-v-4235c404]:hover{color:rgba(0,0,0,.85)}.contactModal .loginProductModalContent .contactInfo[data-v-4235c404]{margin-top:20px}.contactModal .loginProductModalContent .contactInfo input[data-v-4235c404]{padding:8px 10px;border:1px solid #dedede;border-radius:4px;width:300px;outline:1px solid transparent}.contactModal .loginProductModalContent .contactControl[data-v-4235c404]{margin-top:40px}.contactModal .loginProductModalContent .contactControl button[data-v-4235c404]{background:#28282d;border-radius:4px;padding:11px 12px;border:none;cursor:pointer;width:300px;color:#fff}',""]),e["default"]=s},3796:function(t,e,o){"use strict";o.r(e);var n=o(8081),i=o.n(n),a=o(3645),r=o.n(a),s=r()(i());s.push([t.id,'@font-face{font-family:DINAlternate-Bold;src:url(https://resource.boka.vc/wisdomDesk/fonts/DIN-Alternate-Bold.ttf)}@font-face{font-family:BRUX;src:url(https://resource.boka.vc/fontFamily/BRUX.otf)}@font-face{font-family:Ngaan;src:url(https://resource.boka.vc/fontFamily/Ngaan.ttf)}@font-face{font-family:SC-Bold;src:url(https://resource.boka.vc/fontFamily/SC-Bold.otf)}@font-face{font-family:SourceHanSansCN-Bold;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-Bold.otf)}@font-face{font-family:SourceHanSansCN-Medium;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-Medium.otf)}@font-face{font-family:SourceHanSansCN-Regular;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-Regular.otf)}@font-face{font-family:WHZCKT;src:url(https://resource.boka.vc/fontFamily/WHZCKT.ttf)}@font-face{font-family:WHZKBT;src:url(https://resource.boka.vc/fontFamily/WHZKBT.ttf)}@font-face{font-family:WHZKTL;src:url(https://resource.boka.vc/fontFamily/WHZKTL.ttf)}@font-face{font-family:WHZZXS;src:url(https://resource.boka.vc/fontFamily/WHZZXS.ttf)}@font-face{font-family:YRDZST;src:url(https://resource.boka.vc/fontFamily/YRDZST.ttf)}@font-face{font-family:"SourceHanSerifCN-Bold";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Bold.otf)}@font-face{font-family:"SourceHanSerifCN-ExtraLight";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-ExtraLight.otf)}@font-face{font-family:"SourceHanSerifCN-Heavy";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Heavy.otf)}@font-face{font-family:"SourceHanSerifCN-Light";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Light.otf)}@font-face{font-family:"SourceHanSerifCN-Medium";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Medium.otf)}@font-face{font-family:"SourceHanSerifCN-Regular";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Regular.otf)}@font-face{font-family:"SourceHanSerifCN-SemiBold";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-SemiBold.otf)}@font-face{font-family:SourceHanSansCN-ExtraLight;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-ExtraLight.otf)}@font-face{font-family:BTXBT;src:url(https://resource.boka.vc/fontFamily/BTXBT.ttf)}@font-face{font-family:RZZYT;src:url(https://resource.boka.vc/fontFamily/RZZYT.ttf)}@font-face{font-family:element-icons;src:url(https://resource.boka.vc/wisdomDesk/fonts/bkElement-icons.woff) format("woff"),url(https://resource.boka.vc/wisdomDesk/fonts/bkElement-icons.ttf) format("truetype");font-weight:400;font-style:normal}.loginPage{min-width:1280px;height:100vh;font-size:16px}.loginPage .linkWrap{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:10000}.loginPage .pageTopHeaderView{width:100%;min-width:1280px;height:72px;margin:0 auto;justify-content:space-between;padding:22px 44px;background:#fff}.loginPage .pageTopHeaderView,.loginPage .pageTopHeaderView .logoNoticeView{display:flex;align-items:center}.loginPage .pageTopHeaderView .logoNoticeView img{width:128px;height:auto}.loginPage .pageTopHeaderView .logoNoticeView .notice{margin-left:25px;font-size:16px;line-height:22px;color:rgba(0,0,0,.85)}.loginPage .pageTopHeaderView .bkConcat{cursor:pointer;font-size:14px;color:#4d4d4d;padding-left:25px;background:url(https://static.bokao2o.com/bkPayBackend/Images/Img_Login_Concat.png) 0/18px auto no-repeat}.loginPage .pageContentView{height:calc(100vh - 72px);padding-top:100px;background:url(https://static.bokao2o.com/bkPayBackend/Images/Img_Login_Bg.png) top/cover no-repeat}.loginPage .pageContentView .loginContainerView{max-width:1200px;padding:7px 5px;margin:0 auto;background:#fff;border-radius:8px;border:2px solid #fff;box-shadow:0 0 15px 0 rgba(11,104,78,.2);display:flex;justify-content:space-between}.loginPage .pageContentView .loginContainerView .leftProjectDesc{width:490px;border-radius:8px;height:608px;background:#daf7ef url(https://static.bokao2o.com/bkPayBackend/Images/img_Login_Left_Bg.png) 50%/cover no-repeat}.loginPage .pageContentView .loginContainerView .rightLoginForm{flex:1;display:flex;flex-direction:column;align-items:center;padding:76px}.loginPage .pageContentView .loginContainerView .rightLoginForm .formHeaderView{padding-left:80px;height:46px;line-height:46px;color:#000;font-size:28px;font-weight:700;letter-spacing:4px;background:url(https://static.bokao2o.com/bkPayBackend/Images/Img_BKPayLogo.png) 0/auto 46px no-repeat}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView{padding-top:60px}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView.loginBtn{margin-top:72px}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView .formLabel{color:rgba(0,0,0,.85);font-size:14px;line-height:20px;min-width:56px}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView .formCont{width:390px;height:40px;display:flex;align-items:center;justify-content:space-between}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView .formCont input{flex:1;border:1px solid rgba(0,0,0,.15);border-radius:4px;height:40px;display:flex;align-items:center;outline:none;padding:0 16px;font-size:16px;font-weight:700;letter-spacing:1px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView .formCont input:focus{border-color:#09a280}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView .formCont button{width:100%;cursor:pointer;white-space:nowrap;padding:12px 20px;font-size:14px;border-radius:4px;color:#fff;outline:none;text-align:center;margin:0;transition:.1s;background:#06a17e;border:1px solid #09a280}.loginPage .pageContentView .loginContainerView .rightLoginForm .formBoxView .formItemView .formCont .ecodeSendBtn{cursor:pointer;margin-left:12px;min-width:120px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:4px;background:rgba(9,162,128,.1);color:#09a280;font-size:14px;text-align:center;border:1px solid #09a280}.loginPage .pageContentView .pageFooterView{padding-top:80px}.loginPage .pageContentView .pageFooterView .softLinkList{display:flex;align-items:center;justify-content:center}.loginPage .pageContentView .pageFooterView .softLinkList .linkItem{color:rgba(0,0,0,.45);font-size:13px;cursor:pointer;line-height:18px;padding:0 12px;position:relative}.loginPage .pageContentView .pageFooterView .softLinkList .linkItem:after{position:absolute;content:"";right:0;top:0;bottom:0;width:1px;height:12px;margin:auto;background:hsla(234,7%,71%,.5)}.loginPage .pageContentView .pageFooterView .softLinkList .linkItem:last-child:after{display:none}.loginPage .pageContentView .pageFooterView .softLinkList .linkItem:hover{font-weight:700}.loginPage .pageContentView .pageFooterView .tipView{text-align:center;margin-top:8px;line-height:17px;font-size:12px;color:hsla(0,0%,40%,.44)}#login-bkContactView{background:#fff url(https://resource.boka.vc/wisdomDesk/images/Def_Bc_BKContact.png) top/420px no-repeat;padding-bottom:55px;text-align:center;overflow:hidden;border-radius:6px}#login-bkContactView>.headerView{position:relative;line-height:58px;font-size:20px;font-family:PingFangSC-Semibold;color:#fff;height:191px;overflow:hidden}#login-bkContactView>.headerView>.btn-close{position:absolute;top:5px;right:10px;width:40px;height:40px;background:transparent url(https://resource.boka.vc/wisdomDesk/images/Def_Icon_X_White.png) 50%/22px no-repeat}#login-bkContactView>.inputView{padding:50px 60px 30px 60px}#login-bkContactView>.inputView>input{box-sizing:border-box;width:100%;border:none;line-height:24px;padding:10px;font-size:15px;color:#333;text-align:center;background:#f7f7f8;border-radius:5px}#login-bkContactView>.btn-submit{width:300px;height:44px;line-height:44px;padding:0;font-size:15px;font-family:PingFangSC-Medium;border-radius:3px;overflow:hidden;cursor:pointer;background:#0b7de8;color:#fff;border:none}.el-input__inner:focus{border-color:#09a280}',""]),e["default"]=s},2992:function(t,e,o){"use strict";o.r(e);var n=o(8081),i=o.n(n),a=o(3645),r=o.n(a),s=r()(i());s.push([t.id,"html{min-width:1000px}body{margin:0;padding:0;font-family:Helvetica Neue,Helvetica,PingFangSC-Regular,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif}*{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box}",""]),e["default"]=s},5626:function(t,e,o){"use strict";o.r(e);var n=o(8081),i=o.n(n),a=o(3645),r=o.n(a),s=r()(i());s.push([t.id,'@font-face{font-family:DINAlternate-Bold;src:url(https://resource.boka.vc/wisdomDesk/fonts/DIN-Alternate-Bold.ttf)}@font-face{font-family:BRUX;src:url(https://resource.boka.vc/fontFamily/BRUX.otf)}@font-face{font-family:Ngaan;src:url(https://resource.boka.vc/fontFamily/Ngaan.ttf)}@font-face{font-family:SC-Bold;src:url(https://resource.boka.vc/fontFamily/SC-Bold.otf)}@font-face{font-family:SourceHanSansCN-Bold;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-Bold.otf)}@font-face{font-family:SourceHanSansCN-Medium;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-Medium.otf)}@font-face{font-family:SourceHanSansCN-Regular;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-Regular.otf)}@font-face{font-family:WHZCKT;src:url(https://resource.boka.vc/fontFamily/WHZCKT.ttf)}@font-face{font-family:WHZKBT;src:url(https://resource.boka.vc/fontFamily/WHZKBT.ttf)}@font-face{font-family:WHZKTL;src:url(https://resource.boka.vc/fontFamily/WHZKTL.ttf)}@font-face{font-family:WHZZXS;src:url(https://resource.boka.vc/fontFamily/WHZZXS.ttf)}@font-face{font-family:YRDZST;src:url(https://resource.boka.vc/fontFamily/YRDZST.ttf)}@font-face{font-family:"SourceHanSerifCN-Bold";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Bold.otf)}@font-face{font-family:"SourceHanSerifCN-ExtraLight";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-ExtraLight.otf)}@font-face{font-family:"SourceHanSerifCN-Heavy";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Heavy.otf)}@font-face{font-family:"SourceHanSerifCN-Light";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Light.otf)}@font-face{font-family:"SourceHanSerifCN-Medium";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Medium.otf)}@font-face{font-family:"SourceHanSerifCN-Regular";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-Regular.otf)}@font-face{font-family:"SourceHanSerifCN-SemiBold";src:url(https://resource.boka.vc/fontFamily/SourceHanSerifCN-SemiBold.otf)}@font-face{font-family:SourceHanSansCN-ExtraLight;src:url(https://resource.boka.vc/fontFamily/SourceHanSansCN-ExtraLight.otf)}@font-face{font-family:BTXBT;src:url(https://resource.boka.vc/fontFamily/BTXBT.ttf)}@font-face{font-family:RZZYT;src:url(https://resource.boka.vc/fontFamily/RZZYT.ttf)}@font-face{font-family:element-icons;src:url(https://resource.boka.vc/wisdomDesk/fonts/bkElement-icons.woff) format("woff"),url(https://resource.boka.vc/wisdomDesk/fonts/bkElement-icons.ttf) format("truetype");font-weight:400;font-style:normal}',""]),e["default"]=s},9836:function(t,e){const o={apiUrl:"https://api.bokao2o.com",nodeUrl:"https://m.bokao2o.com",testUrl:"https://test.bokao2o.com",qnUploadUrl:"https://upload.qiniup.com",qrCodeImgBaseUrl:"https://api.bokao2o.com/message/image/qrcode/generate/v2?",reqTimeout:3e4};function n(t){let e=function(t){bkLog("defFail:::"),bkLog(t),this.$message.error(t.msg||"服务器错误!"),this.bkLoad=!1}.bind(this),{url:n,headers:i,data:a,success:r,fail:s,complete:l,orgResFlag:c,reqTimeout:d,responseType:u}=t;if(i||(i={"Content-Type":"application/json",device_id:this.$getAccessToken()||this.$product,deviceId:this.$getAccessToken()||this.$product,access_token:this.$getAccessToken()||this.$product,accessToken:this.$getAccessToken()||this.$product,product:this.$product}),s||(s=e.bind(this)),n=this.$reqUrlConfig(n),a)for(let o in a)-1==n.indexOf("?")?n+="?"+o+"="+encodeURIComponent(a[o]):n+="&"+o+"="+encodeURIComponent(a[o]);let p={method:"get",url:n,headers:i,timeout:d||o.reqTimeout};u&&(p.responseType=u),this.$ajax(p).then(function(t,e){if("403"!=t.data.code){if(c)return r&&"function"==typeof r&&r(t.data),void(this.bkLoad=!1);if(!t.data.success)return console.error("失败:"+n),s(t.data),void(l&&"function"==typeof l&&l(t.data,!0));r&&"function"==typeof r&&r(t.data.result),l&&"function"==typeof l&&l(t.data,!0),this.bkLoad=!1}else this.$tokenExpired()}.bind(this)).catch(function(t){bkLog(t),bkLog("请求失败:"+n);let e="请求失败!";if(t){let o=t.toString();-1!=o.indexOf("timeout of")&&(e="网络请求超时,请重试或检查网络!"),-1!=o.indexOf("Network Error")&&(e="网络请求失败!请检查网络是否正常链接!")}this.bkLoad=!1,s({msg:e}),l&&"function"==typeof l&&l(t,!0)}.bind(this))}function i(t){let e=function(t){this.bkLoad=!1,this.$message.error(t.msg||"服务器错误!")}.bind(this),{url:n,headers:i,data:a,success:r,fail:s,orgResult:l,strResult:c,complete:d,reqTimeout:u}=t;if(i||(i={"Content-Type":"application/json",device_id:this.$getAccessToken()||this.$product,deviceId:this.$getAccessToken()||this.$product,access_token:this.$getAccessToken()||this.$product,accessToken:this.$getAccessToken()||this.$product,product:this.$product}),s||(s=e),n=this.$reqUrlConfig(n),a){let t=localStorage.getItem("reqUserKey");t&&(a.reqUserKey=t),this.reqPageKey||(this.reqPageKey="pageKey-"+this.$getGUID()),a.reqPageKey=this.reqPageKey,a.vText="01091032"}let p={method:"post",url:n,headers:i,data:a||{},timeout:u||o.reqTimeout};this.$ajax(p).then(function(t){return c?(d&&"function"==typeof d&&d(t,!0),void(r&&"function"==typeof r&&r(t))):"403"==!t.data.code?(s({msg:"token已失效!"}),void this.$tokenExpired()):(this.bkLoad=!1,t.data.success||"205"==t.data.code?void(r&&"function"==typeof r&&(r(l?t.data:t.data.result),d&&"function"==typeof d&&d(t.data,!0))):(console.error("失败:"+n),s(t.data),void(d&&"function"==typeof d&&d(t.data,!0))))}.bind(this)).catch(function(t){bkLog(t),this.bkLoad=!1,bkLog("请求失败:"+n);let e="请求失败!";if(t){let o=t.toString();-1!=o.indexOf("timeout of")&&(e="网络请求超时,请重试或检查网络!"),-1!=o.indexOf("Network Error")&&(e="网络请求失败!请检查网络是否正常链接!")}s({msg:e}),d&&"function"==typeof d&&d(t,!0)}.bind(this))}function a(t){let e=function(t){this.bkLoad=!1,this.$message.error(t.msg||"服务器错误!")}.bind(this),{url:o,headers:n,data:i,success:a,fail:r}=t;n||(n={"Content-Type":"application/json",device_id:this.$getAccessToken()||this.$product,deviceId:this.$getAccessToken()||this.$product,access_token:this.$getAccessToken()||this.$product,accessToken:this.$getAccessToken()||this.$product,product:this.$product}),r||(r=e),o=this.$reqUrlConfig(o),bkLog(o),this.$ajax({method:"put",url:o,headers:n,data:i||{}}).then(function(t){return"403"==!t.data.code?(r({msg:"token已失效!"}),void this.$tokenExpired()):t.data.success?void(a&&"function"==typeof a&&a(t.data.result)):(console.error("失败:"+o),void r(t.data))}.bind(this)).catch(function(t){bkLog(t),this.bkLoad=!1,bkLog("请求失败:"+o),r({msg:"请求失败!"})}.bind(this))}function r(t){let e=function(t){this.bkLoad=!1,this.$message.error(t.msg||"服务器错误!")}.bind(this),{url:o,headers:n,data:i,success:a,fail:r}=t;n||(n={"Content-Type":"application/json",device_id:this.$getAccessToken()||this.$product,deviceId:this.$getAccessToken()||this.$product,access_token:this.$getAccessToken()||this.$product,accessToken:this.$getAccessToken()||this.$product,product:this.$product}),r||(r=e),bkLog(o),o=this.$reqUrlConfig(o),this.$ajax({method:"delete",url:o,headers:n,data:i||{}}).then(function(t){return this.bkLoad=!1,"403"==!t.data.code?(r({msg:"token已失效!"}),void this.$tokenExpired()):t.data.success?void(a&&"function"==typeof a&&a(t.data.result)):(console.error("失败:"+o),void r(t.data))}.bind(this)).catch(function(t){bkLog(t),this.bkLoad=!1,bkLog("请求失败:"+o),r({msg:"请求失败!"})}.bind(this))}function s(){this.$message.error("token已失效,请重新登录!"),this.$router.replace("/login")}function l(t){return t}function c(t,e,o){o&&""!=o||(o="static");let n="qnTokenKey-"+o,i=this.$cookies.get(n);if(i&&""!=i&&!e)return t&&"function"==typeof t&&t(i),i;let a=this.$bkConstant.apiUrl+"/message/image/uploadtoken?product="+o;this.$httpGet({url:a,success:function(e){this.$cookies.set(n,e,540,""),t&&"function"==typeof t&&t(i)}.bind(this)})}function d(t){let{upFile:e,upName:o,success:n,fail:i,base64Content:a}=t;if(!e&&!a)return void this.$message.error("上传路径不能为空!");bkLog("上传的parameter:"),bkLog(t);let r=this.$getQnToken();if(r&&""!=r){if(e){let t=e.name.substring(e.name.lastIndexOf("."),e.name.length);bkLog("upFile:"),bkLog(e.name),o&&""!=o||(o=(this.$getCustId()||"BOKA")+this.$getNoLineGUID()),o+=t,o=this.$bkGlobal.product+"/images/"+o;let a=new FormData;a.append("token",r),a.append("file",e),a.append("key",o);let s=this.$bkConstant.qnUploadUrl;this.$ajax({url:s,method:"post",headers:{"Content-Type":"multipart/form-data"},data:a}).then(function(t){t.data&&t.data.key&&n&&"function"==typeof n&&n(this.$bkGlobal.defImgPrefix+o)}.bind(this)).catch(function(t){this.bkLoad=!1,i&&"function"==typeof i?i(t):this.$message.error("上传失败,请稍候重试!")}.bind(this))}if(a){let t;a&&(t=a);let e="https://up.qbox.me/putb64/-1";a&&(o&&""!=o||(o=this.$getCurShop().custId+this.$getNoLineGUID()+".png"),e+="/key/"+this.$stringToBase64(o)),this.$ajax({url:e,method:"post",headers:{"Content-Type":"application/octet-stream",Authorization:"UpToken "+r},data:t}).then(function(t){t.data&&t.data.key&&n&&"function"==typeof n&&n(this.$bkGlobal.defImgPrefix+t.data.key)}.bind(this)).catch(function(t){i&&"function"==typeof i?i(t):this.$message.error("上传失败,请稍候重试!")}.bind(this))}}else this.$getQnToken(function(){bkLog("qnToken callback"),this.$httpUpLoadQN(t)}.bind(this))}function u(t){let e=function(t){bkLog("defFail:::"),bkLog(t),this.$message.error(t.msg||"服务器错误!"),this.bkLoad=!1}.bind(this),{url:o,headers:n,data:i,success:a,fail:r,complete:s,reqMethod:l,orgResFlag:c,reqTimeout:d,responseType:u,fileName:p}=t;if(n||(n={"Content-Type":"application/json",device_id:this.$getAccessToken()||this.$product,deviceId:this.$getAccessToken()||this.$product,access_token:this.$getAccessToken()||this.$product,accessToken:this.$getAccessToken()||this.$product,product:this.$product}),r||(r=e.bind(this)),o=this.$reqUrlConfig(o),(!l||"get"==l)&&i)for(let h in i)-1==o.indexOf("?")?o+="?"+h+"="+encodeURIComponent(i[h]):o+="&"+h+"="+encodeURIComponent(i[h]);let f={method:l||"get",url:o,headers:n,responseType:"arraybuffer",timeout:3e5};"post"==l&&(f.data=i||{}),bkLog("reqConfig:::"),bkLog(f),bkLog("reqMethod:"+l),this.$ajax(f).then(function(t,e){bkLog("dowmExp:::"),bkLog(t);var o=new Blob([t.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8"}),n=document.createElement("a"),i=window.URL.createObjectURL(o);n.href=i,n.download=p+".xlsx",document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(i),this.$message.success("报表导出成功!"+p+".xlsx"),this.bkLoad=!1,"function"==typeof a&&a()}.bind(this)).catch(function(t){bkLog(t),bkLog("请求失败:"+o);let e="请求失败!";if(t){let o=t.toString();-1!=o.indexOf("timeout of")&&(e="网络请求超时,请重试或检查网络!"),-1!=o.indexOf("Network Error")&&(e="网络请求失败!请检查网络是否正常链接!")}this.bkLoad=!1,r({msg:e}),s&&"function"==typeof s&&s(t,!0)}.bind(this))}e.install=function(t){t.prototype.$bkConstant=o,t.prototype.$httpGet=n,t.prototype.$httpPost=i,t.prototype.$httpPut=a,t.prototype.$httpDelete=r,t.prototype.$httpUpLoadQN=d,t.prototype.$httpDownLoadXlsx=u,t.prototype.$tokenExpired=s,t.prototype.$reqUrlConfig=l,t.prototype.$getQnToken=c}},9531:function(t,e,o){function n(t){return"undefined"==typeof t||""==t}o(7658),e.install=function(t){t.prototype.$dateFormat=function(t,e){if(n(e))return n(t)?t:new Date(t).toLocaleString();t=new Date(t);var o={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"H+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var i in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+i+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?o[i]:("00"+o[i]).substr((""+o[i]).length)));return e},t.prototype.$getChinaDate=function(t){},t.prototype.$yyyyMMddToDate=function(t){if(!t)return;let e=t.replace(/^(\d{4})(\d{2})(\d{2})$/,"$1/$2/$3");return new Date(e)},t.prototype.$yyyyMMddHHmmssToDate=function(t){if(!t)return;let e=t.replace(/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/,"$1/$2/$3 $4:$5:$6");return new Date(e)},t.prototype.$dateAdd=function(t,e,o){switch(o*=1,isNaN(o)&&(o=0),t=new Date(t),e){case"y":t.setFullYear(t.getFullYear()+o);break;case"M":t=new Date(this.$dateFormat(t,"yyyy/MM/01")),t.setMonth(t.getMonth()+o);break;case"d":t.setDate(t.getDate()+o);break;case"h":t.setHours(t.getHours()+o);break;case"m":t.setMinutes(t.getMinutes()+o);break;case"s":t.setSeconds(t.getSeconds()+o);break;default:}return t},t.prototype.$getDateWeek=function(t,e){n(e)&&(e="周");let o=["日","一","二","三","四","五","六"];t=new Date(t);let i=t.getDay();return e+o[i]},t.prototype.$getCalendarDateInfo=function(t,e,o){let n={};t||(t=new Date);let i=this.$dateFormat(t,"yyyy/MM")+"/01";i=new Date(i);let a=this.$dateAdd(new Date(i),"M",1);a=this.$dateAdd(a,"d",-1),n.monthFirstDay=new Date(i),n.monthLastDay=new Date(a),n.monthText=this.$dateFormat(t,e);let r=(i.getDay()||7)-1;r*=-1,i=this.$dateAdd(i,"d",r),r=7-(a.getDay()||7),a=this.$dateAdd(a,"d",r);let s=0,l=[],c=Date.parse(i),d=Date.parse(a),u=Date.parse(n.monthFirstDay),p=Date.parse(n.monthLastDay),f=this.$dateFormat(new Date,"yyyy-MM-dd");while(c<=d&&s<=43){let t=new Date(c),e={date:t,text:this.$dateFormat(t,"yyyy-MM-dd"),val:t.getDate(),timestamp:Date.parse(t)};f==e.text&&(e.isToday=!0),o&&(e.cnInfo=this.$getChinaDate(t)),c==u&&(e.monthClass="firstDay",e.dayType="firstDay"),c==p&&(e.monthClass="lastDay",e.dayType="lastDay"),cp&&(e.monthClass="next",e.dayType="next"),l.push(e),c+=864e5,s++}return n.dateList=l,n},t.prototype.$getDateRange=function(t,e){let o,n;if("w"==e){let e=(t.getDay()||7)-1;e*=-1,o=this.$dateAdd(t,"d",e),n=this.$dateAdd(o,"d",6)}return"M"==e&&(o=new Date(this.$dateFormat(t,"yyyy/MM/01")),n=this.$dateAdd(this.$dateAdd(o,"M",1),"d",-1)),{startDate:o,endDate:n}},t.prototype.$getTimeFormatInfo=function(t){t=Number(t||0);let e={},o=function(t){return 1==t.toString().length?"0"+t:t},n=Math.floor(t/864e5);n>0&&(e.d=n,e.dText=o(n),t-=864e5*n);let i=Math.floor(t/36e5);e.h=i,e.hText=o(i),t-=36e5*i;let a=Math.floor(t/6e4);e.m=a,e.mText=o(a),t-=6e4*a;let r=Math.floor(t/1e3);return e.s=r,e.sText=o(r),e},t.prototype.$getTimeLengthText=function(t){t=Number(t||0);let e="",o=Math.floor(t/864e5);o>0&&(e+=o+"天 ",t-=864e5*o);let n=Math.floor(t/36e5);(o>0||n>2)&&(e+=n+"小时 ",t-=36e5*n);let i=Math.floor(t/6e4);e+=1==i.toString().length?"0"+i:i,t-=6e4*i,e+=":";let a=Math.floor(t/1e3);return e+=1==a.toString().length?"0"+a:a,e},t.prototype.$getQuickDateByIndex=function(t){let e=[];if(0==t&&(e=[new Date,new Date]),1==t&&(e=[this.$dateAdd(new Date,"d",-1),this.$dateAdd(new Date,"d",-1)]),2==t){let t=this.$dateFormat(new Date,"yyyy/MM")+"/01";t=new Date(t);let o=this.$dateAdd(new Date(t),"M",1);o=this.$dateAdd(o,"d",-1),e=[t,o]}if(3==t){let t=this.$dateFormat(this.$dateAdd(new Date,"M",-1),"yyyy/MM")+"/01";t=new Date(t);let o=this.$dateAdd(new Date(t),"M",1);o=this.$dateAdd(o,"d",-1),e=[t,o]}return e}}},8132:function(t,e,o){o(7658),o(3408),o(4590),o(541),e.install=function(t){function e(t){t=t.replace(/\r\n/g,"\n");for(var e="",o=0;o127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}function o(t){var e,o,n,i=[];for(e=0;e>6&31),128+(63&o)):((n=55296^o)>>10==0?(o=(n<<10)+(56320^t.charCodeAt(++e))+65536,i.push(240+(o>>18&7),128+(o>>12&63))):i.push(224+(o>>12&15)),i.push(128+(o>>6&63),128+(63&o)));return i}t.prototype.$bk_copy=function(t){return t?JSON.parse(JSON.stringify(t)):t},t.prototype.$copyItem=function(t){if(t)return JSON.parse(JSON.stringify(t))},t.prototype.$showAlert=function(t){let{title:e,message:o,callback:n}=t,i=!0;void 0!=t.showCancelButton&&(i=t.showCancelButton),this.$confirm(o,e,{confirmButtonText:"确定",cancelButtonText:"取消",showCancelButton:i}).then((()=>{"function"==typeof n&&n(!0)}))},t.prototype.$filterValueWithType=function(t,e,o){if(!e)return e;if(bkLog("type:"+t),bkLog(e),bkLog("code"==t),"number"==t)return e.replace(/[^\d]/g,"");if("code"==t){let t=e.replace(/[^\w-_]/g,"");return e!=t&&this.$message.info("编号只能输入数字、字母、中划线和下划线!"),t}if("text"==t){let t=e.replace(/[~!@#$%^&*?]/g,"");return o&&Number(o)>0&&t.length>o&&(t=t.substring(0,o),this.$message.info("最多只能输入"+o+"个字符!")),t}return"price"==t?e.replace(/[^\d.]/g,""):e},t.prototype.$filterNumber=function(t){return t?(bkLog(t),t+="",bkLog(t),t.replace(/[^\d]/g,"")):t},t.prototype.$filterPrice=function(t){return t?(t+="",bkLog(t),t.replace(/[^\d.]/g,"")):t},t.prototype.$imgUrlFormatBase64=function(t,e){let o=new Image;o.setAttribute("crossOrigin","anonymous"),o.src=t,o.onload=()=>{let t=document.createElement("canvas");t.width=o.width,t.height=o.height;let n=t.getContext("2d");n.drawImage(o,0,0,o.width,o.height);let i=t.toDataURL();bkLog("dataURL:"+i),"function"==typeof e&&e(i.substring(22),i)}},t.prototype.$findObjAtList=function(t,e,o){if(!t||!e||!o)return;let n=t.filter((function(t){return t[o]==e[o]}))||[];return n[0]},t.prototype.$findIndexAtList=function(t,e,o){if(!t||!e||!o)return-1;let n=t.filter((function(t){return t[o]==e[o]}))||[];return n[0]?t.indexOf(n[0]):-1},t.prototype.$isFunction=function(t){return t&&"function"==typeof t},t.prototype.$isNumber=function(t){return/^\d+$/.test(t)},t.prototype.$formatPrice=function(t){return void 0==t||"undefined"==t||isNaN(t)?0:Number(t||0).toFixed(0)==t?Number(t):Number(t).toFixed(2)},t.prototype.$replaceExtraZero=function(t){return t&&void 0!=t?(t=t.toString(),t.indexOf(".")>0&&(t=t.replace(/0+?$/g,""),t=t.replace(/[.]$/g,"")),t):t},t.prototype.$getScreenW=function(){return window.innerWidth||window.screen.availWidth||document.documentElement.clientWidth||document.body.clientWidth},t.prototype.$getScreenH=function(){if(window.screen.availHeight&&window.innerHeight&&window.screen.availHeight-window.innerHeight>100)return window.screen.availHeight;let t=window.innerHeight||window.screen.availHeight||document.documentElement.clientHeight||document.body.clientHeight;return Math.max(t,600)},t.prototype.$getGUID=function(){let t=(new Date).getTime(),e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){let o=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?o:3&o|8).toString(16)}));return e},t.prototype.$getNoLineGUID=function(){let t=(new Date).getTime(),e="xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){let o=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?o:3&o|8).toString(16)}));return e},t.prototype.$QNBase64Encode=function(t){let o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=";var n,i,a,r,s,l,c,d="",u=0;t=e(t);while(u>2,s=(3&n)<<4|i>>4,l=(15&i)<<2|a>>6,c=63&a,isNaN(i)?l=c=64:isNaN(a)&&(c=64),d=d+o.charAt(r)+o.charAt(s)+o.charAt(l)+o.charAt(c);return d},t.prototype.$stringToBase64=function(t){var e,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="=",i="",a=t.length;for(e=0;e>2],i+=o[((3&t.charCodeAt(e))<<4)+(t.charCodeAt(e+1)>>4)],i+=o[((15&t.charCodeAt(e+1))<<2)+(t.charCodeAt(e+2)>>6)],i+=o[63&t.charCodeAt(e+2)];return a%3&&(e=a-a%3,i+=o[t.charCodeAt(e)>>2],a%3==2?(i+=o[((3&t.charCodeAt(e))<<4)+(t.charCodeAt(e+1)>>4)],i+=o[(15&t.charCodeAt(e+1))<<2],i+=n):(i+=o[(3&t.charCodeAt(e))<<4],i+=n+n)),i},t.prototype.$setMapValue=function(t,e){if(t&&e)for(let o in e)t[o]=e[o]},t.prototype.$mapIsEmpty=function(t){let e=!0;if(!t)return!0;for(let o in t)e=!1;return e},t.prototype.$mapLength=function(t){let e=0;if(!t)return e;for(let o in t)e++;return e},t.prototype.$sha1=function(t){var e,n,i=new Uint8Array(o(t)),a=16+(i.length+8>>>6<<4);t=new Uint8Array(a<<2);for(t.set(new Uint8Array(i.buffer)),t=new Uint32Array(t.buffer),n=new DataView(t.buffer),p=0;p>2]|=128<<24-8*(3&i.length),t[a-1]=i.length<<3;var r=[],s=[function(){return d[1]&d[2]|~d[1]&d[3]},function(){return d[1]^d[2]^d[3]},function(){return d[1]&d[2]|d[1]&d[3]|d[2]&d[3]},function(){return d[1]^d[2]^d[3]}],l=function(t,e){return t<>>32-e},c=[1518500249,1859775393,-1894007588,-899497514],d=[1732584193,-271733879,null,null,-1009589776];for(d[2]=~d[0],d[3]=~d[1],p=0;p0){let e={name:t.meta.name,url:t.path};t.meta.showSoftType&&(e.tip="("+this.$bkGlobal.softTypeName[this.$getSoftType()]+")"),o.push(e)}}.bind(this)),o};const n="nng9qEv2DY5Pi650Ntw4RM2K",i="Wmo6cGP0h5QHiDrbz3Vgjr2wVDvXxOed",a="baiduTokenKey";t.prototype.$getBaiduToken=function(t){let e="https://api.bokao2o.com/attendance/baiduface/getBaiduOauth?baiduAppKey="+n+"&baiduAppSecret="+i;this.$httpGet({url:e,success:function(e){bkLog(e),e&&e.access_token&&(this.$cookies.set(a,e.access_token,86400,""),t&&"function"==typeof t&&t())}.bind(this)})},t.prototype.$playBaiduVoice=function(t){let e=this.$cookies.get(a);if(!e||""==e)return void this.$getBaiduToken(function(e){this.$playBaiduVoice(t)}.bind(this));let o="https://tsn.baidu.com/text2audio?lan=zh&ctp=1&cuid="+this.$getGUID()+"&tok="+e+"&tex="+encodeURIComponent(t)+"&per=0&spd=6&vol=15&pit=5";bkLog("播放的URL:"),bkLog(o),this.$playAudio(o)},t.prototype.$playAudio=function(t){if(t==this.$bkGlobal.clickAudio)return this.$audioPlayer.src=t,void this.$audioPlayer.play();this.playingFlag||(this.playingFlag=!0,setTimeout(function(){this.playingFlag=!1}.bind(this),300),this.$audioPlayer.src=t,this.$audioPlayer.play(),bkLog("audioPlayer:"),bkLog(t))}}},3490:function(t,e){String.prototype.string2hex=function(t){t=t||this.toString();for(var e="",o=0;o{if(4===t.readyState&&200===t.status&&""!==t.responseText){let e=JSON.parse(t.responseText);console.log(e),this.list=e}},t.send()},methods:{showDetail(t){console.log("item",t),t.redirectFlag?window.open(t.link,"_blank"):this.detailModal={show:!0,obj:t}},hideDetail(){this.detailModal={show:!1,obj:{}}},toProduct(){let{link:t}=this.detailModal.obj;window.open(t,"_blank"),this.hideDetail()},hideContact(){this.contactModal.show=!1},showContact(){this.contactModal={show:!0,mobile:""}},subContactData(){let{obj:t}=this.detailModal,{mobile:e}=this.contactModal,o={content:`${t.title},来自(${location.href})软件底部友链`,mobile:e,product:"consult",region:{provinceName:"上海市",cityName:"上海市"},source:t.type},n=this,i=new XMLHttpRequest;i.open("POST","https://api.bokao2o.com/message/feedback/customer/add",!0),i.setRequestHeader("device_Id","consult"),i.setRequestHeader("content-Type","application/json;charset=utf-8"),i.onreadystatechange=function(){if(4===i.readyState)if(200===i.status&&""!==i.responseText){let t=JSON.parse(i.responseText);if(console.log(t),t&&t.success)alert("提交成功"),n.hideDetail(),n.hideContact();else{let{msg:e="提交失败"}=t||{};alert(e)}}else console.log(i.responseText),alert("提交异常,请联系博卡 021-64608413")},i.send(JSON.stringify(o))}}},b=m,y=(o(1043),(0,r.Z)(b,h,g,!1,null,"4235c404",null)),k=y.exports,x={name:"Login",components:{LoginLinkList:k},data(){return{loadLogin:!1,mobile:"",ecode:"",codeTipsText:"短信验证码",softLinkList:f.Ao,isShowConcatBK:!1,contactMobile:void 0,softType:void 0}},created(){this.clearUserInfo(),this.mobile=this.$cookies.get(this.$product+"-mobile")},mounted(){window.addEventListener("message",this.onMessage,!1)},beforeDestroy(){window.removeEventListener("message",this.onMessage,!1)},methods:{onConcatBK(){this.isShowConcatBK=!0},requestContactBK:function(){if(!this.contactMobile||11!=this.$filterNumber(this.contactMobile).length)return void this.$message.error("请完善手机号码!");if(this.submitFlag)return;this.submitFlag=!0;let t=this.$bkConstant.apiUrl+"/message/feedback/customer/add",e={content:"《博卡支付总后台》客户需要博卡联系",mobile:this.contactMobile,product:this.$product,region:{provinceName:"上海",cityName:"上海",areaName:"闵行区"},source:this.$product};this.$httpPost({url:t,data:e,success:function(){this.submitFlag=!1,this.$message.success("提交成功,博卡会尽快与您联系。"),setTimeout(function(){this.isShowConcatBK=!1}.bind(this),700)}.bind(this),fail:function(t){this.$message.error(t.msg||"服务器错误!"),this.submitFlag=!1}.bind(this)})},linkSoftItemClick:function(t){t.url?window.open(t.url):t.code&&(this.softType=t.code)},onToLogin(){if(!this.checkLogin())return;let t={mobile:this.mobile,verificationCode:this.ecode},e=this.$bkConstant.apiUrl+"/user/payment/login";this.loadLogin=!0,this.$httpPost({url:e,data:t,success:(t={})=>{t.token&&(this.cacheUserInfo(t),this.$router.replace("/mchAnalytic"))},complete:()=>{this.loadLogin=!1}})},cacheUserInfo(t){sessionStorage.setItem(this.$product+"-userInfo",JSON.stringify({mobile:this.mobile,...t})),this.$cookies.set(this.$product+"-mobile",this.mobile),this.$setAccessToken(t.token)},clearUserInfo(){sessionStorage.removeItem(this.$product+"-userInfo"),this.$setAccessToken(void 0)},checkPhone(){return""==this.mobile?(this.$message.warning("请输入手机号!"),!1):!(this.mobile.length<11)||(this.$message.warning("手机号格式不正确!"),!1)},checkLogin(){return!!this.checkPhone()&&(""!=this.ecode||(this.$message.warning("请输入验证码!"),!1))},checkUserMobile(t){let e={mobile:this.mobile},o=this.$bkConstant.apiUrl+"/user/payment/validator/user";this.$httpPost({url:o,data:e,strResult:!0,complete:e=>{console.log("手机号校验",e);let{data:o={}}=e,{code:n,success:i,msg:a=""}=o;200===n&&i?t&&t():this.$message.error(a||"手机号校验失败,请联系博卡")}})},onSendCode(){this.checkPhone()&&this.checkUserMobile((()=>{this.timer||this.requestGetAuthCode(this.mobile,(()=>{let t=60;this.codeTipsText=`${t}s后获取`,this.timer=setInterval((()=>{if(t-=1,t<=0)return clearInterval(this.timer),this.timer=void 0,void(this.codeTipsText="短信验证码");this.codeTipsText=`${t}s后获取`}),1e3)}))}))},requestGetAuthCode(t,e){let o={phone:t,app_name:"博卡支付总后台",app_version:"1.0.0",product:this.$product,device_id:this.$product,source:this.$product,custId:"SHBOKA001"},n=this.$bkConstant.apiUrl+"/message/sendSms";this.$httpPost({url:n,data:o,strResult:!0,complete:t=>{console.log("发送短信",t);let{code:o,msg:n="",data:i={}}=t;this.$notify({title:"提示",message:i.msg||"短信发送成功,请注意查收!"}),200===i.code&&e&&e()}})},onMessage(t){"https://resource.boka.vc"==t.origin&&"close"==t.data.type&&(this.softType="")}}},w=x,v=(o(8482),(0,r.Z)(w,u,p,!1,null,null,null)),C=v.exports;n["default"].use(d.ZP);const $=[{path:"/",name:"login",component:C},{path:"/login",name:"login",component:C},{path:"/paymentFlow",name:"paymentFlow",component:()=>o.e(984).then(o.bind(o,4984))},{path:"/mchAnalytic",name:"mchAnalytic",component:()=>o.e(991).then(o.bind(o,5991))},{path:"*",redirect:"/"}],S=new d.ZP({mode:"history",base:"/",routes:$});var M,T,L,A,D,B,P,I,F=S,N=o(4720),H=o.n(N),V=(o(2578),o(6004),o(323),o(6123)),_=o.n(V),U=o(9669),R=o.n(U),j=o(7822),Z=o(9836),q=Z,O=(0,r.Z)(q,M,T,!1,null,null,null),E=O.exports,K=o(3490),z=K,W=(0,r.Z)(z,L,A,!1,null,null,null),Y=W.exports,G=o(8132),X=G,J=(0,r.Z)(X,D,B,!1,null,null,null),Q=J.exports,tt=o(9531),et=tt,ot=(0,r.Z)(et,P,I,!1,null,null,null),nt=ot.exports;n["default"].config.productionTip=!1,n["default"].use(H()),n["default"].use(E),n["default"].use(Y),n["default"].use(Q),n["default"].use(nt),n["default"].use(_()),n["default"].prototype.$product="payPlatform",n["default"].prototype.$ajax=R(),n["default"].prototype.$echarts=j,new n["default"]({router:F,render:t=>t(c)}).$mount("#app")},6086:function(t,e,o){"use strict";o.d(e,{Ao:function(){return n},KT:function(){return c},W3:function(){return l},WY:function(){return r},Zy:function(){return h},ay:function(){return p},ov:function(){return u},re:function(){return f},tR:function(){return s},wU:function(){return a},wm:function(){return i},y$:function(){return d}});const n=[{name:"博卡官网",url:"https://shboka.com"},{name:"博卡商场",url:"https://s3.bokao2o.com/html/buyBokaProduct.html"},{name:"管理中心7",code:"GLZX7"},{name:"智慧前台7",code:"ZHQT7"},{name:"管理中心8",code:"GLZX8"},{name:"智慧前台8",code:"ZHQT8"},{name:"智慧美容",code:"MTMFMJRJ"},{name:"智慧医美",code:"YMRJ"},{name:"足友宝",code:"ZYRJ"},{name:"会馆系统",code:"HGRJ"},{name:"店小宝",code:"BKDXB"},{name:"营销平台",code:"BKYXPT"},{name:"运营平台",code:"BKYYPT"},{name:"营销策划",code:"BKYXCH"},{name:"博卡供应链",code:"BKGYL"}],i=function(){return[{value:"YEAR",label:"年",key:"MONTH"},{value:"MONTH",label:"月",key:"DAY"}]},a=function(t){return[{key:"dateScope",label:"日期",width:""},{key:"wechatAmt",label:"微信收款",width:"",align:"right"},{key:"wechatPayFee",label:"手续费",width:"",align:"right"},{key:"wechatSettleAmt",label:"微信实收",width:"",color:"red",align:"right"},{key:"alipayAmt",label:"支付宝收款",width:"",align:"right"},{key:"alipayPayFee",label:"手续费",width:"",align:"right"},{key:"alipaySettleAmt",label:"支付宝实收",width:"",color:"red",align:"right"},{key:"totalAmt",label:"收款总计",width:"",align:"right"},{key:"totalPayFee",label:"手续费总计",width:"",align:"right"},{key:"totalSettleAmt",label:"实收总计",width:"",color:"red",align:"right"},{key:"action",label:"操作",width:"",fixed:"right",buttons:[{key:"list",label:"门店明细",action:t.actionClick,hide:"all"!==t.compId},{key:"flow",label:"流水明细",action:t.actionClick,hide:"all"===t.compId}]}]},r=[{key:"payTypeName",label:"业务名称",width:220},{key:"bankAccName",label:"银行账户",width:220},{key:"mchName",label:"商户名称",width:220},{key:"mchNo",label:"交易商编",width:220},{key:"bankCardNo",label:"银行卡号",width:220},{key:"transferStatus",label:"状 态",width:220}],s=[{key:"orderAmt",label:"交易总额"},{key:"orderPayFee",label:"结算手续费"},{key:"rate",label:"扣率"},{key:"orderSettleAmt",label:"付款总额",color:"red"}],l=[{value:"all",label:"全部支付类型 "},{value:"alipay",label:"支付宝 ",code:"ALIPAY"},{value:"wechat",label:"微信 ",code:"WECHAT"}],c=[{value:"alipay",label:"支付宝 ",code:2,color:"#3974F5"},{value:"wechat",label:"微信 ",code:1,color:"#02D067"}],d=function(t){return[{key:"transactionDateText",label:"交易时间",width:""},{key:"orderId",label:"博卡单号",width:250},{key:"transactionId",label:"渠道单号",width:280},{key:"payTypeName",label:"支付方式",width:"",icon:!0},{key:"orderAmt",label:"交易金额",width:"",align:"right"},{key:"orderPayFee",label:"手续费",width:"",align:"right"},{key:"orderSettleAmt",label:"付款金额",width:"",color:"red",align:"right"}]},u=function(t){return[{key:"compId",label:"门店编号",width:""},{key:"compName",label:"门店名称",width:""},{key:"wechatAmt",label:"微信收款",width:"",align:"right"},{key:"wechatPayFee",label:"手续费",width:"",align:"right"},{key:"wechatSettleAmt",label:"微信实收",width:"",color:"red",align:"right"},{key:"alipayAmt",label:"支付宝收款",width:"",align:"right"},{key:"alipayPayFee",label:"手续费",width:"",align:"right"},{key:"alipaySettleAmt",label:"支付宝实收",width:"",color:"red",align:"right"},{key:"totalAmt",label:"收款总计",width:"",align:"right"},{key:"totalPayFee",label:"手续费总计",width:"",align:"right"},{key:"totalSettleAmt",label:"实收总计",width:"",color:"red",align:"right"},{key:"action",label:"操作",width:"158",fixed:"right",align:"center",buttons:[{key:"flowDetail",label:"流水明细",action:t.actionClick}]}]},p=[{key:"wechatAmt",label:"微信收款",width:220},{key:"wechatPayFee",label:"手续费",width:220},{key:"wechatSettleAmt",label:"微信实收",width:220}],f=[{key:"alipayAmt",label:"支付宝收款",width:220},{key:"alipayPayFee",label:"手续费",width:220},{key:"alipaySettleAmt",label:"支付宝实收",width:220}],h=[{key:"totalAmt",label:"收款合计"},{key:"totalPayFee",label:"手续费合计"},{key:"totalSettleAmt",label:"实收合计",color:"red"}]},2588:function(t,e,o){var n=o(6128);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=o(4402).Z;i("63d8b2be",n,!0,{sourceMap:!1,shadowMode:!1})},1043:function(t,e,o){var n=o(7846);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=o(4402).Z;i("96497740",n,!0,{sourceMap:!1,shadowMode:!1})},8482:function(t,e,o){var n=o(3796);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=o(4402).Z;i("03d58ca6",n,!0,{sourceMap:!1,shadowMode:!1})},6004:function(t,e,o){var n=o(2992);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=o(4402).Z;i("6d8d06a4",n,!0,{sourceMap:!1,shadowMode:!1})},323:function(t,e,o){var n=o(5626);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=o(4402).Z;i("85e06740",n,!0,{sourceMap:!1,shadowMode:!1})},6270:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg=="}},e={};function o(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={id:n,exports:{}};return t[n](a,a.exports,o),a.exports}o.m=t,function(){var t=[];o.O=function(e,n,i,a){if(!n){var r=1/0;for(d=0;d=a)&&Object.keys(o.O).every((function(t){return o.O[t](n[l])}))?n.splice(l--,1):(s=!1,a0&&t[d-1][2]>a;d--)t[d]=t[d-1];t[d]=[n,i,a]}}(),function(){o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,{a:e}),e}}(),function(){o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){o.f={},o.e=function(t){return Promise.all(Object.keys(o.f).reduce((function(e,n){return o.f[n](t,e),e}),[]))}}(),function(){o.u=function(t){return"js/"+t+"."+{984:"f7380135",991:"5d74da51"}[t]+".js"}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={},e="payplatform:";o.l=function(n,i,a,r){if(t[n])t[n].push(i);else{var s,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d