require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/productdetails"],{233:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var i=o(t(234));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t(1)["default"],t(2)["createPage"])},234:function(e,n,t){"use strict";t.r(n);var o=t(235),i=t(237);for(var s in i)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(s);t(239);var a,r=t(45),c=Object(r["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"3f9c3b1e",null,!1,o["components"],a);c.options.__file="pageA/productdetails.vue",n["default"]=c.exports},235:function(e,n,t){"use strict";t.r(n);var o=t(236);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},236:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return i})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return s})),t.d(n,"components",(function(){return o}));try{o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,856))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-icon/u-icon")]).then(t.bind(null,980))},uTabs:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-tabs/u-tabs")]).then(t.bind(null,930))},uniRate:function(){return t.e("uni_modules/uni-rate/components/uni-rate/uni-rate").then(t.bind(null,996))},uParse:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-parse/u-parse")]).then(t.bind(null,1003))},uPopup:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-popup/u-popup")]).then(t.bind(null,1012))},uNumberBox:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-number-box/u-number-box")]).then(t.bind(null,972))},lPainter:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter/l-painter")]).then(t.bind(null,1020))},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,1031))},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,1036))},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,1041))}}}catch(r){if(-1===r.message.indexOf("Cannot find module")||-1===r.message.indexOf(".vue"))throw r;console.error(r.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var 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?e.goodinfo.discount_price.slice(0,-3):null,i=e.goodinfo.discount_price?e.goodinfo.discount_price.slice(-3):null,s=e.selectArr.length,a=s>0?e.selectArr.join(","):null,r=Number(100*e.sku_info.discount_price)*Number(100*e.value)/1e4||Number(100*e.goodinfo.discount_price)*Number(100*e.value)/1e4,c=e.selectArr.join(",")||e.i18n.selection;e.$mp.data=Object.assign({},{$root:{l0:t,g0:o,g1:i,g2:s,g3:a,m0:r,g4:c}})},s=!1,a=[];i._withStripped=!0},237:function(e,n,t){"use strict";t.r(n);var o=t(238),i=t.n(o);for(var s in o)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(s);n["default"]=i.a},238:function(e,n,t){"use strict";(function(e,o){var i=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=i(t(31)),a=t(30),r=(i(t(118)),{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:"",childA:""}},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