require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_company/order/productShowDetails"],{"3c56":function(t,n,e){"use strict";e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var c=function(){var t=this.$createElement,n=(this._self._c,this.banner.length),e=this.utils.getDictLabelName("storeProductType",this.product.productType);this.$mp.data=Object.assign({},{$root:{g0:n,g1:e}})},o=[]},"66a4":function(t,n,e){},"75cb":function(t,n,e){"use strict";e.r(n);var c=e("bfad"),o=e.n(c);for(var i in c)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return c[t]}))}(i);n["default"]=o.a},"8acc":function(t,n,e){"use strict";(function(t,n){var c=e("47a9");e("584a");c(e("3240"));var o=c(e("ac40"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},ac40:function(t,n,e){"use strict";e.r(n);var c=e("3c56"),o=e("75cb");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("f5b1");var r=e("828b"),u=Object(r["a"])(o["default"],c["b"],c["c"],!1,null,null,null,!1,c["a"],void 0);n["default"]=u.exports},bfad:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=e("b45c"),o=e("f5b2"),i={components:{},data:function(){return{banner:[],productId:null,product:{price:0,otPrice:0},activeBanner:0}},onLoad:function(t){this.getDicts(),this.productId=t.productId},onShow:function(){this.getProductDetails()},methods:{getDicts:function(){(0,c.getDicts)().then((function(n){200==n.code&&t.setStorageSync("dicts",JSON.stringify(n))}),(function(t){}))},showImg:function(){t.previewImage({urls:this.banner,current:this.banner[0]})},getProductDetails:function(){var n=this,e={productId:this.productId};(0,o.getProductDetails)(e).then((function(e){200==e.code?(n.product=e.product,n.product.otPrice=n.product.otPrice.toFixed(2),n.product.price=n.product.price.toFixed(2),null!=n.product.sliderImage?n.banner=n.product.sliderImage.split(","):n.banner=[]):(t.showToast({icon:"none",title:e.msg}),setTimeout((function(){t.reLaunch({url:"/pages/home/index"})}),2e3))}),(function(t){}))},swiperChange:function(t){this.activeBanner=t.detail.current+1}}};n.default=i}).call(this,e("df3c")["default"])},f5b1:function(t,n,e){"use strict";var c=e("66a4"),o=e.n(c);o.a}},[["8acc","common/runtime","common/vendor"]]]);