You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
5.7 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"0864":function(t,e,n){"use strict";var o=n("6adb"),a=n.n(o);a.a},1561:function(t,e,n){"use strict";n.r(e);var o=n("8cf7"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},3057:function(t,e,n){},"58d4":function(t,e,n){"use strict";(function(t){n("0371");var e=l(n("66fd")),o=l(n("8aa6")),a=l(n("1aa7")),i=l(n("4fd8")),r=(l(n("89cc")),l(n("93d0")),n("8c38")),u=n("83b4"),c=l(n("deb0")),s=l(n("9f46"));function l(t){return t&&t.__esModule?t:{default:t}}function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var g=function(){n.e("components/colorui/components/cu-custom").then(function(){return resolve(n("43fc"))}.bind(null,n)).catch(n.oe)};e.default.component("cu-custom",g),e.default.config.productionTip=!1,e.default.config.devtools=!1,e.default.prototype.$validator=function(t){return new i.default(t)},e.default.use(c.default),e.default.mixin(s.default),e.default.config.productionTip=!1,o.default.mpType="app",e.default.prototype.$store=a.default;var h=new e.default(d(d({},o.default),{},{store:a.default}));Object.defineProperty(e.default.prototype,"$yrouter",{get:function(){return r._router}}),Object.defineProperty(e.default.prototype,"$yroute",{get:function(){return this._route}});var b="";b="routine",e.default.prototype.$deviceType=b,e.default.mixin({onLoad:function(){var t=this.$root.$mp;this._route=(0,r.parseRoute)(t)},onShow:function(){r._router.app=this,r._router.currentRoute=this._route},computed:{$VUE_APP_RESOURCES_URL:function(){return u.VUE_APP_RESOURCES_URL}}}),a.default.commit("updateDevicetype",b),e.default.prototype.$VUE_APP_API_URL=u.VUE_APP_API_URL,e.default.component("cu-custom",g),t(h).$mount()}).call(this,n("543d")["createApp"])},"6adb":function(t,e,n){},"7cf5":function(t,e,n){"use strict";var o=n("3057"),a=n.n(o);a.a},"8aa6":function(t,e,n){"use strict";n.r(e);var o=n("1561");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("7cf5"),n("0864");var i,r,u,c,s=n("f0c5"),l=Object(s["a"])(o["default"],i,r,!1,null,"891606f8",null,!1,u,c);e["default"]=l.exports},"8cf7":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("83b4"),a={onLaunch:function(e){this.setMenuHeight(),this.autoUpdate(),t.hideTabBar()},globalData:{baseURL:o.VUE_APP_API_URL+"/",userInfo:null,navHeight:0,navTopHeight:0,menuTop:0,menuHeight:0,CustomBar:0,isIphoneX:!1,inviterId:null,systemInfo:null},onShow:function(e){t.hideTabBar();var n={};if(e.query.q){var o=e.query.q;o&&(-1!=o.indexOf("?")&&(o=o.split("?")[1].replace(/=/g,":").replace(/&/g,",").split(",").map((function(t,e){return t=t.split(":"),'"'.concat(t[0],'":"').concat(t[1],'"')})).join(","),n=JSON.parse("{"+o+"}")),console.log("query1",n),this.globalData.inviterId=n.id)}else n=e.query,console.log("query2",n),this.globalData.inviterId=n.id},methods:{autoUpdate:function(){if(t.canIUse("getUpdateManager")){var e=t.getUpdateManager();e.onCheckForUpdate((function(n){n.hasUpdate&&(e.onUpdateReady((function(){console.log(new Date),t.showModal({title:"更新提示",content:"新版本已经准备好,是否重启应用?",success:function(t){t.confirm&&e.applyUpdate()}})})),e.onUpdateFailed((function(){t.showModal({title:"已经有新版本了哟~",content:"新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~"})})))