(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"1ffb":function(e,t,n){"use strict";n.r(t);var a=n("cca1"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=o.a},"4bb9":function(e,t,n){"use strict";var a=n("684d"),o=n.n(a);o.a},"684d":function(e,t,n){},"6e7d":function(e,t,n){"use strict";n.r(t);var a=n("1ffb");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("4bb9");var r=n("f0c5"),c=Object(r["a"])(a["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);t["default"]=c.exports},a0e8:function(e,t,n){"use strict";(function(e,t,a){var o=n("4ea4"),r=o(n("9523"));n("d716");var c=o(n("66fd")),u=o(n("6e7d")),i=o(n("2536")),f=o(n("13f6")),d=o(n("91cb"));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}e.__webpack_require_UNI_MP_PLUGIN__=n;c.default.component("navBar",(function(){n.e("components/navBar/index").then(function(){return resolve(n("01e6"))}.bind(null,n)).catch(n.oe)}));c.default.component("dpopup",(function(){n.e("components/popup/index").then(function(){return resolve(n("85fd"))}.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 t.getStorageSync("switchs")[0]?1:t.getStorageSync("switchs")[1]?t.getStorageSync("priceConfig").member_price:t.getStorageSync("switchs")[2]?t.getStorageSync("priceConfig").vip_price:void 0},c.default.prototype.$toast=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1500;t.showToast({title:e,icon:n,duration:a})},n("eec3")(p),c.default.config.productionTip=!1,u.default.mpType="app";var p=new c.default(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},u.default));a(p).$mount()}).call(this,n("bc2e")["default"],n("543d")["default"],n("543d")["createApp"])},cca1:function(e,t,n){"use strict";(function(e){var a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("2eee")),r=a(n("c973")),c=a(n("91cb")),u={globalData:{showPrivacy:!1,priceConfig:{},userInfo:{}},onLaunch:function(t){return(0,r.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.getPrivacySetting&&e.getPrivacySetting({success:function(e){console.log("是否需要授权：",e.needAuthorization,"隐私协议的名称为：",e.privacyContractName),e.needAuthorization?getApp().globalData.showPrivacy=!0:getApp().globalData.showPrivacy=!1},fail:function(){},complete:function(){}}),e.setStorageSync("switchs",[1,0,0]),e.request({url:c.default.baseUrl+"/api/common/getPriceConfig",method:"GET",success:function(t){0==t.data.code&&(console.log("app.vue中获取的会员折扣数据",t.data.data),e.setStorageSync("priceConfig",t.data.data))}}),e.getStorageSync("token")&&e.request({url:c.default.baseUrl+"/api/users/getUserInfo",method:"GET",header:{Authorization:e.getStorageSync("token")},success:function(t){0==t.data.code&&(console.log("app.vue中获取的用户信息数据",t.data.data),(1==t.data.data.status&&2==t.data.data.type||1==t.data.data.status&&5==t.data.data.type)&&e.setStorageSync("switchs",[0,1,0]))}});case 4:case"end":return t.stop()}}),t)})))()},onShow:function(){return(0,r.default)(o.default.mark((function e(){return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},onHide:function(){}};t.default=u}).call(this,n("543d")["default"])}},[["a0e8","common/runtime","common/vendor"]]]);