(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"0ed9":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},o=[]},"2ad7":function(t,e,n){"use strict";var a=n("505e"),o=n.n(a);o.a},"505e":function(t,e,n){},"7d45":function(t,e,n){"use strict";(function(t,e,a){var o=n("4ea4"),r=o(n("9523"));n("f331");var c=o(n("66fd")),u=o(n("b346")),i=o(n("bde7")),f=o(n("598e")),d=o(n("34b9"));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}t.__webpack_require_UNI_MP_PLUGIN__=n;c.default.component("navBar",(function(){n.e("components/navBar/index").then(function(){return resolve(n("7af2"))}.bind(null,n)).catch(n.oe)}));c.default.component("dpopup",(function(){n.e("components/popup/index").then(function(){return resolve(n("4134"))}.bind(null,n)).catch(n.oe)})),c.default.use(i.default),c.default.prototype.$store=f.default,c.default.prototype.$picUrl=d.default.picUrl,c.default.prototype.$picBase=d.default.picBase,c.default.prototype.$appId=d.default.appId,c.default.prototype.$shareType=d.default.shareModel,c.default.prototype.$getCutDown=function(){return e.getStorageSync("switchs")[0]?1:e.getStorageSync("switchs")[1]?e.getStorageSync("priceConfig").member_price:e.getStorageSync("switchs")[2]?e.getStorageSync("priceConfig").vip_price:void 0},c.default.prototype.$toast=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1500;e.showToast({title:t,icon:n,duration:a})},n("a939")(s),c.default.config.productionTip=!1,u.default.mpType="app";var s=new c.default(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},u.default));a(s).$mount()}).call(this,n("bc2e")["default"],n("543d")["default"],n("543d")["createApp"])},a1a5:function(t,e,n){"use strict";n.r(e);var a=n("f5df"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},b346:function(t,e,n){"use strict";n.r(e);var a=n("0ed9"),o=n("a1a5");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("2ad7");var c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=u.exports},f5df:function(t,e,n){"use strict";(function(t){var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("2eee")),r=a(n("c973")),c=a(n("34b9")),u={globalData:{showPrivacy:!1,priceConfig:{},userInfo:{}},onLaunch:function(e){var n=this;return(0,r.default)(o.default.mark((function e(){return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n,t.getPrivacySetting&&t.getPrivacySetting({success:function(t){console.log("是否需要授权：",t.needAuthorization,"隐私协议的名称为：",t.privacyContractName),t.needAuthorization?getApp().globalData.showPrivacy=!0:getApp().globalData.showPrivacy=!1},fail:function(){},complete:function(){}}),t.setStorageSync("switchs",[1,0,0]),t.request({url:c.default.baseUrl+"/api/common/getPriceConfig",method:"GET",success:function(e){0==e.data.code&&(console.log("app.vue中获取的会员折扣数据",e.data.data),t.setStorageSync("priceConfig",e.data.data))}}),t.getStorageSync("token")&&t.request({url:c.default.baseUrl+"/api/users/getUserInfo",method:"GET",header:{Authorization:t.getStorageSync("token")},success:function(e){0==e.data.code&&(console.log("app.vue中获取的用户信息数据",e.data.data),(1==e.data.data.status&&2==e.data.data.type||1==e.data.data.status&&5==e.data.data.type)&&t.setStorageSync("switchs",[0,1,0]))}});case 5:case"end":return e.stop()}}),e)})))()},onShow:function(){return(0,r.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},onHide:function(){},methods:{}};e.default=u}).call(this,n("543d")["default"])}},[["7d45","common/runtime","common/vendor"]]]);