chunk-2dcf3890.1aff3464.js.map 66 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/images/share-info.png","webpack:///./src/assets/images/noCoupon.png","webpack:///./src/assets/images/red-packets.png","webpack:///./src/views/shop/GoodsCon.vue?dfd2","webpack:///./src/components/ShareRedPackets.vue?3298","webpack:///src/components/ShareRedPackets.vue","webpack:///./src/components/ShareRedPackets.vue?dcb3","webpack:///./src/components/ShareRedPackets.vue","webpack:///./src/components/CouponPop.vue?4f2b","webpack:///src/components/CouponPop.vue","webpack:///./src/components/CouponPop.vue?a721","webpack:///./src/components/CouponPop.vue","webpack:///./src/components/ShareInfo.vue?ec34","webpack:///src/components/ShareInfo.vue","webpack:///./src/components/ShareInfo.vue?a9b0","webpack:///./src/components/ShareInfo.vue","webpack:///src/views/shop/GoodsCon.vue","webpack:///./src/views/shop/GoodsCon.vue?df87","webpack:///./src/views/shop/GoodsCon.vue","webpack:///./src/components/ShareInfo.vue?1702","webpack:///./src/components/UserEvaluation.vue?983d","webpack:///src/components/UserEvaluation.vue","webpack:///./src/components/UserEvaluation.vue?b93d","webpack:///./src/components/UserEvaluation.vue","webpack:///./src/views/shop/GoodsCon.vue?7b66"],"names":["module","exports","__webpack_require__","p","render","_vm","this","_h","$createElement","_c","_self","class","posterImageStatus","attrs","img-urls","storeInfo","slider_image","staticClass","_v","_s","price","vip_price","_e","src","on","click","listenerActionSheet","store_name","ot_price","stock","unit_name","fsales","couponList","couponTap","_l","item","index","key","use_min_price","coupon_price","selecAttrTap","attrTxt","attrValue","replyCount","to","path","id","replyChance","reply","domProps","innerHTML","description","staticStyle","height","$event","$router","push","setCollect","userCollect","animated","CartCount","joinCart","tapBuy","priceName","changeFun","coupon","attr","posterData","setPosterImageStatus","shareInfoStatus","setShareInfoStatus","posters","weixinStatus","directives","name","rawName","value","expression","touchmove","preventDefault","listenerActionClose","staticRenderFns","ShareRedPacketsvue_type_template_id_00a64f12_render","state","closeShare","goShare","ShareRedPacketsvue_type_template_id_00a64f12_staticRenderFns","ShareRedPacketsvue_type_script_lang_js_","props","type","String","Number","default","data","mounted","methods","$emit","action","components_ShareRedPacketsvue_type_script_lang_js_","component","Object","componentNormalizer","ShareRedPackets","CouponPopvue_type_template_id_9e0270a0_render","close","list","length","getCouponUser","end_time","start_time","is_use","hidden","CouponPopvue_type_template_id_9e0270a0_staticRenderFns","CouponPopvue_type_script_lang_js_","that","user","then","$dialog","toast","mes","$set","components_CouponPopvue_type_script_lang_js_","CouponPop_component","CouponPop","ShareInfovue_type_template_id_f3067a28_scoped_true_render","shareInfoClose","ShareInfovue_type_template_id_f3067a28_scoped_true_staticRenderFns","ShareInfovue_type_script_lang_js_","Boolean","components_ShareInfovue_type_script_lang_js_","ShareInfo_component","ShareInfo","GoodsConvue_type_script_lang_js_","components","ProductConSwiper","UserEvaluation","ProductWindow","StorePoster","image","title","code","cartAttr","productAttr","productSelect","isOpen","productValue","cart_num","computed","vuex_esm","$route","params","productCon","coupons","updateTitle","document","meta","setOpenShare","href","location","isLogin","indexOf","userInfo","uid","configAppMessage","desc","store_info","link","imgUrl","configTimeline","utils","wechat","shareCode","store","res","sTop","body","documentElement","scrollTop","_this","image_base","substring","code_base","DefaultSelect","getCartCount","getImageBase64","catch","error","msg","go","api_public","i","attr_values","sort","join","unique","ChangeCartNum","changeValue","undefined","num","opt","esm_typeof","changecoupon","currentcoupon","q","page","limit","changeattr","ChangeAttr","category","goCat","news","productId","cartNum","new","uniqueId","cartId","callback","isAnima","numType","count","setTimeout","shop_GoodsConvue_type_script_lang_js_","GoodsCon_component","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ShareInfo_vue_vue_type_style_index_0_id_f3067a28_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ShareInfo_vue_vue_type_style_index_0_id_f3067a28_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","avatar","nickname","star","add_time","suk","comment","itemn","merchant_reply_content","UserEvaluationvue_type_script_lang_js_","Array","components_UserEvaluationvue_type_script_lang_js_","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GoodsCon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GoodsCon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default"],"mappings":"mGAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,yDCAxCH,EAAAC,QAAiBC,EAAAC,EAAuB,uDCAxCH,EAAAC,QAAiBC,EAAAC,EAAuB,uGCAxC,IAAAC,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,MA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,EAAA,KAAA5H,6CClBf,IAAA2I,EAAA5O,EAAA,QAAA6O,EAAA7O,EAAAgO,EAAAY,GAA8dC,EAAG","file":"h5/js/chunk-2dcf3890.1aff3464.js","sourcesContent":["module.exports = __webpack_public_path__ + \"h5/img/share-info.fa0bedf8.png\";","module.exports = __webpack_public_path__ + \"h5/img/noCoupon.e524084b.png\";","module.exports = __webpack_public_path__ + \"h5/img/red-packets.5f46f82b.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.posterImageStatus ? 'noscroll product-con' : 'product-con']},[_c('product-con-swiper',{attrs:{\"img-urls\":_vm.storeInfo.slider_image}}),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"share acea-row row-between row-bottom\"},[_c('div',{staticClass:\"money font-color-red\"},[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.storeInfo.price))]),(_vm.storeInfo.vip_price && _vm.storeInfo.vip_price > 0)?_c('span',{staticClass:\"vip-money\"},[_vm._v(\"¥\"+_vm._s(_vm.storeInfo.vip_price))]):_vm._e(),(_vm.storeInfo.vip_price && _vm.storeInfo.vip_price > 0)?_c('img',{staticClass:\"image\",attrs:{\"src\":require(\"@assets/images/vip.png\")}}):_vm._e()]),_c('div',{staticClass:\"iconfont icon-fenxiang\",on:{\"click\":_vm.listenerActionSheet}})]),_c('div',{staticClass:\"introduce\"},[_vm._v(_vm._s(_vm.storeInfo.store_name))]),_c('div',{staticClass:\"label acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"原价:¥\"+_vm._s(_vm.storeInfo.ot_price))]),_c('div',[_vm._v(\"库存:\"+_vm._s(_vm.storeInfo.stock)+_vm._s(_vm.storeInfo.unit_name))]),_c('div',[_vm._v(\"销量:\"+_vm._s(_vm.storeInfo.fsales)+_vm._s(_vm.storeInfo.unit_name))])]),(_vm.couponList.length)?_c('div',{staticClass:\"coupon acea-row row-between-wrapper\",on:{\"click\":_vm.couponTap}},[_c('div',{staticClass:\"hide line1 acea-row\"},[_vm._v(\"\\n 优惠券:\\n \"),_vm._l((_vm.couponList),function(item,index){return _c('div',{key:index,staticClass:\"activity\"},[_vm._v(\"\\n 满\"+_vm._s(item.use_min_price)+\"减\"+_vm._s(item.coupon_price)+\"\\n \")])})],2),_c('div',{staticClass:\"iconfont icon-jiantou\"})]):_vm._e()]),_c('div',{staticClass:\"attribute acea-row row-between-wrapper\",on:{\"click\":_vm.selecAttrTap}},[_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.attrTxt)+\":\"),_c('span',{staticClass:\"atterTxt\"},[_vm._v(_vm._s(_vm.attrValue))])]),_c('div',{staticClass:\"iconfont icon-jiantou\"})]),(_vm.replyCount)?_c('div',{staticClass:\"userEvaluation\"},[_c('div',{staticClass:\"title acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"用户评价(\"+_vm._s(_vm.replyCount)+\")\")]),_c('router-link',{staticClass:\"praise\",attrs:{\"to\":{ path: '/evaluate_list/' + _vm.id }}},[_c('span',{staticClass:\"font-color-red\"},[_vm._v(_vm._s(_vm.replyChance)+\"%\")]),_vm._v(\"好评率\"),_c('span',{staticClass:\"iconfont icon-jiantou\"})])],1),_c('user-evaluation',{attrs:{\"reply\":_vm.reply}})],1):_vm._e(),_c('div',{staticClass:\"product-intro\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"产品介绍\")]),_c('div',{staticClass:\"conter\",domProps:{\"innerHTML\":_vm._s(_vm.storeInfo.description)}})]),_c('div',{staticStyle:{\"height\":\"1.2rem\"}}),_c('div',{staticClass:\"footer acea-row row-between-wrapper\"},[_c('div',{staticClass:\"item\",on:{\"click\":function($event){return _vm.$router.push({ path: '/customer/list' })}}},[_c('div',{staticClass:\"iconfont icon-kefu\"}),_c('div',[_vm._v(\"客服\")])]),_c('div',{staticClass:\"item\",on:{\"click\":_vm.setCollect}},[_c('div',{staticClass:\"iconfont\",class:_vm.storeInfo.userCollect ? 'icon-shoucang1' : 'icon-shoucang'}),_c('div',[_vm._v(\"收藏\")])]),_c('router-link',{staticClass:\"item animated\",class:_vm.animated === true ? 'bounceIn' : '',attrs:{\"to\":'/cart'}},[_c('div',{staticClass:\"iconfont icon-gouwuche1\"},[(_vm.CartCount > 0)?_c('span',{staticClass:\"num bg-color-red\"},[_vm._v(_vm._s(_vm.CartCount))]):_vm._e()]),_c('div',[_vm._v(\"购物车\")])]),_c('div',{staticClass:\"bnt acea-row\"},[_c('div',{staticClass:\"joinCart\",on:{\"click\":_vm.joinCart}},[_vm._v(\"加入购物车\")]),_c('div',{staticClass:\"buy\",on:{\"click\":_vm.tapBuy}},[_vm._v(\"立即购买\")])])],1),(_vm.priceName !== 0)?_c('Share-red-packets',{attrs:{\"priceName\":_vm.priceName},on:{\"changeFun\":_vm.changeFun}}):_vm._e(),_c('CouponPop',{attrs:{\"coupon\":_vm.coupon},on:{\"changeFun\":_vm.changeFun}}),_c('Product-window',{attrs:{\"attr\":_vm.attr},on:{\"changeFun\":_vm.changeFun}}),_c('StorePoster',{attrs:{\"posterImageStatus\":_vm.posterImageStatus,\"posterData\":_vm.posterData},on:{\"setPosterImageStatus\":_vm.setPosterImageStatus}}),_c('ShareInfo',{attrs:{\"shareInfoStatus\":_vm.shareInfoStatus},on:{\"setShareInfoStatus\":_vm.setShareInfoStatus}}),_c('div',{staticClass:\"generate-posters acea-row row-middle\",class:_vm.posters ? 'on' : ''},[(_vm.weixinStatus === true)?_c('div',{staticClass:\"item\",on:{\"click\":_vm.setShareInfoStatus}},[_c('div',{staticClass:\"iconfont icon-weixin3\"}),_c('div',{},[_vm._v(\"发送给朋友\")])]):_vm._e(),_c('div',{staticClass:\"item\",on:{\"click\":_vm.setPosterImageStatus}},[_c('div',{staticClass:\"iconfont icon-haibao\"}),_c('div',{},[_vm._v(\"生成海报\")])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.posters),expression:\"posters\"}],staticClass:\"mask\",on:{\"touchmove\":function($event){$event.preventDefault();},\"click\":_vm.listenerActionClose}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sharing-packets\",class:_vm.state === true ? 'on' : ''},[_c('div',{staticClass:\"iconfont icon-guanbi acea-row row-center-wrapper\",on:{\"click\":_vm.closeShare}}),_c('div',{staticClass:\"line\"}),_c('div',{staticClass:\"sharing-con\",on:{\"click\":_vm.goShare}},[_c('img',{staticClass:\"image\",attrs:{\"src\":require(\"@assets/images/red-packets.png\")}}),_c('div',{staticClass:\"text font-color-red\"},[_c('div',[_vm._v(\"会员分享返\")]),_c('div',{staticClass:\"money\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"¥\")]),_vm._v(_vm._s(_vm.priceName))]),_c('div',{staticClass:\"tip\"},[_vm._v(\"下单即返佣金\")]),_c('div',{staticClass:\"shareBut\"},[_vm._v(\"立即分享\")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"sharing-packets\" :class=\"state === true ? 'on' : ''\">\r\n <div\r\n class=\"iconfont icon-guanbi acea-row row-center-wrapper\"\r\n @click=\"closeShare\"\r\n ></div>\r\n <div class=\"line\"></div>\r\n <div class=\"sharing-con\" @click=\"goShare\">\r\n <img src=\"@assets/images/red-packets.png\" class=\"image\" />\r\n <div class=\"text font-color-red\">\r\n <div>会员分享返</div>\r\n <div class=\"money\"><span class=\"label\">¥</span>{{ priceName }}</div>\r\n <div class=\"tip\">下单即返佣金</div>\r\n <div class=\"shareBut\">立即分享</div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"ShareRedPackets\",\r\n props: {\r\n priceName: {\r\n type: [String, Number],\r\n default: \"\"\r\n }\r\n },\r\n data: function() {\r\n return {\r\n state: false\r\n };\r\n },\r\n mounted: function() {},\r\n methods: {\r\n goShare: function() {\r\n this.$emit(\"changeFun\", { action: \"shareCode\", value: false });\r\n },\r\n closeShare: function() {\r\n this.state = true;\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShareRedPackets.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShareRedPackets.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ShareRedPackets.vue?vue&type=template&id=00a64f12&\"\nimport script from \"./ShareRedPackets.vue?vue&type=script&lang=js&\"\nexport * from \"./ShareRedPackets.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"coupon-list-window\",class:_vm.coupon.coupon === true ? 'on' : ''},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n 优惠券\"),_c('span',{staticClass:\"iconfont icon-guanbi\",on:{\"click\":_vm.close}})]),(_vm.coupon.list.length > 0)?_c('div',{staticClass:\"coupon-list\"},_vm._l((_vm.coupon.list),function(item,index){return _c('div',{key:index,staticClass:\"item acea-row row-center-wrapper\",on:{\"click\":function($event){return _vm.getCouponUser(index, item.id)}}},[_c('div',{staticClass:\"money\"},[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(item.coupon_price))])]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"condition line1\"},[_vm._v(\"\\n 购物满\"+_vm._s(item.use_min_price)+\"元可用\\n \")]),_c('div',{staticClass:\"data acea-row row-between-wrapper\"},[(item.end_time === 0)?_c('div',[_vm._v(\"不限时\")]):_c('div',[_vm._v(_vm._s(item.start_time)+\"-\"+_vm._s(item.end_time))]),_c('div',{staticClass:\"bnt acea-row row-center-wrapper\",class:!item.is_use ? 'bg-color-red' : 'gray'},[_vm._v(\"\\n \"+_vm._s(!item.is_use ? \"立即领取\" : \"已领取\")+\"\\n \")])])])])}),0):_c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":require(\"@assets/images/noCoupon.png\")}})])]),_c('div',{staticClass:\"mask\",attrs:{\"hidden\":_vm.coupon.coupon === false},on:{\"touchmove\":function($event){$event.preventDefault();},\"click\":_vm.close}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div class=\"coupon-list-window\" :class=\"coupon.coupon === true ? 'on' : ''\">\r\n <div class=\"title\">\r\n 优惠券<span class=\"iconfont icon-guanbi\" @click=\"close\"></span>\r\n </div>\r\n <div class=\"coupon-list\" v-if=\"coupon.list.length > 0\">\r\n <div\r\n class=\"item acea-row row-center-wrapper\"\r\n v-for=\"(item, index) in coupon.list\"\r\n :key=\"index\"\r\n @click=\"getCouponUser(index, item.id)\"\r\n >\r\n <div class=\"money\">\r\n ¥<span class=\"num\">{{ item.coupon_price }}</span>\r\n </div>\r\n <div class=\"text\">\r\n <div class=\"condition line1\">\r\n 购物满{{ item.use_min_price }}元可用\r\n </div>\r\n <div class=\"data acea-row row-between-wrapper\">\r\n <div v-if=\"item.end_time === 0\">不限时</div>\r\n <div v-else>{{ item.start_time }}-{{ item.end_time }}</div>\r\n <div\r\n class=\"bnt acea-row row-center-wrapper\"\r\n :class=\"!item.is_use ? 'bg-color-red' : 'gray'\"\r\n >\r\n {{ !item.is_use ? \"立即领取\" : \"已领取\" }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!--无优惠券-->\r\n <div class=\"pictrue\" v-else>\r\n <img src=\"@assets/images/noCoupon.png\" class=\"image\" />\r\n </div>\r\n </div>\r\n <div\r\n class=\"mask\"\r\n @touchmove.prevent\r\n :hidden=\"coupon.coupon === false\"\r\n @click=\"close\"\r\n ></div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getCouponReceive } from \"@api/user\";\r\nexport default {\r\n name: \"CouponPop\",\r\n props: {\r\n coupon: {\r\n type: Object,\r\n default: () => {}\r\n }\r\n },\r\n data: function() {\r\n return {};\r\n },\r\n mounted: function() {},\r\n methods: {\r\n close: function() {\r\n this.$emit(\"changeFun\", { action: \"changecoupon\", value: false }); //$emit():注册事件;\r\n },\r\n getCouponUser: function(index, id) {\r\n let that = this,\r\n list = that.coupon.list;\r\n if (list[index].is_use === true) return;\r\n getCouponReceive(id).then(function() {\r\n that.$dialog.toast({ mes: \"已领取\" });\r\n that.$set(list[index], \"is_use\", true);\r\n that.$emit(\"changefun\", { action: \"currentcoupon\", value: index });\r\n that.$emit(\"changeFun\", { action: \"changecoupon\", value: false });\r\n });\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CouponPop.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CouponPop.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CouponPop.vue?vue&type=template&id=9e0270a0&\"\nimport script from \"./CouponPop.vue?vue&type=script&lang=js&\"\nexport * from \"./CouponPop.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.shareInfoStatus)?_c('div',{staticClass:\"poster-first\"},[_c('div',{staticClass:\"mask-share\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/share-info.png\")},on:{\"click\":_vm.shareInfoClose}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div v-if=\"shareInfoStatus\" class=\"poster-first\">\r\n <div class=\"mask-share\">\r\n <img src=\"@assets/images/share-info.png\" @click=\"shareInfoClose\" />\r\n </div>\r\n </div>\r\n</template>\r\n<style scoped>\r\n.poster-first {\r\n overscroll-behavior: contain;\r\n}\r\n.mask-share {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: 999;\r\n}\r\n.mask-share img {\r\n width: 100%;\r\n}\r\n</style>\r\n<script>\r\nexport default {\r\n name: \"ShareInfo\",\r\n props: {\r\n shareInfoStatus: Boolean\r\n },\r\n data: function() {\r\n return {};\r\n },\r\n mounted: function() {},\r\n methods: {\r\n shareInfoClose: function() {\r\n this.$emit(\"setShareInfoStatus\");\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShareInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShareInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ShareInfo.vue?vue&type=template&id=f3067a28&scoped=true&\"\nimport script from \"./ShareInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./ShareInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ShareInfo.vue?vue&type=style&index=0&id=f3067a28&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f3067a28\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div :class=\"[posterImageStatus ? 'noscroll product-con' : 'product-con']\">\r\n <product-con-swiper :img-urls=\"storeInfo.slider_image\"></product-con-swiper>\r\n <div class=\"wrapper\">\r\n <div class=\"share acea-row row-between row-bottom\">\r\n <div class=\"money font-color-red\">\r\n ¥<span class=\"num\">{{ storeInfo.price }}</span\r\n ><span\r\n class=\"vip-money\"\r\n v-if=\"storeInfo.vip_price && storeInfo.vip_price > 0\"\r\n >¥{{ storeInfo.vip_price }}</span\r\n ><img\r\n src=\"@assets/images/vip.png\"\r\n class=\"image\"\r\n v-if=\"storeInfo.vip_price && storeInfo.vip_price > 0\"\r\n />\r\n </div>\r\n <div class=\"iconfont icon-fenxiang\" @click=\"listenerActionSheet\"></div>\r\n </div>\r\n <div class=\"introduce\">{{ storeInfo.store_name }}</div>\r\n <div class=\"label acea-row row-between-wrapper\">\r\n <div>原价:¥{{ storeInfo.ot_price }}</div>\r\n <div>库存:{{ storeInfo.stock }}{{ storeInfo.unit_name }}</div>\r\n <div>销量:{{ storeInfo.fsales }}{{ storeInfo.unit_name }}</div>\r\n </div>\r\n <div\r\n class=\"coupon acea-row row-between-wrapper\"\r\n @click=\"couponTap\"\r\n v-if=\"couponList.length\"\r\n >\r\n <div class=\"hide line1 acea-row\">\r\n 优惠券:\r\n <div\r\n class=\"activity\"\r\n v-for=\"(item, index) in couponList\"\r\n :key=\"index\"\r\n >\r\n 满{{ item.use_min_price }}减{{ item.coupon_price }}\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-jiantou\"></div>\r\n </div>\r\n </div>\r\n <div class=\"attribute acea-row row-between-wrapper\" @click=\"selecAttrTap\">\r\n <div>\r\n {{ attrTxt }}:<span class=\"atterTxt\">{{ attrValue }}</span>\r\n </div>\r\n <div class=\"iconfont icon-jiantou\"></div>\r\n </div>\r\n <div class=\"userEvaluation\" v-if=\"replyCount\">\r\n <div class=\"title acea-row row-between-wrapper\">\r\n <div>用户评价({{ replyCount }})</div>\r\n <router-link :to=\"{ path: '/evaluate_list/' + id }\" class=\"praise\"\r\n ><span class=\"font-color-red\">{{ replyChance }}%</span>好评率<span\r\n class=\"iconfont icon-jiantou\"\r\n ></span\r\n ></router-link>\r\n </div>\r\n <user-evaluation :reply=\"reply\"></user-evaluation>\r\n </div>\r\n <div class=\"product-intro\">\r\n <div class=\"title\">产品介绍</div>\r\n <div class=\"conter\" v-html=\"storeInfo.description\"></div>\r\n </div>\r\n <div style=\"height:1.2rem;\"></div>\r\n <div class=\"footer acea-row row-between-wrapper\">\r\n <div class=\"item\" @click=\"$router.push({ path: '/customer/list' })\">\r\n <div class=\"iconfont icon-kefu\"></div>\r\n <div>客服</div>\r\n </div>\r\n <div class=\"item\" @click=\"setCollect\">\r\n <div\r\n class=\"iconfont\"\r\n :class=\"storeInfo.userCollect ? 'icon-shoucang1' : 'icon-shoucang'\"\r\n ></div>\r\n <div>收藏</div>\r\n </div>\r\n <router-link\r\n :to=\"'/cart'\"\r\n class=\"item animated\"\r\n :class=\"animated === true ? 'bounceIn' : ''\"\r\n >\r\n <div class=\"iconfont icon-gouwuche1\">\r\n <span class=\"num bg-color-red\" v-if=\"CartCount > 0\">{{\r\n CartCount\r\n }}</span>\r\n </div>\r\n <div>购物车</div>\r\n </router-link>\r\n <div class=\"bnt acea-row\">\r\n <div class=\"joinCart\" @click=\"joinCart\">加入购物车</div>\r\n <div class=\"buy\" @click=\"tapBuy\">立即购买</div>\r\n </div>\r\n </div>\r\n <Share-red-packets\r\n :priceName=\"priceName\"\r\n v-on:changeFun=\"changeFun\"\r\n v-if=\"priceName !== 0\"\r\n ></Share-red-packets>\r\n <CouponPop v-on:changeFun=\"changeFun\" :coupon=\"coupon\"></CouponPop>\r\n <Product-window v-on:changeFun=\"changeFun\" :attr=\"attr\"></Product-window>\r\n <StorePoster\r\n v-on:setPosterImageStatus=\"setPosterImageStatus\"\r\n :posterImageStatus=\"posterImageStatus\"\r\n :posterData=\"posterData\"\r\n ></StorePoster>\r\n <ShareInfo\r\n v-on:setShareInfoStatus=\"setShareInfoStatus\"\r\n :shareInfoStatus=\"shareInfoStatus\"\r\n ></ShareInfo>\r\n\r\n <div\r\n class=\"generate-posters acea-row row-middle\"\r\n :class=\"posters ? 'on' : ''\"\r\n >\r\n <div\r\n class=\"item\"\r\n v-if=\"weixinStatus === true\"\r\n @click=\"setShareInfoStatus\"\r\n >\r\n <div class=\"iconfont icon-weixin3\"></div>\r\n <div class=\"\">发送给朋友</div>\r\n </div>\r\n <div class=\"item\" @click=\"setPosterImageStatus\">\r\n <div class=\"iconfont icon-haibao\"></div>\r\n <div class=\"\">生成海报</div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mask\"\r\n @touchmove.prevent\r\n @click=\"listenerActionClose\"\r\n v-show=\"posters\"\r\n ></div>\r\n </div>\r\n</template>\r\n<style>\r\n.mask {\r\n -webkit-filter: blur(2px);\r\n -moz-filter: blur(2px);\r\n -ms-filter: blur(2px);\r\n filter: blur(2px);\r\n}\r\n.footer .icon-shoucang1 {\r\n color: #e93323;\r\n}\r\n.product-con .product-intro .conter div {\r\n width: 100% !important;\r\n}\r\n.generate-posters {\r\n width: 100%;\r\n height: 1.7rem;\r\n background-color: #fff;\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n z-index: 99;\r\n transform: translate3d(0, 100%, 0);\r\n -webkit-transform: translate3d(0, 100%, 0);\r\n -ms-transform: translate3d(0, 100%, 0);\r\n -moz-transform: translate3d(0, 100%, 0);\r\n -o-transform: translate3d(0, 100%, 0);\r\n transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n -o-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);\r\n}\r\n.generate-posters.on {\r\n transform: translate3d(0, 0, 0);\r\n -webkit-transform: translate3d(0, 0, 0);\r\n -ms-transform: translate3d(0, 0, 0);\r\n -moz-transform: translate3d(0, 0, 0);\r\n -o-transform: translate3d(0, 0, 0);\r\n}\r\n.generate-posters .item {\r\n flex: 50%;\r\n -webkit-flex: 50%;\r\n -ms-flex: 50%;\r\n text-align: center;\r\n}\r\n.generate-posters .item .iconfont {\r\n font-size: 0.8rem;\r\n color: #5eae72;\r\n}\r\n.generate-posters .item .iconfont.icon-haibao {\r\n color: #5391f1;\r\n}\r\n.noscroll {\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n</style>\r\n<script>\r\nimport ProductConSwiper from \"@components/ProductConSwiper\";\r\nimport UserEvaluation from \"@components/UserEvaluation\";\r\nimport ShareRedPackets from \"@components/ShareRedPackets\";\r\nimport CouponPop from \"@components/CouponPop\";\r\nimport ProductWindow from \"@components/ProductWindow\";\r\nimport StorePoster from \"@components/StorePoster\";\r\nimport ShareInfo from \"@components/ShareInfo\";\r\nimport {\r\n getProductDetail,\r\n postCartAdd,\r\n getCartCount,\r\n getProductCode\r\n} from \"@api/store\";\r\nimport { getCoupon, getCollectAdd, getCollectDel } from \"@api/user\";\r\nimport { openShareAppMessage, openShareTimeline, ready } from \"@libs/wechat\";\r\nimport { imageBase64 } from \"@api/public\";\r\nimport { isWeixin } from \"@utils/index\";\r\nimport { mapGetters } from \"vuex\";\r\nexport default {\r\n name: \"GoodsCon\",\r\n components: {\r\n ProductConSwiper,\r\n UserEvaluation,\r\n ShareRedPackets,\r\n CouponPop,\r\n ProductWindow,\r\n StorePoster,\r\n ShareInfo\r\n },\r\n data: function() {\r\n return {\r\n shareInfoStatus: false,\r\n weixinStatus: false,\r\n posterData: {\r\n image: \"\",\r\n title: \"\",\r\n price: \"\",\r\n code: \"\"\r\n },\r\n posterImageStatus: false,\r\n animated: false,\r\n coupon: {\r\n coupon: false,\r\n list: []\r\n },\r\n attr: {\r\n cartAttr: false,\r\n productAttr: [],\r\n productSelect: {}\r\n },\r\n isOpen: false, //是否打开属性组件\r\n productValue: [],\r\n id: 0,\r\n storeInfo: {},\r\n couponList: [],\r\n attrTxt: \"请选择\",\r\n attrValue: \"\",\r\n cart_num: 1, //购买数量\r\n replyCount: \"\",\r\n replyChance: \"\",\r\n reply: [],\r\n priceName: 0,\r\n CartCount: 0,\r\n posters: false\r\n };\r\n },\r\n computed: mapGetters([\"isLogin\",'userInfo']),\r\n mounted: function() {\r\n this.id = this.$route.params.id;\r\n this.productCon();\r\n this.coupons();\r\n },\r\n methods: {\r\n updateTitle() {\r\n document.title = this.storeInfo.store_name || this.$route.meta.title;\r\n },\r\n setOpenShare: function() {\r\n var data = this.storeInfo;\r\n var href = location.href;\r\n if(this.isLogin)\r\n href = href.indexOf('?') === -1 ? href+'?spread='+this.userInfo.uid : href+'&spread='+this.userInfo.uid;\r\n var configAppMessage = {\r\n desc: data.store_info,\r\n title: data.store_name,\r\n link: href,\r\n imgUrl: data.image\r\n };\r\n var configTimeline = {\r\n title: data.store_name,\r\n link: href,\r\n imgUrl: data.image\r\n };\r\n if (isWeixin() === true) {\r\n ready().then(() => {\r\n openShareAppMessage(configAppMessage).then(() => {});\r\n openShareTimeline(configTimeline).then(() => {});\r\n });\r\n }\r\n },\r\n setShareInfoStatus: function() {\r\n this.shareInfoStatus = !this.shareInfoStatus;\r\n this.posters = false;\r\n },\r\n shareCode: function() {\r\n var that = this;\r\n getProductCode(that.id).then(res => {\r\n that.posterData.code = res.data.code;\r\n //that.listenerActionSheet();\r\n });\r\n },\r\n setPosterImageStatus: function() {\r\n var sTop = document.body || document.documentElement;\r\n sTop.scrollTop = 0;\r\n this.posterImageStatus = !this.posterImageStatus;\r\n this.posters = false;\r\n },\r\n //产品详情接口;\r\n productCon: function() {\r\n let that = this;\r\n getProductDetail(that.id)\r\n .then(res => {\r\n that.$set(that, \"storeInfo\", res.data.storeInfo);\r\n that.$set(that.attr, \"productAttr\", res.data.productAttr);\r\n that.$set(that, \"productValue\", res.data.productValue);\r\n that.$set(that, \"replyCount\", res.data.replyCount);\r\n that.$set(that, \"replyChance\", res.data.replyChance);\r\n that.reply = res.data.reply ? [res.data.reply] : [];\r\n that.$set(that, \"reply\", that.reply);\r\n that.$set(that, \"priceName\", res.data.priceName);\r\n that.posterData.image = that.storeInfo.image_base;\r\n if (that.storeInfo.store_name.length > 30) {\r\n that.posterData.title =\r\n that.storeInfo.store_name.substring(0, 30) + \"...\";\r\n } else {\r\n that.posterData.title = that.storeInfo.store_name;\r\n }\r\n that.posterData.price = that.storeInfo.price;\r\n that.posterData.code = that.storeInfo.code_base;\r\n if (that.isLogin) this.shareCode();\r\n that.updateTitle();\r\n that.DefaultSelect();\r\n that.getCartCount();\r\n that.getImageBase64();\r\n that.setOpenShare();\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n that.$router.go(-1);\r\n });\r\n },\r\n getImageBase64: function() {\r\n let that = this;\r\n imageBase64(this.posterData.image, that.posterData.code)\r\n .then(res => {\r\n that.posterData.image = res.data.image;\r\n that.posterData.code = res.data.code;\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n //默认选中属性;\r\n DefaultSelect: function() {\r\n let productAttr = this.attr.productAttr;\r\n let value = [];\r\n for (let i = 0; i < productAttr.length; i++) {\r\n this.$set(productAttr[i], \"index\", 0);\r\n value.push(productAttr[i].attr_values[0]);\r\n }\r\n //sort();排序函数:数字-英文-汉字;\r\n let productSelect = this.productValue[value.sort().join(\",\")];\r\n if (productSelect && productAttr.length) {\r\n this.$set(\r\n this.attr.productSelect,\r\n \"store_name\",\r\n this.storeInfo.store_name\r\n );\r\n this.$set(this.attr.productSelect, \"image\", productSelect.image);\r\n this.$set(this.attr.productSelect, \"price\", productSelect.price);\r\n this.$set(this.attr.productSelect, \"stock\", productSelect.stock);\r\n this.$set(this.attr.productSelect, \"unique\", productSelect.unique);\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(this, \"attrValue\", value.sort().join(\",\"));\r\n this.$set(this, \"attrTxt\", \"已选择\");\r\n } else if (!productSelect && productAttr.length) {\r\n this.$set(\r\n this.attr.productSelect,\r\n \"store_name\",\r\n this.storeInfo.store_name\r\n );\r\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\r\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\r\n this.$set(this.attr.productSelect, \"stock\", 0);\r\n this.$set(this.attr.productSelect, \"unique\", \"\");\r\n this.$set(this.attr.productSelect, \"cart_num\", 0);\r\n this.$set(this, \"attrValue\", \"\");\r\n this.$set(this, \"attrTxt\", \"请选择\");\r\n } else if (!productSelect && !productAttr.length) {\r\n this.$set(\r\n this.attr.productSelect,\r\n \"store_name\",\r\n this.storeInfo.store_name\r\n );\r\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\r\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\r\n this.$set(this.attr.productSelect, \"stock\", this.storeInfo.stock);\r\n this.$set(\r\n this.attr.productSelect,\r\n \"unique\",\r\n this.storeInfo.unique || \"\"\r\n );\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(this, \"attrValue\", \"\");\r\n this.$set(this, \"attrTxt\", \"请选择\");\r\n }\r\n },\r\n //购物车;\r\n ChangeCartNum: function(changeValue) {\r\n //changeValue:是否 加|减\r\n //获取当前变动属性\r\n let productSelect = this.productValue[this.attrValue];\r\n //如果没有属性,赋值给商品默认库存\r\n if (productSelect === undefined && !this.attr.productAttr.length)\r\n productSelect = this.attr.productSelect;\r\n //无属性值即库存为0;不存在加减;\r\n if (productSelect === undefined) return;\r\n let stock = productSelect.stock || 0;\r\n let num = this.attr.productSelect;\r\n if (changeValue) {\r\n num.cart_num++;\r\n if (num.cart_num > stock) {\r\n this.$set(this.attr.productSelect, \"cart_num\", stock);\r\n this.$set(this, \"cart_num\", stock);\r\n }\r\n } else {\r\n num.cart_num--;\r\n if (num.cart_num < 1) {\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(this, \"cart_num\", 1);\r\n }\r\n }\r\n },\r\n //将父级向子集多次传送的函数合二为一;\r\n changeFun: function(opt) {\r\n if (typeof opt !== \"object\") opt = {};\r\n let action = opt.action || \"\";\r\n let value = opt.value === undefined ? \"\" : opt.value;\r\n this[action] && this[action](value);\r\n },\r\n //打开优惠券插件;\r\n couponTap: function() {\r\n let that = this;\r\n that.coupons();\r\n that.coupon.coupon = true;\r\n },\r\n changecoupon: function(msg) {\r\n this.coupon.coupon = msg;\r\n this.coupons();\r\n },\r\n currentcoupon: function(res) {\r\n let that = this;\r\n that.coupon.coupon = false;\r\n that.$set(that.coupon.list[res], \"is_use\", true);\r\n },\r\n //可领取优惠券接口;\r\n coupons: function() {\r\n let that = this,\r\n q = { page: 1, limit: 20 };\r\n getCoupon(q).then(res => {\r\n that.$set(that, \"couponList\", res.data || []);\r\n that.$set(that.coupon, \"list\", res.data);\r\n });\r\n },\r\n //打开属性插件;\r\n selecAttrTap: function() {\r\n this.attr.cartAttr = true;\r\n this.isOpen = true;\r\n },\r\n changeattr: function(msg) {\r\n this.attr.cartAttr = msg;\r\n this.isOpen = false;\r\n },\r\n //选择属性;\r\n ChangeAttr: function(res) {\r\n let productSelect = this.productValue[res];\r\n if (productSelect) {\r\n this.$set(this.attr.productSelect, \"image\", productSelect.image);\r\n this.$set(this.attr.productSelect, \"price\", productSelect.price);\r\n this.$set(this.attr.productSelect, \"stock\", productSelect.stock);\r\n this.$set(this.attr.productSelect, \"unique\", productSelect.unique);\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(this, \"attrValue\", res);\r\n this.$set(this, \"attrTxt\", \"已选择\");\r\n } else {\r\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\r\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\r\n this.$set(this.attr.productSelect, \"stock\", 0);\r\n this.$set(this.attr.productSelect, \"unique\", \"\");\r\n this.$set(this.attr.productSelect, \"cart_num\", 0);\r\n this.$set(this, \"attrValue\", \"\");\r\n this.$set(this, \"attrTxt\", \"请选择\");\r\n }\r\n },\r\n //收藏商品\r\n setCollect: function() {\r\n let that = this,\r\n id = that.storeInfo.id,\r\n category = \"product\";\r\n if (that.storeInfo.userCollect) {\r\n getCollectDel(id, category).then(function() {\r\n that.storeInfo.userCollect = !that.storeInfo.userCollect;\r\n });\r\n } else {\r\n getCollectAdd(id, category).then(function() {\r\n that.storeInfo.userCollect = !that.storeInfo.userCollect;\r\n });\r\n }\r\n },\r\n // 点击加入购物车按钮\r\n joinCart: function() {\r\n //0=加入购物车\r\n this.goCat(0);\r\n },\r\n // 加入购物车;\r\n goCat: function(news) {\r\n let that = this,\r\n productSelect = that.productValue[this.attrValue];\r\n //打开属性\r\n if (that.attrValue) {\r\n //默认选中了属性,但是没有打开过属性弹窗还是自动打开让用户查看默认选中的属性\r\n that.attr.cartAttr = !that.isOpen ? true : false;\r\n } else {\r\n if (that.isOpen) that.attr.cartAttr = true;\r\n else that.attr.cartAttr = !that.attr.cartAttr;\r\n }\r\n //只有关闭属性弹窗时进行加入购物车\r\n if (that.attr.cartAttr === true && that.isOpen === false)\r\n return (that.isOpen = true);\r\n //如果有属性,没有选择,提示用户选择\r\n if (\r\n that.attr.productAttr.length &&\r\n productSelect === undefined &&\r\n that.isOpen === true\r\n )\r\n return that.$dialog.toast({ mes: \"产品库存不足,请选择其它\" });\r\n let q = {\r\n productId: that.id,\r\n cartNum: that.attr.productSelect.cart_num,\r\n new: news,\r\n uniqueId:\r\n that.attr.productSelect !== undefined\r\n ? that.attr.productSelect.unique\r\n : \"\"\r\n };\r\n postCartAdd(q)\r\n .then(function(res) {\r\n that.isOpen = false;\r\n that.attr.cartAttr = false;\r\n if (news) {\r\n that.$router.push({ path: \"/order/submit/\" + res.data.cartId });\r\n } else {\r\n that.$dialog.toast({\r\n mes: \"添加购物车成功\",\r\n callback: () => {\r\n that.getCartCount(true);\r\n }\r\n });\r\n }\r\n })\r\n .catch(res => {\r\n that.isOpen = false;\r\n return that.$dialog.toast({ mes: res.msg });\r\n });\r\n },\r\n //获取购物车数量\r\n getCartCount: function(isAnima) {\r\n let that = this;\r\n const isLogin = that.isLogin;\r\n if (isLogin) {\r\n getCartCount({ numType: 0 }).then(res => {\r\n that.CartCount = res.data.count;\r\n //加入购物车后重置属性\r\n if (isAnima) {\r\n that.animated = true;\r\n setTimeout(function() {\r\n that.animated = false;\r\n }, 500);\r\n }\r\n });\r\n }\r\n },\r\n //立即购买;\r\n tapBuy: function() {\r\n // 1=直接购买\r\n this.goCat(1);\r\n },\r\n listenerActionSheet: function() {\r\n if (isWeixin() === true) {\r\n this.weixinStatus = true;\r\n }\r\n this.posters = true;\r\n },\r\n listenerActionClose: function() {\r\n this.posters = false;\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsCon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsCon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsCon.vue?vue&type=template&id=4a313393&\"\nimport script from \"./GoodsCon.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsCon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GoodsCon.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShareInfo.vue?vue&type=style&index=0&id=f3067a28&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShareInfo.vue?vue&type=style&index=0&id=f3067a28&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"evaluateWtapper\"},_vm._l((_vm.reply),function(item,index){return _c('div',{key:index,staticClass:\"evaluateItem\"},[_c('div',{staticClass:\"pic-text acea-row row-middle\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":item.avatar}})]),_c('div',{staticClass:\"acea-row row-middle\"},[_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(item.nickname))]),_c('div',{staticClass:\"start\",class:'star' + item.star})])]),_c('div',{staticClass:\"time\"},[_vm._v(_vm._s(item.add_time)+\" \"+_vm._s(item.suk))]),_c('div',{staticClass:\"evaluate-infor\"},[_vm._v(_vm._s(item.comment))]),_c('div',{staticClass:\"imgList acea-row\"},_vm._l((item.pics),function(itemn,index){return _c('div',{key:index,staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":itemn}})])}),0),(item.merchant_reply_content)?_c('div',{staticClass:\"reply\"},[_c('span',{staticClass:\"font-color-red\"},[_vm._v(\"店小二\")]),_vm._v(\":\"+_vm._s(item.merchant_reply_content)+\"\\n \")]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"evaluateWtapper\">\r\n <div class=\"evaluateItem\" v-for=\"(item, index) in reply\" :key=\"index\">\r\n <div class=\"pic-text acea-row row-middle\">\r\n <div class=\"pictrue\">\r\n <img :src=\"item.avatar\" class=\"image\" />\r\n </div>\r\n <div class=\"acea-row row-middle\">\r\n <div class=\"name line1\">{{ item.nickname }}</div>\r\n <div class=\"start\" :class=\"'star' + item.star\"></div>\r\n </div>\r\n </div>\r\n <div class=\"time\">{{ item.add_time }} {{ item.suk }}</div>\r\n <div class=\"evaluate-infor\">{{ item.comment }}</div>\r\n <div class=\"imgList acea-row\">\r\n <div class=\"pictrue\" v-for=\"(itemn, index) in item.pics\" :key=\"index\">\r\n <img :src=\"itemn\" class=\"image\" />\r\n </div>\r\n </div>\r\n <div class=\"reply\" v-if=\"item.merchant_reply_content\">\r\n <span class=\"font-color-red\">店小二</span>:{{\r\n item.merchant_reply_content\r\n }}\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"UserEvaluation\",\r\n props: {\r\n reply: {\r\n type: Array,\r\n default: () => []\r\n }\r\n },\r\n data: function() {\r\n return {};\r\n },\r\n mounted: function() {},\r\n methods: {}\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserEvaluation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserEvaluation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserEvaluation.vue?vue&type=template&id=49332381&\"\nimport script from \"./UserEvaluation.vue?vue&type=script&lang=js&\"\nexport * from \"./UserEvaluation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsCon.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsCon.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}