require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/app_update/app_update"],{"2e5d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{appUpdate:{}}},onLoad:function(){var e=this;plus.runtime.getProperty(plus.runtime.appid,(function(t){e.$set(e.appUpdate,"versionCode",t.version)}))},methods:{appVersionConfig:function(){var t=this;getAppVersion().then((function(n){t.$set(t.appUpdate,"androidAddress",n.data.androidAddress),t.$set(t.appUpdate,"appVersion",n.data.appVersion),t.$set(t.appUpdate,"iosAddress",n.data.iosAddress),t.$set(t.appUpdate,"openUpgrade",n.data.openUpgrade),plus.runtime.getProperty(plus.runtime.appid,(function(a){var o=a.version.split(".").join(""),i=n.data.appVersion.split(".").join("");e.getSystemInfo({success:function(n){i>o?e.showModal({title:"更新提示",content:"发现新版本，是否前去下载?",showCancel:"false"==t.appUpdate.openUpgrade,cancelColor:"#eeeeee",confirmColor:"#f55850",success:function(e){if(e.confirm)switch(n.platform){case"android":plus.runtime.openURL(t.appUpdate.androidAddress);break;case"ios":plus.runtime.openURL(encodeURI(t.appUpdate.iosAddress));break}}}):i<=o&&e.showToast({title:"已是最新版本",icon:"none"})}})}))}))}}};t.default=n}).call(this,n("df3c")["default"])},"314c":function(e,t,n){"use strict";var a=n("82e6"),o=n.n(a);o.a},"4ad6":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},o=[]},"82e6":function(e,t,n){},acf6:function(e,t,n){"use strict";n.r(t);var a=n("2e5d"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},c5b4:function(e,t,n){"use strict";n.r(t);var a=n("4ad6"),o=n("acf6");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("314c");var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=s.exports},faf9:function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("1d3c");a(n("3240"));var o=a(n("c5b4"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["faf9","common/runtime","common/vendor"]]]);