require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/productdetails"],{2290:function(e,n,t){"use strict";t.r(n);var o=t("4aeb"),i=t("e65b");for(var s in i)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(s);t("ce3d");var a,c=t("f0c5"),r=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"25fb0d3d",null,!1,o["a"],a);n["default"]=r.exports},"26d2":function(e,n,t){"use strict";(function(e,n){var o=t("4ea4");t("f93b");o(t("66fd"));var i=o(t("2290"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"4aeb":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return s})),t.d(n,"a",(function(){return o}));var o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,"b6bd"))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-icon/u-icon")]).then(t.bind(null,"01eb"))},uTabs:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-tabs/u-tabs")]).then(t.bind(null,"5506"))},uniRate:function(){return t.e("uni_modules/uni-rate/components/uni-rate/uni-rate").then(t.bind(null,"38fb"))},uParse:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-parse/u-parse")]).then(t.bind(null,"0d5f"))},uPopup:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-popup/u-popup")]).then(t.bind(null,"2f21"))},uNumberBox:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-number-box/u-number-box")]).then(t.bind(null,"02c9"))},lPainter:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter/l-painter")]).then(t.bind(null,"514f"))},lPainterImage:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter-image/l-painter-image")]).then(t.bind(null,"23cb"))},lPainterText:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter-text/l-painter-text")]).then(t.bind(null,"5062"))},lPainterQrcode:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter-qrcode/l-painter-qrcode")]).then(t.bind(null,"a14a"))}},i=function(){var e=this,n=e.$createElement,t=(e._self._c,e.goodinfo.images?e.goodinfo.images.split(","):null),o=e.goodinfo.discount_price.slice(0,-3),i=e.goodinfo.discount_price.slice(-3),s=e.selectArr.length,a=s>0?e.selectArr.join(","):null,c=JSON.stringify(e.sku_info),r=Number(100*e.sku_info.discount_price)*Number(100*e.value)/1e4||Number(100*e.goodinfo.discount_price)*Number(100*e.value)/1e4,u=e.selectArr.join(",")||e.i18n.selection;e.$mp.data=Object.assign({},{$root:{l0:t,g0:o,g1:i,g2:s,g3:a,g4:c,m0:r,g5:u}})},s=[]},"6dc9":function(e,n,t){"use strict";(function(e,o){var i=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=i(t("01d0")),a=t("970c"),c=(i(t("0ace")),{data:function(){return{share_merchant_id:"",toView:"",imagea:!1,goodinfoname:"",goodinfoyuan:"",current:0,show:!1,serve:!1,share:!1,value:1,swiptlist:[],actab:0,id:"",language:"zh-CN",goodinfo:{},duration:0,actidx:0,subIndex:[],selectArr:[],shopcar:"",sku_info:{},commentlist:[],total:"",rate:5,content:{},bao:"",picture2:"",userid:"",fu:"",name_c:""}},computed:{i18n:function(){return this.$t("index")},list1:function(){var e=[{name:this.i18n.mineCommodity},{name:this.i18n.evaluate},{name:this.i18n.particulars}];return e}},onLoad:function(n){if(console.log(n),n.q&&"undefined"!=n.q){var t=decodeURIComponent(n.q),o=this.GetwxUrlParam(t);console.log("jsonUrl",o);var i=o.id;this.share_merchant_id=o.userid,this.id=i,this.comment(),this.detail(this.id)}else{if(e.getStorageSync("user_info")){var s=e.getStorageSync("user_info");this.userid=s.id,console.log(this.userid)}this.id=n.id,this.comment(),this.detail(this.id)}},onShow:function(){""!=e.getStorageSync("language")&&(this.language=e.getStorageSync("language")),this.recommend(),this.guarantee()},mounted:function(){var e=this;this.$refs.poster.canvasToTempFilePathSync({fileType:"jpg",quality:1,success:function(n){e.picture2=n.tempFilePath}})},methods:{toxieyi:function(){e.navigateTo({url:"/pageB/xieyi?code=rebate_proportion"})},GetwxUrlParam:function(e){var n={};if(-1!=e.indexOf("#"))for(var t=e.split("#")[1],o=t.split("&"),i=0;i