(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16e1504e"],{7322:function(e,t,n){"use strict";n("9fbd")},"9fbd":function(e,t,n){},dd8f:function(e,t,n){"use strict";n.r(t);var c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"faceContainer",staticClass:"face_container"},[n("div",{staticClass:"d_info",domProps:{innerHTML:e._s(e.faceData.content)}}),n("div",{staticClass:"footer"},[n("van-button",{staticClass:"face_btn",attrs:{block:"",round:"",disabled:e.disabled},on:{click:e.save}},[e._v("我已充分了解并同意以上条款")])],1)])},o=[],a=(n("2397"),n("ade3")),r=(n("7f7f"),n("66b9"),n("b650")),i=(n("a481"),n("96cf"),n("1da1")),s=n("d4ec"),u=n("bee2"),l=n("262e"),d=n("99de"),f=n("7e84"),m=n("9ab4"),b=n("60a3"),h=n("17b9");function v(e){var t=p();return function(){var n,c=Object(f["a"])(e);if(t){var o=Object(f["a"])(this).constructor;n=Reflect.construct(c,arguments,o)}else n=c.apply(this,arguments);return Object(d["a"])(this,n)}}function p(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var y=function(e){Object(l["a"])(n,e);var t=v(n);function n(){var e;return Object(s["a"])(this,n),e=t.apply(this,arguments),e.faceData={},e.disabled=!0,e.event="",e}return Object(u["a"])(n,[{key:"created",value:function(){this.getFaceInfo()}},{key:"getFaceInfo",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n,c,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={code:"wx_face_acquisition_protocol",business_id:localStorage.getItem("business_id"),stadium_id:0},e.next=3,Object(h["g"])(t);case 3:n=e.sent,c=n.data,this.faceData=c,this.$nextTick((function(){var e=document.documentElement.scrollHeight||document.body.scrollHeight,t=document.documentElement.offsetHeight||document.body.offsetHeight;t>=e?o.disabled=!1:o.event=window.addEventListener("scroll",o.handel,!1)}));case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"handel",value:function(){var e=document.documentElement.clientHeight||document.body.clientHeight,t=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.scrollHeight||document.body.scrollHeight;t+e>=n-50&&(this.disabled=!1)}},{key:"save",value:function(){this.$router.replace({name:"FaceCollection",query:{check:"1",fromType:this.$route.query.fromType,customParams:this.$route.query.customParams}})}},{key:"beforeDestroy",value:function(){window.removeEventListener("scroll",this.handel,!1)}}]),n}(b["g"]);y=m["a"]([Object(b["a"])({components:Object(a["a"])({},r["a"].name,r["a"])})],y);var g=y,w=g,k=(n("7322"),n("2877")),_=Object(k["a"])(w,c,o,!1,null,"438c78b5",null);t["default"]=_.exports}}]);
//# sourceMappingURL=chunk-16e1504e.4ecceac0.js.map