(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0075":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view")},a=[]},"1b52":function(e,t,n){"use strict";n.r(t);var o=n("0075"),i=n("34ac");for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var r,c=n("f0c5"),u=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"5b1e4dda",null,!1,o["a"],r);t["default"]=u.exports},"34ac":function(e,t,n){"use strict";n.r(t);var o=n("bbf5"),i=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=i.a},bbf5:function(e,t,n){"use strict";n("99af"),n("4d63"),n("ac1f"),n("25f0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={data:function(){return{homeUrl:"https://chtech.ncjti.edu.cn/jiaofei/jiaofei-api"}},onLoad:function(){this.loginFilter()},methods:{loginFilter:function(){var e=localStorage.card_number;if(e)this.getStudentName();else{var t=this.getQueryString("cardNumber");t?(localStorage.card_number=t,this.getStudentName()):window.location.href="https://open.wecard.qq.com/connect/oauth/authorize?app_key=580DBB565097446B&response_type=code&scope=snsapi_userinfo&ocode=1015730314&redirect_uri=".concat(this.homeUrl,"/tuitionpayment/wechat/weixiao/auth/hjh/&connect=curLogin&state=").concat(this.homeUrl,"/tuitionpayment/wechat/weixiao/auth/hjh/")}},getStudentName:function(){var e=localStorage.studentName;if(e)this.getOpenId();else{var t=this.getQueryString("name");t?(localStorage.studentName=t,this.getOpenId()):window.location.href="https://open.wecard.qq.com/connect/oauth/authorize?app_key=580DBB565097446B&response_type=code&scope=snsapi_userinfo&ocode=1015730314&redirect_uri=".concat(this.homeUrl,"/tuitionpayment/wechat/weixiao/auth/hjh/&connect=curLogin&state=").concat(this.homeUrl,"/tuitionpayment/wechat/weixiao/auth/hjh/")}},getOpenId:function(){var e=localStorage.getItem("openId");if(e)this.goPageHome();else{var t=this.getQueryString("openId");if(!t)return void(window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd87cbe1db0437303&redirect_uri=".concat(this.homeUrl,"/tuitionpayment/wechat/pub/auth/hjh&response_type=code&scope=snsapi_base&state=pages/index/index#wechat_redire"));localStorage.setItem("openId",t),this.goPageHome()}},getQueryString:function(e){var t=window.location.href,n=new RegExp("[?&]"+e+"=([^&]+)","i"),o=n.exec(t);return!(null==o||o.length<1)&&decodeURIComponent(o[1])},goPageHome:function(){uni.reLaunch({url:"/pages/home/home"})}}};t.default=o}}]);