(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ns-fenxiao-goods-detail/ns-fenxiao-goods-detail"],{"0a9e":function(e,n,t){"use strict";t.r(n);var a=t("158a"),o=t("ce78");for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t("1208");var u,r=t("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],u);n["default"]=s.exports},1208:function(e,n,t){"use strict";var a=t("9b3d"),o=t.n(a);o.a},"158a":function(e,n,t){"use strict";var a,o=function(){var e=this,n=e.$createElement;e._self._c},i=[];t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return a}))},"9b3d":function(e,n,t){},ce78:function(e,n,t){"use strict";t.r(n);var a=t("f227"),o=t.n(a);for(var i in a)"default"!==i&&function(e){t.d(n,e,(function(){return a[e]}))}(i);n["default"]=o.a},f227:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(t("4795"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,n,t,a,o,i,u){try{var r=e[i](u),s=r.value}catch(c){return void t(c)}r.done?n(s):Promise.resolve(s).then(a,o)}function u(e){return function(){var n=this,t=arguments;return new Promise((function(a,o){var u=e.apply(n,t);function r(e){i(u,a,o,r,s,"next",e)}function s(e){i(u,a,o,r,s,"throw",e)}r(void 0)}))}}var r={name:"ns-fenxiao-good-detail",props:{skuId:{type:[Number,String],default:0}},data:function(){return{isIphoneX:!1,preview:0,showFenxiao:0,fenXiaoLevel:0,levelId:0,levelInfo:{},token:""}},created:function(){var n=this;return u(a.default.mark((function t(){return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.getStorageSync("token")){t.next=2;break}return t.abrupt("return");case 2:return n.isIphoneX=n.$util.uniappIsIPhoneX(),t.next=5,n.getAddonisexit();case 5:0!=n.showFenxiao&&n.getFenxiaoGoodsDetail();case 6:case"end":return t.stop()}}),t)})))()},methods:{getAddonisexit:function(){var e=this;return u(a.default.mark((function n(){var t;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.sendRequest({url:"/api/addon/addonisexit",async:!1,success:function(e){}});case 2:t=n.sent,0==t.code&&t.data&&(e.showFenxiao=t.data.fenxiao);case 4:case"end":return n.stop()}}),n)})))()},getFenxiaoGoodsDetail:function(){var e=this;this.$api.sendRequest({url:"/fenxiao/api/goods/detail",data:{sku_id:this.skuId},success:function(n){0==n.code&&n.data&&(e.levelInfo=n.data)}})}}};n.default=r}).call(this,t("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/ns-fenxiao-goods-detail/ns-fenxiao-goods-detail-create-component',
    {
        'components/ns-fenxiao-goods-detail/ns-fenxiao-goods-detail-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("0a9e"))
        })
    },
    [['components/ns-fenxiao-goods-detail/ns-fenxiao-goods-detail-create-component']]
]);
