chunk-2650e5ab.c2ec6d4f.js.map 79 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/shop/GoodsCon.vue?3ed5","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?333d","webpack:///./src/components/ShareRedPackets.vue?0726","webpack:///src/components/ShareRedPackets.vue","webpack:///./src/components/ShareRedPackets.vue?dd88","webpack:///./src/components/ShareRedPackets.vue","webpack:///./src/components/CouponPop.vue?53e4","webpack:///src/components/CouponPop.vue","webpack:///./src/components/CouponPop.vue?dfe7","webpack:///./src/components/CouponPop.vue","webpack:///./src/views/shop/GoodsCon.vue?0ce4","webpack:///./src/views/shop/GoodsCon.vue?c5ae","webpack:///./src/views/shop/GoodsCon.vue","webpack:///./src/assets/images/ling.png","webpack:///./src/components/ShareInfo.vue?5fc7","webpack:///./src/components/CouponPop.vue?bd51","webpack:///./src/components/ShareInfo.vue?b5ae","webpack:///src/components/ShareInfo.vue","webpack:///./src/components/ShareInfo.vue?512a","webpack:///./src/components/ShareInfo.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","ref","class","posterImageStatus","nativeOn","$event","onScroll","staticClass","style","opacity","_l","item","index","key","navActive","on","asideTap","_v","_s","attrs","storeInfo","slider_image","video_link","price","vip_price","_e","listenerActionSheet","store_name","ot_price","stock","unit_name","fsales","couponList","couponTap","use_min_price","coupon_price","activity","goDetail","type","activity_pin","activity_miao","activity_kan","attr","productAttr","selecAttrTap","attrTxt","attrValue","replyCount","path","id","replyChance","reply","goodList","length","_m","swiperRecommend","val","image","goGoods","slot","domProps","description","staticStyle","$router","push","setCollect","userCollect","animated","CartCount","joinCart","tapBuy","priceName","changeFun","coupon","posterData","setPosterImageStatus","shareInfoStatus","setShareInfoStatus","posters","weixinStatus","directives","name","rawName","value","expression","preventDefault","listenerActionClose","system_store","latitude","longitude","mapKey","staticRenderFns","state","closeShare","goShare","props","String","Number","default","data","mounted","methods","$emit","component","close","list","getCouponUser","is_use","title","start_time","end_time","Object","NAME","LONGITUDE","LATITUDE","components","swiper","swiperSlide","ProductConSwiper","UserEvaluation","ShareRedPackets","CouponPop","ProductWindow","StorePoster","ShareInfo","mapShow","code","cartAttr","productSelect","isOpen","productValue","cart_num","banner","pagination","el","clickable","autoplay","loop","speed","observer","observeParents","storeSelfMention","storeItems","navList","lock","computed","watch","$route","n","params","productCon","updated","document","addEventListener","coupons","window","handleScroll","getList","time","_this","cookie","get","page","limit","store","then","res","catch","err","console","log","top","body","scrollTop","documentElement","a","_this2","$nextTick","element","querySelector","offsetTop","$refs","header","offsetHeight","scrollY","scrollBy","left","behavior","_this3","headerHeight","_window","titles","reduce","initial","showChang","config","parseFloat","address","detailed_address","wechat","is_ready","wx","openLocation","$dialog","error","updateTitle","meta","showStoreList","$store","commit","setOpenShare","href","location","isLogin","indexOf","uid","configAppMessage","desc","store_info","link","imgUrl","updateAppMessageShareData","updateTimelineShareData","shareCode","that","sTop","$set","image_base","substring","store_self_mention","code_base","good_list","goodArray","count","Math","ceil","i","slice","splice","DefaultSelect","getCartCount","getImageBase64","msg","go","split","sort","join","unique","ChangeCartNum","changeValue","undefined","num","opt","action","changecoupon","currentcoupon","q","product_id","changeattr","ChangeAttr","category","_this4","scroll","goCat","news","parseInt","toast","mes","productId","cartNum","new","uniqueId","cartId","callback","isAnima","numType","setTimeout","beforeDestroy","removeEventListener","shareInfoClose","Boolean"],"mappings":"kHAAA,yBAAunB,EAAG,G,qBCA1nBA,EAAOC,QAAU,IAA0B,kC,yECA3CD,EAAOC,QAAU,IAA0B,gC,gDCA3CD,EAAOC,QAAU,IAA0B,mC,2CCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,MAAMC,MAAM,CAACP,EAAIQ,kBAAoB,uBAAyB,eAAeC,SAAS,C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ACJ,MAAO,IAETC,QAAS,aACTC,QAAS,CACPkL,eAAgB,WACd3R,KAAK0G,MAAM,yBCnCsa,I,wBCQnbC,EAAY,eACd,EACA7G,EACAiG,GACA,EACA,KACA,WACA,MAIa,OAAAY,E","file":"h5/js/chunk-2650e5ab.c2ec6d4f.js","sourcesContent":["import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./GoodsCon.vue?vue&type=style&index=0&id=01b0fd80&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./GoodsCon.vue?vue&type=style&index=0&id=01b0fd80&scoped=true&lang=css&\"","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',{ref:\"box\",class:[_vm.posterImageStatus ? 'noscroll product-con' : 'product-con'],nativeOn:{\"scroll\":function($event){return _vm.onScroll($event)}}},[_c('div',{ref:\"header\",staticClass:\"header acea-row row-center-wrapper\",style:('opacity:' + _vm.opacity)},_vm._l((_vm.navList),function(item,index){return _c('div',{key:index,staticClass:\"item\",class:_vm.navActive === index ? 'on' : '',on:{\"click\":function($event){return _vm.asideTap(index)}}},[_vm._v(\"\\n \"+_vm._s(item)+\"\\n \")])}),0),_c('div',{attrs:{\"id\":\"title0\"}},[_c('product-con-swiper',{attrs:{\"img-urls\":_vm.storeInfo.slider_image,\"videoline\":_vm.storeInfo.video_link}}),_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(),(_vm.activity.length)?_c('div',{staticClass:\"coupon acea-row row-between-wrapper\"},[_c('div',{staticClass:\"line1 acea-row\"},[_vm._v(\"\\n 活   动:\\n \"),_vm._l((_vm.activity),function(item,index){return _c('div',{key:index,on:{\"click\":function($event){return _vm.goDetail(item)}}},[(item.type === '1')?_c('div',{staticClass:\"acea-row row-center-wrapper\",class:{\n activity_pin: index === 0,\n activity_miao: index === 1,\n activity_kan: index === 2\n }},[_c('span',{staticClass:\"iconfonts iconfont icon-shenhezhong\"}),_c('span',{staticClass:\"activity_title\"},[_vm._v(\" 参与秒杀\")])]):_vm._e(),(item.type === '2')?_c('div',{staticClass:\"acea-row row-center-wrapper\",class:{\n activity_pin: index === 0,\n activity_miao: index === 1,\n activity_kan: index === 2\n }},[_c('span',{staticClass:\"iconfonts iconfont icon-kanjia\"}),_c('span',{staticClass:\"activity_title\"},[_vm._v(\" 参与砍价\")])]):_vm._e(),(item.type === '3')?_c('div',{staticClass:\"acea-row row-center-wrapper\",class:{\n activity_pin: index === 0,\n activity_miao: index === 1,\n activity_kan: index === 2\n }},[_c('span',{staticClass:\"iconfonts iconfont icon-pintuan\"}),_c('span',{staticClass:\"activity_title\"},[_vm._v(\" 参与拼团\")])]):_vm._e()])})],2)]):_vm._e()]),(_vm.attr.productAttr.length)?_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._e()],1),_c('div',{staticClass:\"userEvaluation\",attrs:{\"id\":\"title1\"}},[_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.goodList.length > 0)?_c('div',{staticClass:\"superior\",attrs:{\"id\":\"title2\"}},[_vm._m(0),[_c('div',{staticClass:\"slider-banner banner\"},[_c('swiper',{attrs:{\"options\":_vm.swiperRecommend}},[_vm._l((_vm.goodList),function(item,index){return _c('swiper-slide',{key:index},[_c('div',{staticClass:\"list acea-row row-middle\"},_vm._l((item.list),function(val){return _c('div',{key:val.image,staticClass:\"item\",on:{\"click\":function($event){return _vm.goGoods(val)}}},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":val.image}}),(val.activity && val.activity.type === '1')?_c('span',{staticClass:\"pictrue_log pictrue_log_class\"},[_vm._v(\"秒杀\")]):_vm._e(),(val.activity && val.activity.type === '2')?_c('span',{staticClass:\"pictrue_log pictrue_log_class\"},[_vm._v(\"砍价\")]):_vm._e(),(val.activity && val.activity.type === '3')?_c('span',{staticClass:\"pictrue_log pictrue_log_class\"},[_vm._v(\"拼团\")]):_vm._e()]),_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(val.store_name))]),_c('div',{staticClass:\"money font-color-red\"},[_vm._v(\"¥\"+_vm._s(val.price))])])}),0)])}),_c('div',{staticClass:\"swiper-pagination\",attrs:{\"slot\":\"pagination\"},slot:\"pagination\"})],2)],1)]],2):_vm._e(),_c('div',{staticClass:\"product-intro\",attrs:{\"id\":\"title3\"}},[_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/' + _vm.id })}}},[_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}}),(_vm.mapShow)?_c('div',{staticClass:\"geoPage\"},[_c('iframe',{attrs:{\"width\":\"100%\",\"height\":\"100%\",\"frameborder\":\"0\",\"scrolling\":\"no\",\"src\":'https://apis.map.qq.com/uri/v1/geocoder?coord=' +\n _vm.system_store.latitude +\n ',' +\n _vm.system_store.longitude +\n '&referer=' +\n _vm.mapKey}})]):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title acea-row row-center-wrapper\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/ling.png\")}}),_c('div',{staticClass:\"titleTxt\"},[_vm._v(\"优品推荐\")]),_c('img',{attrs:{\"src\":require(\"@assets/images/ling.png\")}})])}]\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@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./ShareRedPackets.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@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@15.9.0@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\",class:!item.is_use ? '' : 'moneyGray'},[_c('div',[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(item.coupon_price))])]),_c('div',{staticClass:\"pic-num\"},[_vm._v(\"满\"+_vm._s(item.use_min_price)+\"元可用\")])]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"condition line1\"},[(item.type === 0)?_c('span',{staticClass:\"line-title\",class:!item.is_use ? 'bg-color-check' : 'bg-color-huic'},[_vm._v(\"通用劵\")]):(item.type === 1)?_c('span',{staticClass:\"line-title\",class:!item.is_use ? 'bg-color-check' : 'bg-color-huic'},[_vm._v(\"品类券\")]):_c('span',{staticClass:\"line-title\",class:!item.is_use ? 'bg-color-check' : 'bg-color-huic'},[_vm._v(\"商品券\")]),_c('span',[_vm._v(_vm._s(item.title))])]),_c('div',{staticClass:\"data acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"\\n \"+_vm._s(item.start_time ? item.start_time + \"-\" : \"\")+_vm._s(item.end_time)+\"\\n \")]),_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\" :class=\"!item.is_use ? '' : 'moneyGray'\">\r\n <div>\r\n ¥<span class=\"num\">{{ item.coupon_price }}</span>\r\n </div>\r\n <div class=\"pic-num\">满{{ item.use_min_price }}元可用</div>\r\n </div>\r\n <div class=\"text\">\r\n <div class=\"condition line1\">\r\n <span\r\n class=\"line-title\"\r\n :class=\"!item.is_use ? 'bg-color-check' : 'bg-color-huic'\"\r\n v-if=\"item.type === 0\"\r\n >通用劵</span\r\n >\r\n <span\r\n class=\"line-title\"\r\n :class=\"!item.is_use ? 'bg-color-check' : 'bg-color-huic'\"\r\n v-else-if=\"item.type === 1\"\r\n >品类券</span\r\n >\r\n <span\r\n class=\"line-title\"\r\n :class=\"!item.is_use ? 'bg-color-check' : 'bg-color-huic'\"\r\n v-else\r\n >商品券</span\r\n >\r\n <span>{{ item.title }}</span>\r\n </div>\r\n <div class=\"data acea-row row-between-wrapper\">\r\n <div>\r\n {{ item.start_time ? item.start_time + \"-\" : \"\"\r\n }}{{ item.end_time }}\r\n </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)\r\n .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 .catch(function(res) {\r\n that.$dialog.toast({ mes: res.msg });\r\n });\r\n }\r\n }\r\n};\r\n</script>\r\n<style scoped>\r\n.condition .line-title {\r\n width: 0.9rem;\r\n padding: 0 0.1rem;\r\n box-sizing: border-box;\r\n background: rgba(255, 247, 247, 1);\r\n border: 1px solid rgba(232, 51, 35, 1);\r\n opacity: 1;\r\n border-radius: 0.22rem;\r\n font-size: 0.2rem;\r\n color: #e83323;\r\n margin-right: 0.12rem;\r\n}\r\n.coupon-list .pic-num {\r\n color: #ffffff;\r\n font-size: 0.24rem;\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CouponPop.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@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=7aae4007&scoped=true&\"\nimport script from \"./CouponPop.vue?vue&type=script&lang=js&\"\nexport * from \"./CouponPop.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CouponPop.vue?vue&type=style&index=0&id=7aae4007&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7aae4007\",\n null\n \n)\n\nexport default component.exports","import _typeof from \"C:\\\\phpstudy_pro\\\\WWW\\\\H5\\\\CRMEB-H5-develop-N\\\\node_modules\\\\@babel\\\\runtime/helpers/esm/typeof\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { swiper, swiperSlide } from \"vue-awesome-swiper\";\nimport \"@assets/css/swiper.min.css\";\nimport ProductConSwiper from \"@components/ProductConSwiper\";\nimport UserEvaluation from \"@components/UserEvaluation\";\nimport ShareRedPackets from \"@components/ShareRedPackets\";\nimport CouponPop from \"@components/CouponPop\";\nimport ProductWindow from \"@components/ProductWindow\";\nimport StorePoster from \"@components/StorePoster\";\nimport ShareInfo from \"@components/ShareInfo\";\nimport { goShopDetail } from \"@libs/order\";\nimport debounce from \"lodash.debounce\";\nimport { getProductDetail, postCartAdd, getCartCount as _getCartCount, getProductCode, storeListApi } from \"@api/store\";\nimport { getCoupon, getCollectAdd, getCollectDel, getUserInfo } from \"@api/user\";\nimport { isWeixin } from \"@utils/index\";\nimport { wechatEvevt } from \"@libs/wechat\";\nimport { imageBase64 } from \"@api/public\";\nimport { mapGetters } from \"vuex\";\nimport cookie from \"@utils/store/cookie\";\nvar NAME = \"GoodsCon\";\nvar LONGITUDE = \"user_longitude\";\nvar LATITUDE = \"user_latitude\";\nexport default {\n name: NAME,\n components: {\n swiper: swiper,\n swiperSlide: swiperSlide,\n ProductConSwiper: ProductConSwiper,\n UserEvaluation: UserEvaluation,\n ShareRedPackets: ShareRedPackets,\n CouponPop: CouponPop,\n ProductWindow: ProductWindow,\n StorePoster: StorePoster,\n ShareInfo: ShareInfo\n },\n data: function data() {\n return {\n shareInfoStatus: false,\n weixinStatus: false,\n mapShow: false,\n mapKey: \"\",\n posterData: {\n image: \"\",\n title: \"\",\n price: \"\",\n code: \"\"\n },\n posterImageStatus: false,\n animated: false,\n coupon: {\n coupon: false,\n list: []\n },\n attr: {\n cartAttr: false,\n productAttr: [],\n productSelect: {}\n },\n isOpen: false,\n //是否打开属性组件\n productValue: [],\n id: 0,\n storeInfo: {},\n couponList: [],\n attrTxt: \"请选择\",\n attrValue: \"\",\n cart_num: 1,\n //购买数量\n replyCount: \"\",\n replyChance: \"\",\n reply: [],\n priceName: 0,\n CartCount: 0,\n posters: false,\n banner: [{}, {}],\n swiperRecommend: {\n pagination: {\n el: \".swiper-pagination\",\n clickable: true\n },\n autoplay: false,\n loop: false,\n speed: 1000,\n observer: true,\n observeParents: true\n },\n goodList: [],\n system_store: {},\n storeSelfMention: true,\n storeItems: {},\n activity: [],\n navList: [],\n lock: false,\n navActive: 0,\n opacity: 0\n };\n },\n computed: mapGetters([\"isLogin\"]),\n watch: {\n $route: function $route(n) {\n if (n.name === NAME) {\n this.id = n.params.id;\n this.storeInfo.slider_image = [];\n this.productCon();\n }\n }\n },\n updated: function updated() {// window.scroll(0, 0);\n },\n mounted: function mounted() {\n document.addEventListener(\"scroll\", this.onScroll, false);\n this.id = this.$route.params.id;\n this.storeInfo.slider_image = [];\n this.productCon();\n this.coupons();\n window.addEventListener(\"scroll\", this.handleScroll);\n this.getList();\n },\n methods: {\n // 商品详情跳转\n goDetail: function goDetail(item) {\n if (item.type === \"1\") {\n this.$router.push({\n path: \"/activity/seckill_detail/\" + item.id + \"/\" + item.time + \"/1\"\n });\n } else if (item.type === \"2\") {\n this.$router.push({\n path: \"/activity/dargain_detail/\" + item.id\n });\n } else {\n this.$router.push({\n path: \"/activity/group_detail/\" + item.id\n });\n }\n },\n // 获取门店列表数据\n getList: function getList() {\n var _this = this;\n\n var data = {\n latitude: cookie.get(LATITUDE) || \"\",\n //纬度\n longitude: cookie.get(LONGITUDE) || \"\",\n //经度\n page: 1,\n limit: 10\n };\n storeListApi(data).then(function (res) {\n _this.storeItems = res.data.list[0];\n }).catch(function (err) {\n console.log(err);\n });\n },\n handleScroll: function handleScroll() {\n var top = document.body.scrollTop || document.documentElement.scrollTop;\n var opacity = top / 350;\n opacity = opacity > 1 ? 1 : opacity;\n this.opacity = opacity;\n },\n asideTap: function asideTap(a) {\n var _this2 = this;\n\n this.$nextTick(function () {\n var index = a;\n _this2.navActive = index;\n\n if (!_this2.goodList.length && index === 2) {\n index = 3;\n }\n\n var element = document.querySelector(\"#title\" + index);\n var top = element.offsetTop - _this2.$refs.header.offsetHeight - window.scrollY;\n _this2.lock = true;\n window.scrollBy({\n top: top,\n left: 0,\n behavior: \"smooth\"\n });\n });\n },\n onScroll: debounce(function () {\n var _this3 = this;\n\n if (this.lock) {\n this.lock = false;\n return;\n }\n\n var headerHeight = this.$refs.header.offsetHeight,\n _window = window,\n scrollY = _window.scrollY,\n titles = [];\n titles.push(document.querySelector(\"#title0\"));\n titles.push(document.querySelector(\"#title1\"));\n\n if (this.goodList.length) {\n titles.push(document.querySelector(\"#title2\"));\n }\n\n titles.push(document.querySelector(\"#title3\"));\n titles.reduce(function (initial, title, index) {\n if (!document.querySelector(\"#title0\") && !document.querySelector(\"#title1\") && !document.querySelector(\"#title2\")) {\n return;\n }\n\n if (initial) return initial;\n\n if (scrollY + headerHeight < title.offsetTop + title.offsetHeight) {\n initial = true;\n _this3.navActive = index;\n }\n\n return initial;\n }, false);\n }, 500),\n showChang: function showChang() {\n if (isWeixin()) {\n var config = {\n latitude: parseFloat(this.storeItems.latitude),\n longitude: parseFloat(this.storeItems.longitude),\n name: this.storeItems.name,\n address: this.storeItems.address + this.system_store.detailed_address\n };\n wechatEvevt(\"openLocation\", config).then(function (res) {\n console.log(res);\n }).catch(function (res) {\n if (res.is_ready) {\n res.wx.openLocation(config);\n }\n });\n } else {\n if (!this.mapKey) return this.$dialog.error(\"暂无法使用查看地图,请配置您的腾讯地图key\");\n this.mapShow = true;\n }\n },\n updateTitle: function updateTitle() {\n document.title = this.storeInfo.store_name || this.$route.meta.title;\n },\n // 调转到门店列表\n showStoreList: function showStoreList() {\n this.$store.commit(\"GET_TO\", \"details\");\n this.$router.push(\"/shop/storeList/details\");\n },\n setOpenShare: function setOpenShare() {\n var data = this.storeInfo;\n var href = location.href;\n\n if (isWeixin()) {\n if (this.isLogin) {\n getUserInfo().then(function (res) {\n href = href.indexOf(\"?\") === -1 ? href + \"?spread=\" + res.data.uid : href + \"&spread=\" + res.data.uid;\n var configAppMessage = {\n desc: data.store_info,\n title: data.store_name,\n link: href,\n imgUrl: data.image\n };\n wechatEvevt([\"updateAppMessageShareData\", \"updateTimelineShareData\"], configAppMessage).then(function (res) {\n console.log(res);\n }).catch(function (res) {\n if (res.is_ready) {\n res.wx.updateAppMessageShareData(configAppMessage);\n res.wx.updateTimelineShareData(configAppMessage);\n }\n });\n });\n } else {\n var configAppMessage = {\n desc: data.store_info,\n title: data.store_name,\n link: href,\n imgUrl: data.image\n };\n wechatEvevt([\"updateAppMessageShareData\", \"updateTimelineShareData\"], configAppMessage).then(function (res) {\n console.log(res);\n }).catch(function (res) {\n if (res.is_ready) {\n res.wx.updateAppMessageShareData(configAppMessage);\n res.wx.updateTimelineShareData(configAppMessage);\n }\n });\n }\n }\n },\n setShareInfoStatus: function setShareInfoStatus() {\n this.shareInfoStatus = !this.shareInfoStatus;\n this.posters = false;\n },\n shareCode: function shareCode(value) {\n var that = this;\n getProductCode(that.id).then(function (res) {\n if (res.data.code) that.posterData.code = res.data.code;\n value === false && that.listenerActionSheet();\n });\n },\n setPosterImageStatus: function setPosterImageStatus() {\n var sTop = document.body || document.documentElement;\n sTop.scrollTop = 0;\n this.posterImageStatus = !this.posterImageStatus;\n this.posters = false;\n },\n //产品详情接口;\n productCon: function productCon() {\n var that = this;\n getProductDetail(that.id).then(function (res) {\n that.$set(that, \"storeInfo\", res.data.storeInfo);\n that.$set(that.attr, \"productAttr\", res.data.productAttr);\n that.$set(that, \"productValue\", res.data.productValue);\n that.$set(that, \"replyCount\", res.data.replyCount);\n that.$set(that, \"replyChance\", res.data.replyChance);\n that.reply = res.data.reply ? [res.data.reply] : [];\n that.$set(that, \"reply\", that.reply);\n that.$set(that, \"priceName\", res.data.priceName);\n that.posterData.image = that.storeInfo.image_base;\n that.activity = res.data.activity ? res.data.activity : [];\n\n if (that.storeInfo.store_name.length > 30) {\n that.posterData.title = that.storeInfo.store_name.substring(0, 30) + \"...\";\n } else {\n that.posterData.title = that.storeInfo.store_name;\n }\n\n that.storeSelfMention = res.data.store_self_mention ? true : false;\n that.posterData.price = that.storeInfo.price;\n that.posterData.code = that.storeInfo.code_base;\n that.system_store = res.data.system_store;\n var good_list = res.data.good_list || [];\n var goodArray = [];\n var count = Math.ceil(good_list.length / 6);\n\n for (var i = 0; i < count; i++) {\n var list = good_list.slice(i * 6, i * 6 + 6);\n if (list.length) goodArray.push({\n list: list\n });\n }\n\n that.mapKey = res.data.mapKey;\n that.$set(that, \"goodList\", goodArray);\n var navList = [\"商品\", \"评价\", \"详情\"];\n\n if (goodArray.length) {\n navList.splice(2, 0, \"推荐\");\n }\n\n that.navList = navList;\n that.updateTitle();\n that.DefaultSelect();\n that.getCartCount();\n that.getImageBase64();\n that.setOpenShare();\n }).catch(function (res) {\n that.$dialog.error(res.msg);\n that.$router.go(-1);\n });\n },\n getImageBase64: function getImageBase64() {\n var that = this;\n imageBase64(this.posterData.image, that.posterData.code).then(function (res) {\n that.posterData.image = res.data.image;\n that.posterData.code = res.data.code;\n that.isLogin && that.shareCode();\n }).catch(function () {\n that.isLogin && that.shareCode();\n });\n },\n //默认选中属性;\n DefaultSelect: function DefaultSelect() {\n var productAttr = this.attr.productAttr,\n value = [];\n\n for (var key in this.productValue) {\n if (this.productValue[key].stock > 0) {\n value = this.attr.productAttr.length ? key.split(\",\") : [];\n break;\n }\n }\n\n for (var i = 0; i < productAttr.length; i++) {\n this.$set(productAttr[i], \"index\", value[i]);\n } //sort();排序函数:数字-英文-汉字;\n\n\n var productSelect = this.productValue[value.sort().join(\",\")];\n\n if (productSelect && productAttr.length) {\n this.$set(this.attr.productSelect, \"store_name\", this.storeInfo.store_name);\n this.$set(this.attr.productSelect, \"image\", productSelect.image);\n this.$set(this.attr.productSelect, \"price\", productSelect.price);\n this.$set(this.attr.productSelect, \"stock\", productSelect.stock);\n this.$set(this.attr.productSelect, \"unique\", productSelect.unique);\n this.$set(this.attr.productSelect, \"cart_num\", 1);\n this.$set(this, \"attrValue\", value.sort().join(\",\"));\n this.$set(this, \"attrTxt\", \"已选择\");\n } else if (!productSelect && productAttr.length) {\n this.$set(this.attr.productSelect, \"store_name\", this.storeInfo.store_name);\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\n this.$set(this.attr.productSelect, \"stock\", 0);\n this.$set(this.attr.productSelect, \"unique\", \"\");\n this.$set(this.attr.productSelect, \"cart_num\", 0);\n this.$set(this, \"attrValue\", \"\");\n this.$set(this, \"attrTxt\", \"请选择\");\n } else if (!productSelect && !productAttr.length) {\n this.$set(this.attr.productSelect, \"store_name\", this.storeInfo.store_name);\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\n this.$set(this.attr.productSelect, \"stock\", this.storeInfo.stock);\n this.$set(this.attr.productSelect, \"unique\", this.storeInfo.unique || \"\");\n this.$set(this.attr.productSelect, \"cart_num\", 1);\n this.$set(this, \"attrValue\", \"\");\n this.$set(this, \"attrTxt\", \"请选择\");\n }\n },\n //购物车;\n ChangeCartNum: function ChangeCartNum(changeValue) {\n //changeValue:是否 加|减\n //获取当前变动属性\n var productSelect = this.productValue[this.attrValue]; //如果没有属性,赋值给商品默认库存\n\n if (productSelect === undefined && !this.attr.productAttr.length) productSelect = this.attr.productSelect; //无属性值即库存为0;不存在加减;\n\n if (productSelect === undefined) return;\n var stock = productSelect.stock || 0;\n var num = this.attr.productSelect;\n\n if (changeValue) {\n num.cart_num++;\n\n if (num.cart_num > stock) {\n this.$set(this.attr.productSelect, \"cart_num\", stock);\n this.$set(this, \"cart_num\", stock);\n }\n } else {\n num.cart_num--;\n\n if (num.cart_num < 1) {\n this.$set(this.attr.productSelect, \"cart_num\", 1);\n this.$set(this, \"cart_num\", 1);\n }\n }\n },\n //将父级向子集多次传送的函数合二为一;\n changeFun: function changeFun(opt) {\n if (_typeof(opt) !== \"object\") opt = {};\n var action = opt.action || \"\";\n var value = opt.value === undefined ? \"\" : opt.value;\n this[action] && this[action](value);\n },\n //打开优惠券插件;\n couponTap: function couponTap() {\n var that = this;\n that.coupons();\n that.coupon.coupon = true;\n },\n changecoupon: function changecoupon(msg) {\n this.coupon.coupon = msg;\n this.coupons();\n },\n currentcoupon: function currentcoupon(res) {\n var that = this;\n that.coupon.coupon = false;\n that.$set(that.coupon.list[res], \"is_use\", true);\n },\n //可领取优惠券接口;\n coupons: function coupons() {\n var that = this,\n q = {\n page: 1,\n limit: 20,\n type: 1,\n product_id: that.id\n };\n getCoupon(q).then(function (res) {\n that.$set(that, \"couponList\", res.data || []);\n that.$set(that.coupon, \"list\", res.data);\n });\n },\n //打开属性插件;\n selecAttrTap: function selecAttrTap() {\n this.attr.cartAttr = true;\n this.isOpen = true;\n },\n changeattr: function changeattr(msg) {\n this.attr.cartAttr = msg;\n this.isOpen = false;\n },\n //选择属性;\n ChangeAttr: function ChangeAttr(res) {\n var productSelect = this.productValue[res];\n\n if (productSelect) {\n this.$set(this.attr.productSelect, \"image\", productSelect.image);\n this.$set(this.attr.productSelect, \"price\", productSelect.price);\n this.$set(this.attr.productSelect, \"stock\", productSelect.stock);\n this.$set(this.attr.productSelect, \"unique\", productSelect.unique);\n this.$set(this.attr.productSelect, \"cart_num\", 1);\n this.$set(this, \"attrValue\", res);\n this.$set(this, \"attrTxt\", \"已选择\");\n } else {\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\n this.$set(this.attr.productSelect, \"stock\", 0);\n this.$set(this.attr.productSelect, \"unique\", \"\");\n this.$set(this.attr.productSelect, \"cart_num\", 0);\n this.$set(this, \"attrValue\", \"\");\n this.$set(this, \"attrTxt\", \"请选择\");\n }\n },\n //收藏商品\n setCollect: function setCollect() {\n var that = this,\n id = that.storeInfo.id,\n category = \"product\";\n\n if (that.storeInfo.userCollect) {\n getCollectDel(id, category).then(function () {\n that.storeInfo.userCollect = !that.storeInfo.userCollect;\n });\n } else {\n getCollectAdd(id, category).then(function () {\n that.storeInfo.userCollect = !that.storeInfo.userCollect;\n });\n }\n },\n goGoods: function goGoods(item) {\n var _this4 = this;\n\n goShopDetail(item).then(function () {\n window.scroll(0, 0);\n\n _this4.$router.push({\n path: \"/detail/\" + item.id\n });\n });\n },\n // 点击加入购物车按钮\n joinCart: function joinCart() {\n //0=加入购物车\n this.goCat(0);\n },\n // 加入购物车;\n goCat: function goCat(news) {\n var that = this,\n productSelect = that.productValue[this.attrValue]; //打开属性\n\n if (that.attrValue) {\n //默认选中了属性,但是没有打开过属性弹窗还是自动打开让用户查看默认选中的属性\n that.attr.cartAttr = !that.isOpen ? true : false;\n } else {\n if (that.isOpen) that.attr.cartAttr = true;else that.attr.cartAttr = !that.attr.cartAttr;\n } //只有关闭属性弹窗时进行加入购物车\n\n\n if (that.attr.cartAttr === true && that.isOpen === false) return that.isOpen = true;\n if (!this.attr.productSelect.cart_num || parseInt(this.attr.productSelect.cart_num) <= 0) return that.$dialog.toast({\n mes: \"请输入购买数量\"\n }); //如果有属性,没有选择,提示用户选择\n\n if (that.attr.productAttr.length && productSelect === undefined && that.isOpen === true) return that.$dialog.toast({\n mes: \"产品库存不足,请选择其它\"\n });\n var q = {\n productId: that.id,\n cartNum: that.attr.productSelect.cart_num,\n new: news,\n uniqueId: that.attr.productSelect !== undefined ? that.attr.productSelect.unique : \"\"\n };\n postCartAdd(q).then(function (res) {\n that.isOpen = false;\n that.attr.cartAttr = false;\n\n if (news) {\n that.$router.push({\n path: \"/order/submit/\" + res.data.cartId\n });\n } else {\n that.$dialog.toast({\n mes: \"添加购物车成功\",\n callback: function callback() {\n that.getCartCount(true);\n }\n });\n }\n }).catch(function (res) {\n that.isOpen = false;\n return that.$dialog.toast({\n mes: res.msg\n });\n });\n },\n //获取购物车数量\n getCartCount: function getCartCount(isAnima) {\n var that = this;\n var isLogin = that.isLogin;\n\n if (isLogin) {\n _getCartCount({\n numType: 0\n }).then(function (res) {\n that.CartCount = res.data.count; //加入购物车后重置属性\n\n if (isAnima) {\n that.animated = true;\n setTimeout(function () {\n that.animated = false;\n }, 500);\n }\n });\n }\n },\n //立即购买;\n tapBuy: function tapBuy() {\n // 1=直接购买\n this.goCat(1);\n },\n listenerActionSheet: function listenerActionSheet() {\n if (isWeixin() === true) {\n this.weixinStatus = true;\n }\n\n this.posters = true;\n },\n listenerActionClose: function listenerActionClose() {\n this.posters = false;\n }\n },\n beforeDestroy: function beforeDestroy() {\n document.removeEventListener(\"scroll\", this.onScroll, false);\n window.removeEventListener(\"scroll\", this.handleScroll);\n }\n};","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./GoodsCon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@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=01b0fd80&scoped=true&\"\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&id=01b0fd80&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01b0fd80\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4MzY0MDk5ZC0yYTkzLTliNDEtOGRmYy1jOGJmMzFlMzdmNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Q0RDRjkwRTdEODI5MTFFOTkwMjJEM0NGMjU2NjJCMDYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0RDRjkwRTZEODI5MTFFOTkwMjJEM0NGMjU2NjJCMDYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ZGUzODVhZDQtYzhjNS00M2UxLTlkNWEtMTFmOGY5MGNlZWJkIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjgzNjQwOTlkLTJhOTMtOWI0MS04ZGZjLWM4YmYzMWUzN2Y3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmrrFTIAAAGpSURBVHjazNe9T4NAFADw947WcqXgRw1KqtbJxcXFpZN/gyaNU/+4Ti4k/glOHZyMg3H0q2mThqhtU+wHnKBEaWzluGLwEkIgufsBx733DkCwdUu5jH+I9kdR1DsVg0tLaw4nfw6HUCm45YjguCAKojgmgArhmBAaG8cE0Vg4Joxy40QUxRWZoqHqc7r7fYq/rXMihK5RinvFOurKOW4UDBGcxEbX8xT39ToQrHgTVYZVanoPEhsnsVBdoXhgfKLff0kZNNlELRcLJ9yoUaB4uFUHKYSGcWXJxHyWGydcaEmlpLI9Gw3jcsaEJYkLJ9GoRsnRroeSCscyKkOWmN5UROIEUmokWORWsOh/NNbs2u7FXQ0ct8Ex3j2M3RNwWSsqsHy8cTTes93GY80b8HIuyeAW3ibHMHJaPNHs61NH4q2+za7bPn41C2W9YZUNxm3eEDo1x5H4w2uP3XROp3Affbar0B9ZceI2CoXMzYKKO8tnMHRk96lbBWtgxU0WKJwkdEUFxiTWGbyIZKjU0uL/LARSLX1SLfZSLW9TLeiT3MIIt0U3be8CDADFKvt2TKvKzAAAAABJRU5ErkJggg==\"","import mod from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@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@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./ShareInfo.vue?vue&type=style&index=0&id=f3067a28&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CouponPop.vue?vue&type=style&index=0&id=7aae4007&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CouponPop.vue?vue&type=style&index=0&id=7aae4007&scoped=true&lang=css&\"","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@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./ShareInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@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@15.9.0@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"],"sourceRoot":""}