(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-login"],{"0525":function(t,e,n){"use strict";n.r(e);var i=n("1bac"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},"0fa0":function(t,e,n){"use strict";var i=n("6f2a"),r=n.n(i);r.a},1481:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={tnSkeleton:n("9232").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"template-login "},[i("v-uni-image",{staticClass:"bg-login",attrs:{src:n("c889"),mode:"scaleToFill"}}),i("v-uni-view",{staticClass:"login"},[i("v-uni-view",{staticClass:"login-title-box"},[i("v-uni-view",{staticClass:"login-title-top"},[t._v("您好,欢迎使用")]),i("v-uni-view",{staticClass:"login-title-bottom"},[t._v("定位平台app")])],1),i("v-uni-view",{staticClass:"login__wrapper"},[i("v-uni-view",{staticClass:"login__info tn-flex tn-flex-direction-column tn-flex-col-center tn-flex-row-center tn-skeleton"},[0===t.currentModeIndex?[i("v-uni-view",{staticClass:"login__info__item__input tn-flex tn-flex-direction-row tn-flex-nowrap tn-flex-col-center tn-flex-row-left tn-skeleton-fillet"},[i("v-uni-view",{staticClass:"login__info__item__input__left-icon"},[i("v-uni-view",{staticClass:"tn-icon-my-reduce"})],1),i("v-uni-view",{staticClass:"login__info__item__input__content"},[i("v-uni-input",{attrs:{maxlength:"20","placeholder-class":"input-placeholder",placeholder:"请输入账号"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}})],1)],1),i("v-uni-view",{staticClass:"login__info__item__input tn-flex tn-flex-direction-row tn-flex-nowrap tn-flex-col-center tn-flex-row-left tn-skeleton-fillet"},[i("v-uni-view",{staticClass:"login__info__item__input__left-icon"},[i("v-uni-view",{staticClass:"tn-icon-lock"})],1),i("v-uni-view",{staticClass:"login__info__item__input__content"},[i("v-uni-input",{attrs:{password:!t.showPassword,"placeholder-class":"input-placeholder",placeholder:"请输入密码"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1),i("v-uni-view",{staticClass:"login__info__item__input__right-icon",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!t.showPassword}}},[i("v-uni-view",{class:[t.showPassword?"tn-icon-eye":"tn-icon-eye-hide"]})],1)],1)]:t._e(),i("v-uni-view",{class:["login__info__item__button","tn-skeleton-circle","tn-cool-bg-color-7--reverse",t.canLogin?"can-login":""],attrs:{"hover-class":"tn-hover","hover-stay-time":150},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}},[t._v("登录")])],2)],1)],1),i("tn-skeleton",{attrs:{show:t.showSkeleton}}),i("successCom",{ref:"refSuccess"})],1)},a=[]},"1bac":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("5c47");var r=i(n("b26a")),a={name:"tn-skeleton",mixins:[r.default],props:{show:{type:Boolean,default:!1},elBackgroundColor:{type:String,default:""},animation:{type:Boolean,default:!0},rectCustomStyle:{type:Object,default:function(){return{}}},circleCustomStyle:{type:Object,default:function(){return{}}},filletCustomStyle:{type:Object,default:function(){return{}}}},computed:{elBackgroundColorStyle:function(){return this.$tn.color.getBackgroundColorStyle(this.elBackgroundColor)},elBackgroundColorClass:function(){return this.$tn.color.getBackgroundColorInternalClass(this.elBackgroundColor)},skeletonStyle:function(){var t={};return t.width=this.skeletonWidth+"px",t.height="100%",this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),t.left=this.left+"px",t.top=this.top+"px",t},itemStyle:function(){var t=this;return function(e,n){var i={};return i.width=n.width+"px",i.height=n.height+"px",t.elBackgroundColorStyle&&(i.backgroundColor=t.elBackgroundColorStyle),i.left=n.left-t.left+"px",i.top=n.top-t.top+"px","rect"===e?Object.assign(i,t.rectCustomStyle):"circle"===e?(i.borderRadius=n.width/2+"px",Object.assign(i,t.circleCustomStyle)):"fillet"===e&&Object.assign(i,t.filletCustomStyle),i}}},data:function(){return{skeletonWidth:750,skeletonHeight:1500,filletNodes:[],circleNodes:[],rectNodes:[],top:0,left:0}},mounted:function(){var t=this;this.$nextTick((function(){var e=uni.getSystemInfoSync();t.skeletonWidth=e.safeArea.width,t.skeletonHeight=e.safeArea.height,t.selectQueryInfo()}))},methods:{selectQueryInfo:function(){var t=this,e=null;e=uni.createSelectorQuery(),e.selectAll(".tn-skeleton").boundingClientRect().exec((function(e){t.skeletonWidth=e[0][0].width,t.skeletonHeight=e[0][0].height,t.top=e[0][0].bottom-e[0][0].height,t.left=e[0][0].left})),this.getRectElements(),this.getCircleElements(),this.getFillteElements()},getRectElements:function(){var t=this,e=null;e=uni.createSelectorQuery(),e.selectAll(".tn-skeleton-rect").boundingClientRect().exec((function(e){t.rectNodes=e[0]}))},getCircleElements:function(){var t=this,e=null;e=uni.createSelectorQuery(),e.selectAll(".tn-skeleton-circle").boundingClientRect().exec((function(e){t.circleNodes=e[0]}))},getFillteElements:function(){var t=this,e=null;e=uni.createSelectorQuery(),e.selectAll(".tn-skeleton-fillet").boundingClientRect().exec((function(e){t.filletNodes=e[0]}))}}};e.default=a},"46c5":function(t,e,n){function i(t,e,n,i,r,a,o){try{var s=t[a](o),u=s.value}catch(c){return void n(c)}s.done?e(u):Promise.resolve(u).then(i,r)}n("bf0f"),t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function s(t){i(o,r,a,s,u,"next",t)}function u(t){i(o,r,a,s,u,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"4ac6":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.tn-custom-nav-bar__back[data-v-790439a6]{width:100%;height:100%;position:relative;display:flex;justify-content:space-evenly;align-items:center;box-sizing:border-box;background-color:rgba(0,0,0,.15);border-radius:%?1000?%;border:%?1?% solid hsla(0,0%,100%,.5);color:#fff;font-size:18px}.tn-custom-nav-bar__back .icon[data-v-790439a6]{display:block;flex:1;margin:auto;text-align:center}.tn-custom-nav-bar__back[data-v-790439a6]:before{content:" ";width:%?1?%;height:110%;position:absolute;top:22.5%;left:0;right:0;margin:auto;-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;box-sizing:border-box;opacity:.7;background-color:#fff}\r\n/* 悬浮 */.rocket-sussuspension[data-v-790439a6]{-webkit-animation:suspension-data-v-790439a6 3s ease-in-out infinite;animation:suspension-data-v-790439a6 3s ease-in-out infinite}@-webkit-keyframes suspension-data-v-790439a6{0%,\r\n 100%{-webkit-transform:translate(0);transform:translate(0)}50%{-webkit-transform:translate(-.8rem,1rem);transform:translate(-.8rem,1rem)}}@keyframes suspension-data-v-790439a6{0%,\r\n 100%{-webkit-transform:translate(0);transform:translate(0)}50%{-webkit-transform:translate(-.8rem,1rem);transform:translate(-.8rem,1rem)}}.login[data-v-790439a6]{position:relative;height:100%;z-index:1\r\n /* 背景图片 start */\r\n /* 背景图片 end */\r\n /* 内容 start */\r\n /* 切换 start */\r\n /* 切换 end */\r\n /* 登录注册信息 start */\r\n /* 登录注册信息 end */\r\n /* 登录方式切换 start */\r\n /* 登录方式切换 end */\r\n /* 内容 end */}.login__bg[data-v-790439a6]{z-index:-1;position:fixed}.login__bg--top[data-v-790439a6]{top:0;left:0;right:0;width:100%}.login__bg--top .bg[data-v-790439a6]{width:%?750?%;will-change:transform}.login__bg--top .rocket[data-v-790439a6]{margin:%?50?% 28%;width:%?400?%;will-change:transform}.login__bg--bottom[data-v-790439a6]{bottom:%?-10?%;left:0;right:0;width:100%;margin-bottom:env(safe-area-inset-bottom)}.login__bg--bottom uni-image[data-v-790439a6]{width:%?750?%;will-change:transform}.login__wrapper[data-v-790439a6]{position:absolute;top:200px;width:100%}.login__mode[data-v-790439a6]{position:relative;margin:0 auto;width:%?476?%;height:%?77?%;background-color:#fff;box-shadow:%?0?% %?10?% %?50?% %?0?% rgba(0,3,72,.1);border-radius:%?39?%}.login__mode__item[data-v-790439a6]{height:%?77?%;width:100%;line-height:%?77?%;text-align:center;font-size:%?31?%;color:#908f8f;letter-spacing:1em;text-indent:1em;z-index:2;transition:all .4s}.login__mode__item--active[data-v-790439a6]{font-weight:700;color:#fff}.login__mode__slider[data-v-790439a6]{position:absolute;height:inherit;width:calc(%?476?% / 2);border-radius:inherit;box-shadow:%?0?% %?18?% %?72?% %?18?% rgba(0,195,255,.1);z-index:1;transition:all .3s cubic-bezier(.68,-.55,.265,1.55)}.login__info[data-v-790439a6]{margin:0 %?30?%;padding:%?30?% %?51?%;padding-bottom:0;border-radius:%?20?%;background-color:#fff;box-shadow:%?0?% %?10?% %?50?% %?0?% rgba(0,3,72,.1)}.login__info__item__input[data-v-790439a6]{margin-top:%?59?%;width:100%;height:%?77?%;border:%?1?% solid #e6e6e6;border-radius:%?39?%}.login__info__item__input__left-icon[data-v-790439a6]{width:10%;font-size:%?44?%;margin-left:%?20?%;color:#aaa}.login__info__item__input__content[data-v-790439a6]{width:80%;padding-left:%?10?%}.login__info__item__input__content--verify-code[data-v-790439a6]{width:56%}.login__info__item__input__content uni-input[data-v-790439a6]{font-size:%?24?%}.login__info__item__input__right-icon[data-v-790439a6]{width:10%;font-size:%?44?%;margin-right:%?20?%;color:#aaa}.login__info__item__input__right-verify-code[data-v-790439a6]{width:34%;margin-right:%?20?%}.login__info__item__button[data-v-790439a6]{margin-top:%?75?%;margin-bottom:%?39?%;width:100%;height:%?77?%;text-align:center;font-size:%?31?%;font-weight:700;line-height:%?77?%;letter-spacing:1em;text-indent:1em;border-radius:%?39?%;box-shadow:%?1?% %?10?% %?24?% %?0?% rgba(60,129,254,.35)}.login__info__item__tips[data-v-790439a6]{margin:%?30?% 0;color:#aaa}.login__way[data-v-790439a6]{margin:0 auto;margin-top:%?110?%}.login__way__item--icon[data-v-790439a6]{width:%?77?%;height:%?77?%;font-size:%?50?%;border-radius:%?100?%;margin-bottom:%?18?%;position:relative;z-index:1}.login__way__item--icon[data-v-790439a6]::after{content:" ";position:absolute;z-index:-1;width:100%;height:100%;left:0;bottom:0;border-radius:inherit;opacity:1;-webkit-transform:scale(1);transform:scale(1);background-size:100% 100%;background-image:url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg5.png)}[data-v-790439a6] .input-placeholder{font-size:%?24?%;color:#999}.bg-login[data-v-790439a6]{width:100%;height:100%;position:fixed;top:0;left:0}.login-title-box[data-v-790439a6]{position:absolute;left:15px;top:96px}.login-title-box .login-title-top[data-v-790439a6],\r\n.login-title-box .login-title-bottom[data-v-790439a6]{font-size:20px;font-weight:700;height:38px;line-height:38px;color:#084338}.login__info__item__input[data-v-790439a6]{border-radius:8px;background:#f4f8fa;border:0;height:45px;line-height:45px}.tn-icon-my-reduce[data-v-790439a6]:before,\r\n.tn-icon-lock[data-v-790439a6]:before{color:#4a7971}.login__info__item__button[data-v-790439a6]{background:rgba(62,152,157,.6);margin-top:120px;height:45px;line-height:45px;border-radius:23px;font-size:16px}.can-login[data-v-790439a6]{background:#3e989d}',""]),t.exports=e},"5bdf":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.tn-skeleton[data-v-805157e2]{position:absolute;z-index:9998;overflow:hidden;background-color:#fff}.tn-skeleton__item[data-v-805157e2]{position:absolute;background-color:#f0f0f0}.tn-skeleton__item--fillet[data-v-805157e2]{border-radius:%?10?%}.tn-skeleton__item--fade[data-v-805157e2]{width:100%;height:100%;background-color:#e6e6e6;-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-name:blink-data-v-805157e2;animation-name:blink-data-v-805157e2;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes blink-data-v-805157e2{0%{opacity:1}50%{opacity:.4}100%{opacity:1}}@keyframes blink-data-v-805157e2{0%{opacity:1}50%{opacity:.4}100%{opacity:1}}',""]),t.exports=e},"5e6e":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,".privacy[data-v-5ff42420]{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);z-index:9999999;display:flex;align-items:center;justify-content:center}.content[data-v-5ff42420]{width:%?632?%;padding:%?48?%;box-sizing:border-box;background:#fff;border-radius:%?16?%}.content .title[data-v-5ff42420]{text-align:center;color:#333;font-weight:700;font-size:%?32?%}.content .des[data-v-5ff42420]{font-size:%?26?%;color:#666;margin-top:%?40?%;text-align:justify;line-height:1.6}.content .des .link[data-v-5ff42420]{color:#3e989d;text-decoration:underline}.btns[data-v-5ff42420]{margin-top:%?48?%;display:flex}.btns .item[data-v-5ff42420]{width:%?244?%;height:%?80?%;overflow:visible;display:flex;align-items:center;margin:0 12px;justify-content:center;\n\t/* border-radius: 16rpx; */box-sizing:border-box;border:none!important}.btns .reject[data-v-5ff42420]{background:#f4f4f5;color:#909399}.btns .agree[data-v-5ff42420]{background:#3e989d;color:#fff}",""]),t.exports=e},6859:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.pagesLogin=void 0;e.pagesLogin={data:function(){return{}},methods:{}}},"6f2a":function(t,e,n){var i=n("5bdf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("967d").default;r("41f968df",i,!0,{sourceMap:!1,shadowMode:!1})},"77e2":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.updatedatasource=e.updateTagApi=e.updateFence=e.undateFaka=e.submitper=e.sms=e.processingWarn=e.moreprocessingWarn=e.loginApi=e.getGPSCesium=e.getGPS=e.getBaseGPSCesium=e.findwarning=e.findtagIdPerson=e.findbumen=e.findWarningNum=e.findTbUpapp=e.findTag=e.findPerson=e.findFence=e.findFakaji=e.findFakagui=e.findFakaTag=e.findBaiDuGuiJi=e.findAllFence=e.findAchor=e.earlyWarning=e.deleFence=e.checkLogin=e.addpicqwe=e.acquisition=e.ShouDongKaiSuo=e.MarsHome=e.FenceKaiQi=e.FenceGuanBi=void 0;var i=uni.$u.http;e.loginApi=function(t){return i.post("/api/wx/login",t,{custom:{auth:!1}})};e.updateTagApi=function(t){return i.post("/api/wx/updateTagApi",t,{})};e.getBaseGPSCesium=function(t){return i.get("/api/wx/getBaseGPSCesium",{params:t})};e.getGPSCesium=function(t){return i.get("/api/wx/getGPSCesium",{params:t})};e.getGPS=function(t){return i.get("/api/wx/getGPS",{params:t})};e.MarsHome=function(){return i.post("/api/wx/MarsHome",{})};e.moreprocessingWarn=function(t){return i.post("/api/wx/moreprocessingWarn",t)};e.processingWarn=function(t){return i.post("/api/wx/processingWarn",t)};e.submitper=function(t){return i.post("/api/wx/submitper",t)};e.updatedatasource=function(t){return i.put("/api/wx/updatedatasource",t)};e.updateFence=function(t){return i.post("/api/wx/updateFence",t)};e.addpicqwe=function(t){return i.post("/api/wx/addpicqwe",t)};e.ShouDongKaiSuo=function(t){return i.post("/api/wx/ShouDongKaiSuo",t)};e.findBaiDuGuiJi=function(t){return i.get("/api/wx/findBaiDuGuiJi",{params:t})};var r=function(t){return i.get("/api/wx/findtagIdPerson",{params:t})};e.findtagIdPerson=r;e.deleFence=function(t){return i.get("/api/wx/deleFence",{params:t})};e.findTbUpapp=function(t){return i.get("/api/wx/findTbUpapp",{params:t})};e.findFakagui=function(t){return i.get("/api/wx/findFakagui",{params:t})};e.findFakaTag=function(t){return i.get("/api/wx/findFakaTag",{params:t})};e.sms=function(t){return i.get("/api/wx/sms",{params:t})};e.findAllFence=function(t){return i.get("/api/wx/findAllFence",{params:t})};e.findFakaji=function(t){return i.get("/api/wx/findFakaji",{params:t})};e.undateFaka=function(t){return i.get("/api/wx/undateFaka",{params:t})};e.findwarning=function(t){return i.get("/api/wx/findwarning",{params:t})};e.findAchor=function(t){return i.get("/api/wx/findAchor",{params:t})};e.findTag=function(t){return i.get("/api/wx/findTag",{params:t})};e.findFence=function(t){return i.get("/api/wx/findFence",{params:t})};e.acquisition=function(t){return i.get("/api/wx/acquisition",{params:t})};e.FenceKaiQi=function(t){return i.get("/api/wx/FenceKaiQi",{params:t})};e.FenceGuanBi=function(t){return i.get("/api/wx/FenceGuanBi",{params:t})};e.earlyWarning=function(){return i.get("/api/wx/earlyWarning",{params:{}})};e.findbumen=function(){return i.get("/api/wx/findbumen",{params:{}})};e.findWarningNum=function(){return i.get("/api/wx/findWarningNum",{params:{}})};e.checkLogin=function(t){return i.get("/api/wx/checkLogin",{params:{token:t}})};e.findPerson=function(t){return i.get("/api/wx/findPerson",{params:t})}},"816a":function(t,e,n){"use strict";var i=n("bdaf"),r=n.n(i);r.a},"8bfe":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("v-uni-view",{staticClass:"tn-skeleton-class tn-skeleton",class:[t.backgroundColorClass],style:[t.skeletonStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[t._l(t.rectNodes,(function(e,i){return n("v-uni-view",{key:t.$tn.uuid(),staticClass:"tn-skeleton__item tn-skeleton__item--rect",class:[t.elBackgroundColorClass,{"tn-skeleton__item--fade":t.animation}],style:[t.itemStyle("rect",e)]})})),t._l(t.circleNodes,(function(e,i){return n("v-uni-view",{key:t.$tn.uuid(),staticClass:"tn-skeleton__item tn-skeleton__item--circle",class:[t.elBackgroundColorClass,{"tn-skeleton__item--fade":t.animation}],style:[t.itemStyle("circle",e)]})})),t._l(t.filletNodes,(function(e,i){return n("v-uni-view",{key:t.$tn.uuid(),staticClass:"tn-skeleton__item tn-skeleton__item--fillet",class:[t.elBackgroundColorClass,{"tn-skeleton__item--fade":t.animation}],style:[t.itemStyle("fillet",e)]})}))],2):t._e()},r=[]},9232:function(t,e,n){"use strict";n.r(e);var i=n("8bfe"),r=n("0525");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("0fa0");var o=n("828b"),s=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"805157e2",null,!1,i["a"],void 0);e["default"]=s.exports},a18d:function(t,e,n){"use strict";n.r(e);var i=n("addf"),r=n("f81e");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("816a");var o=n("828b"),s=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"5ff42420",null,!1,i["a"],void 0);e["default"]=s.exports},addf:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showPrivacy?n("v-uni-view",{staticClass:"privacy"},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("隐私保护指引")]),n("v-uni-view",{staticClass:"des"},[t._v("在使用当前小程序服务之前,请仔细阅读"),n("v-uni-text",{staticClass:"link",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPrivacyContract.apply(void 0,arguments)}}},[t._v(t._s(t.privacyContractName))]),t._v("。如你同意"+t._s(t.privacyContractName)+",请点击“同意”开始使用,拒绝将退出使用当前小程序。")],1),n("v-uni-view",{staticClass:"btns"},[n("v-uni-button",{staticClass:"item reject",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.exitMiniProgram.apply(void 0,arguments)}}},[t._v("拒绝")]),n("v-uni-button",{staticClass:"item agree",attrs:{id:"agree-btn","open-type":"agreePrivacyAuthorization"},on:{agreeprivacyauthorization:function(e){arguments[0]=e=t.$handleEvent(e),t.handleAgreePrivacyAuthorization.apply(void 0,arguments)}}},[t._v("同意")])],1)],1)],1):t._e()},r=[]},b906:function(t,e,n){"use strict";var i=n("deb2"),r=n.n(i);r.a},bdaf:function(t,e,n){var i=n("5e6e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("967d").default;r("11e9de3c",i,!0,{sourceMap:!1,shadowMode:!1})},c889:function(t,e,n){t.exports=n.p+"static/login/bj.png"},ccd0:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"PrivacyPopup",data:function(){return{privacyContractName:"",showPrivacy:!1,isRead:!1,resolvePrivacyAuthorization:null}},mounted:function(){var t=this;wx.onNeedPrivacyAuthorization&&wx.onNeedPrivacyAuthorization((function(e){t.resolvePrivacyAuthorization=e})),wx.getPrivacySetting&&wx.getPrivacySetting({success:function(e){console.log(e,"getPrivacySetting"),e.needAuthorization&&(t.privacyContractName=e.privacyContractName,t.showPrivacy=!0)}})},methods:{openPrivacyContract:function(){var t=this;wx.openPrivacyContract({success:function(){t.isRead=!0},fail:function(){uni.showToast({title:"遇到错误",icon:"error"})}})},exitMiniProgram:function(){wx.exitMiniProgram()},handleAgreePrivacyAuthorization:function(){this.isRead?(this.showPrivacy=!1,"function"===typeof this.resolvePrivacyAuthorization&&this.resolvePrivacyAuthorization({buttonId:"agree-btn",event:"agree"})):uni.showToast({title:"请先阅读隐私授权协议",icon:"error"})}}};e.default=i},d226:function(t,e,n){"use strict";n.r(e);var i=n("fb2b"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},dd7e:function(t,e,n){n("6a54"),n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("3872e"),n("4e9b"),n("114e"),n("c240"),n("926e"),n("7a76"),n("c9b5"),n("aa9c"),n("2797"),n("8a8d"),n("dc69"),n("f7a5");var i=n("bdbb")["default"];function r(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return e},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(B){d=function(t,e,n){return t[e]=n}}function f(t,e,n,i){var r=e&&e.prototype instanceof h?e:h,a=Object.create(r.prototype),s=new j(i||[]);return o(a,"_invoke",{value:C(t,n,s)}),a}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(B){return{type:"throw",arg:B}}}e.wrap=f;var g={};function h(){}function v(){}function m(){}var _={};d(_,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(A([])));w&&w!==n&&a.call(w,u)&&(_=w);var x=m.prototype=h.prototype=Object.create(_);function y(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){var n;o(this,"_invoke",{value:function(r,o){function s(){return new e((function(n,s){(function n(r,o,s,u){var c=p(t[r],t,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==i(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,u)}),(function(t){n("throw",t,s,u)})):e.resolve(d).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,u)}))}u(c.arg)})(r,o,n,s)}))}return n=n?n.then(s,s):s()}})}function C(t,e,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return F()}for(n.method=r,n.arg=a;;){var o=n.delegate;if(o){var s=S(o,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var u=p(t,e,n);if("normal"===u.type){if(i=n.done?"completed":"suspendedYield",u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i="completed",n.method="throw",n.arg=u.arg)}}}function S(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var r=p(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,g;var a=r.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function A(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--i){var r=this.tryEntries[i],o=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var s=a.call(r,"catchLoc"),u=a.call(r,"finallyLoc");if(s&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),g}},e}t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},deb2:function(t,e,n){var i=n("4ac6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("967d").default;r("22ce5900",i,!0,{sourceMap:!1,shadowMode:!1})},f81e:function(t,e,n){"use strict";n.r(e);var i=n("ccd0"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},fa81:function(t,e,n){"use strict";n.r(e);var i=n("1481"),r=n("d226");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("b906");var o=n("828b"),s=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"790439a6",null,!1,i["a"],void 0);e["default"]=s.exports},fb2b:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("482b")),a=n("77e2"),o=i(n("fb8d")),s=i(n("a18d")),u=i(n("30a9")),c=n("6859"),l={name:"login-demo-1",mixins:[c.pagesLogin,o.default],components:{PrivacyPopup:s.default,successCom:u.default},data:function(){return{showSkeleton:!0,username:"",password:"",currentModeIndex:0,modeSliderStyle:{left:0},showPassword:!1,tips:"获取验证码",showPrivacyPopup:!1}},onLoad:function(t){},watch:{currentModeIndex:function(t){var e=uni.upx2px(238);this.modeSliderStyle.left="".concat(e*t,"px")}},computed:{canLogin:function(){var t=!1;return this.username&&this.password&&(t=!0),t}},mounted:function(){var t=this;setTimeout((function(){t.showSkeleton=!1}),1e3);var e=uni.getStorageSync("vuex_is_login");e&&uni.reLaunch({url:"/pages/index/index"})},methods:{login:function(){var t=this;if(!this.username)return this.$refs.refSuccess.showBox({type:"error",txt:"账号不能为空!"}),!1;if(!this.password)return this.$refs.refSuccess.showBox({type:"error",txt:"密码不能为空!"}),!1;uni.showLoading({title:"登录中"});var e={cid:this.uuid,username:this.username,password:this.password};(0,a.loginApi)(e).then((function(e){uni.hideLoading(),0==e.code?(uni.setStorageSync("access_token",e.data.tokentype+" "+e.data.token),r.default.commit("$tStore",{name:"vuex_user",value:t.username}),r.default.commit("$tStore",{name:"access_token",value:e.data.tokentype+" "+e.data.token}),r.default.commit("$tStore",{name:"username",value:e.data.username}),r.default.commit("$tStore",{name:"phone",value:e.data.phone}),r.default.commit("$tStore",{name:"juese",value:e.data.juese}),r.default.commit("$tStore",{name:"company",value:e.data.company}),r.default.commit("$tStore",{name:"companyid",value:e.data.companyid}),r.default.commit("$tStore",{name:"vuex_is_login",value:!0}),uni.reLaunch({url:"/pages/index/index"})):t.$refs.refSuccess.showBox({type:"error",txt:e.msg})}))},unLogin:function(){uni.reLaunch({url:"/pages/index/index"})}}};e.default=l},fb8d:function(t,e,n){var i=n("dd7e").default,r=n("46c5").default;t.exports={data:function(){return{}},onLoad:function(){this.updateCustomBarInfo()},methods:{goBack:function(){var t=getCurrentPages();if(t&&t.length>0){var e=t[0];1!=t.length||e.route&&"pages/index/index"==e.route?uni.navigateBack({delta:1}):uni.reLaunch({url:"/pages/index/index"})}else uni.reLaunch({url:"/pages/index/index"})},updateCustomBarInfo:function(){var t=this;return r(i().mark((function e(){var n,r,a;return i().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.vuex_custom_bar_height,r=t.vuex_status_bar_height,n){e.next=15;break}return e.prev=3,e.next=6,t.$tn.updateCustomBar();case 6:a=e.sent,n=a.customBarHeight,r=a.statusBarHeight,e.next=15;break;case 11:return e.prev=11,e.t0=e["catch"](3),setTimeout((function(){t.updateCustomBarInfo()}),10),e.abrupt("return");case 15:t.$tn.vuex("vuex_status_bar_height",r),t.$tn.vuex("vuex_custom_bar_height",n);case 17:case"end":return e.stop()}}),e,null,[[3,11]])})))()}}}}}]);