(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/mine/settings/agreement"],{"2f12":function(t,e,n){},3162:function(t,e,n){"use strict";n.r(e);var i=n("4915"),o=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"]=o.a},3278:function(t,e,n){"use strict";var i=n("2f12"),o=n.n(i);o.a},4915:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{loadEnd:!1,agreementType:0,agreementTitle:"",content:""}},onLoad:function(e){var n=this;this.agreementType=e.type,1==e.type?this.agreementTitle="用户协议":2==e.type?this.agreementTitle="隐私政策":3==e.type&&(this.agreementTitle="入会协议"),t.showLoading({title:"加载中"}),this.getConfigInfo((function(){n.loadEnd=!0,t.hideLoading()}))},methods:{getConfigInfo:function(e){var n=this;this.$util.request("main.agreement",{type:this.agreementType}).then((function(i){e&&e(),1==i.code?n.content=i.data.content:t.showToast({title:i.msg,icon:"none"})})).catch((function(t){e&&e(),console.error("获取协议内容 ",t)}))}}};e.default=n}).call(this,n("df3c")["default"])},"4a62":function(t,e,n){"use strict";n.r(e);var i=n("6fa0"),o=n("3162");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("3278");var r=n("828b"),u=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=u.exports},"6fa0":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={mpHtml:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/mp-html/components/mp-html/mp-html")]).then(n.bind(null,"7717"))}},o=function(){var t=this.$createElement;this._self._c},a=[]},e710:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("aa6c");i(n("3240"));var o=i(n("4a62"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["e710","common/runtime","common/vendor"]]]);