(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-244fb6df"],{"15d0":function(e,t,n){},"414c":function(e,t,n){"use strict";n("15d0")},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("99de"),d=n("7e84"),f=n("262e"),m=n("9ab4"),b=n("60a3"),h=n("17b9");function v(e,t,n){return t=Object(d["a"])(t),Object(l["a"])(e,p()?Reflect.construct(t,n||[],Object(d["a"])(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var y=function(e){function t(){var e;return Object(s["a"])(this,t),e=v(this,t,arguments),e.faceData={},e.disabled=!0,e.event="",e}return Object(f["a"])(t,e),Object(u["a"])(t,[{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["e"])(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)}}])}(b["f"]);y=m["a"]([Object(b["a"])({components:Object(a["a"])({},r["a"].name,r["a"])})],y);var g=y,w=g,k=(n("414c"),n("2877")),_=Object(k["a"])(w,c,o,!1,null,"438c78b5",null);t["default"]=_.exports}}]);