require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageOne/mes/setUp"],{226:function(n,t,e){"use strict";(function(n,t){var o=e(4);e(26);o(e(25));var r=o(e(227));n.__webpack_require_UNI_MP_PLUGIN__=e,t(r.default)}).call(this,e(1)["default"],e(2)["createPage"])},227:function(n,t,e){"use strict";e.r(t);var o=e(228),r=e(230);for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);e(233);var a,c=e(32),u=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);u.options.__file="pageOne/mes/setUp.vue",t["default"]=u.exports},228:function(n,t,e){"use strict";e.r(t);var o=e(229);e.d(t,"render",(function(){return o["render"]})),e.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(t,"components",(function(){return o["components"]}))},229:function(n,t,e){"use strict";var o;e.r(t),e.d(t,"render",(function(){return r})),e.d(t,"staticRenderFns",(function(){return a})),e.d(t,"recyclableRender",(function(){return i})),e.d(t,"components",(function(){return o}));var r=function(){var n=this,t=n.$createElement,e=(n._self._c,n.settingsList.length);n.$mp.data=Object.assign({},{$root:{g0:e}})},i=!1,a=[];r._withStripped=!0},230:function(n,t,e){"use strict";e.r(t);var o=e(231),r=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=r.a},231:function(n,t,e){"use strict";(function(n){var o=e(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(e(18)),i=e(232),a={data:function(){var n=i.promotionDocuments.map((function(n){return{name:n.title,url:"/pageOne/mes/agreement?name=".concat(encodeURIComponent(n.title),"&docKey=").concat(n.key)}}));return{promotionTapCount:0,promotionUnlocked:!1,settingsList:[{name:"隐私政策",url:"/pageOne/mes/agreement?name=隐私政策&type=1"},{name:"用户协议",url:"/pageOne/mes/agreement?name=用户协议&type=2"}].concat((0,r.default)(n),[{name:"关于我们",url:"/pageOne/mes/agreement?name=关于我们&type=3"},{name:"版本号：1.0.5",action:"promotion"}])}},onShow:function(){this.syncPromotionStatus()},methods:{handleSettingItem:function(n){"promotion"!==n.action?n.url&&this.$tools.goNext(n.url):this.handlePromotion()},syncPromotionStatus:function(){this.promotionUnlocked=this.$tools.getPromotionUnlocked()},handlePromotion:function(){if(this.promotionUnlocked)this.$tools.goNext("/pageOne/mes/promotion");else{this.promotionTapCount+=1;var t=5-this.promotionTapCount;t>0||(this.$tools.setPromotionUnlocked(!0),this.promotionUnlocked=!0,this.promotionTapCount=0,n.$emit("promotionUnlocked"),this.$tools.goNext("/pageOne/mes/promotion"))}},getLogin:function(){var t=this;n.showModal({title:"温馨提示",content:"尚未登录或登录已过期，是否前往登录？",success:function(e){e.confirm&&(t.$tools.clearLoginStorage(),n.navigateTo({url:"/pages/login/login"}))}})}}};t.default=a}).call(this,e(2)["default"])},233:function(n,t,e){"use strict";e.r(t);var o=e(234),r=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=r.a},234:function(n,t,e){}},[[226,"common/runtime","common/vendor","pageOne/common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pageOne/mes/setUp.js.map