(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-61aa62c5"],{"4a67":function(t,e,a){},ae4f:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"insurance-container",style:t.customStyle},[a("div",{staticClass:"insurance-top"},[a("div",{staticClass:"des"},[a("svg-icon",{attrs:{"icon-class":"insurance","class-name":"icon"}}),a("span",{staticClass:"title"},[t._v("运动保障")]),a("span",{staticClass:"tag"},[t._v(t._s(t.is_insure_must?"建议投保":"必须购买保障"))])],1),a("div",{staticClass:"arrow",on:{click:t.handleInsure}},[a("span",[t._v("去投保")]),a("van-icon",{attrs:{name:"arrow"}})],1)]),a("div",{staticClass:"insurance-bottom"},[t._v("保险服务由第三方保险公司承保，参加活动更放心")]),t.isInsure?a("svg-icon",{attrs:{"icon-class":"insurance-ok","class-name":"insurance-ok"}}):t._e()],1)},s=[],r=(a("2397"),a("ade3")),i=(a("7f7f"),a("c3a6"),a("ad06")),c=a("d4ec"),o=a("bee2"),u=a("99de"),l=a("7e84"),m=a("262e"),p=a("9ab4"),d=a("60a3");function v(t,e,a){return e=Object(l["a"])(e),Object(u["a"])(t,f()?Reflect.construct(e,a||[],Object(l["a"])(t).constructor):e.apply(t,a))}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}var b=function(t){function e(){var t;return Object(c["a"])(this,e),t=v(this,e,arguments),t.timer=0,t}return Object(m["a"])(e,t),Object(o["a"])(e,[{key:"handleInsure",value:function(){this.loopQueryInsure();var t="/pages/transferRouter/index?page_url=".concat(encodeURIComponent(this.wxInsureParams.page_url),"&appid=").concat(this.wxInsureParams.appid,"&formOrigin=papa&app_name=中兴保险经纪");this.wxInsureParams.miniProgramInsureParams&&(t+="&".concat(this.wxInsureParams.miniProgramInsureParams)),this.$miniProgram.navigateTo(t)}},{key:"loopQueryInsure",value:function(){var t=this;this.timer=setTimeout((function(){t.isInsure?t.timer&&clearTimeout(t.timer):(t.$emit("getBuyInsureStatus"),t.loopQueryInsure())}),1e3)}},{key:"beforeDestroy",value:function(){this.timer&&clearTimeout(this.timer)}}])}(d["f"]);p["a"]([Object(d["d"])()],b.prototype,"is_insure_must",void 0),p["a"]([Object(d["d"])()],b.prototype,"isInsure",void 0),p["a"]([Object(d["d"])()],b.prototype,"wxInsureParams",void 0),p["a"]([Object(d["d"])({default:function(){return{"margin-bottom":"45px"}}})],b.prototype,"customStyle",void 0),b=p["a"]([Object(d["a"])({components:Object(r["a"])({},i["a"].name,i["a"])})],b);var h=b,y=h,I=(a("d57b"),a("2877")),O=Object(I["a"])(y,n,s,!1,null,"4edc5844",null);e["default"]=O.exports},d57b:function(t,e,a){"use strict";a("4a67")}}]);