chunk-2d21f45b.1f9ad535.js.map 11 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/shop/GoodsPromotion.vue?f932","webpack:///./src/components/PromotionGood.vue?b54b","webpack:///src/components/PromotionGood.vue","webpack:///./src/components/PromotionGood.vue?d7ac","webpack:///./src/components/PromotionGood.vue","webpack:///src/views/shop/GoodsPromotion.vue","webpack:///./src/views/shop/GoodsPromotion.vue?ddc6","webpack:///./src/views/shop/GoodsPromotion.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","options","RecommendSwiper","_l","item","index","key","src","img","_m","benefit","goodsList","staticRenderFns","_v","PromotionGoodvue_type_template_id_fb8618fa_render","length","to","path","id","image","_s","store_name","price","ot_price","stock","unit_name","_e","PromotionGoodvue_type_template_id_fb8618fa_staticRenderFns","PromotionGoodvue_type_script_lang_js_","name","props","type","Array","default","data","components_PromotionGoodvue_type_script_lang_js_","component","Object","componentNormalizer","PromotionGood","GoodsPromotionvue_type_script_lang_js_","components","swiper","vue_awesome_swiper","swiperSlide","imgUrls","pagination","el","clickable","autoplay","disableOnInteraction","delay","loop","speed","observer","observeParents","mounted","getIndexGroomList","methods","that","store","then","res","banner","list","catch","$dialog","toast","mes","msg","shop_GoodsPromotionvue_type_script_lang_js_","GoodsPromotion_component","__webpack_exports__"],"mappings":"uHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,qBAAgC,CAAAF,EAAA,OAAYE,YAAA,wBAAmC,CAAAF,EAAA,UAAeE,YAAA,iBAAAC,MAAA,CAAoCC,QAAAR,EAAAS,kBAA+BT,EAAAU,GAAAV,EAAA,iBAAAW,EAAAC,GAA2C,OAAAR,EAAA,eAAyBS,IAAAD,EAAAN,YAAA,gBAAqC,CAAAF,EAAA,OAAYE,YAAA,cAAAC,MAAA,CAAiCO,IAAAH,EAAAI,WAAoB,G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AAmB,aAAA1B,EAAA,OAAAJ,EAAAoB,GAAA,MAAApB,EAAA2B,GAAAhB,EAAAoB,OAAA/B,EAAA2B,GAAAhB,EAAAqB,sBAAoH,GAAAhC,EAAAiC,OAC/3BC,EAAe,GC0BnBC,EAAA,CACAC,KAAA,gBACAC,MAAA,CACApB,QAAA,CACAqB,KAAAC,MACAC,QAAA,uBAGAC,KAAA,WACA,WCpCuVC,EAAA,cCOvVC,EAAgBC,OAAAC,EAAA,KAAAD,CACdF,EACArB,EACAa,GACF,EACA,KACA,KACA,MAIeY,EAAAH,sBCWfI,EAAA,CACAX,KAAA,iBACAY,WAAA,CACAC,OAAAC,EAAA,UACAC,YAAAD,EAAA,eACAJ,iBAEAT,MAAA,GACAI,KAAA,WACA,OACAW,QAAA,GACAlC,UAAA,GACAT,gBAAA,CACA4C,WAAA,CACAC,GAAA,qBACAC,WAAA,GAEAC,SAAA,CACAC,sBAAA,EACAC,MAAA,KAEAC,MAAA,EACAC,MAAA,IACAC,UAAA,EACAC,gBAAA,KAIAC,QAAA,WACA9D,KAAA+D,qBAEAC,QAAA,CACAD,kBAAA,WACA,IAAAE,EAAAjE,KACA2C,OAAAuB,EAAA,KAAAvB,CAAA,GACAwB,KAAA,SAAAC,GACAH,EAAAd,QAAAiB,EAAA5B,KAAA6B,OACAJ,EAAAhD,UAAAmD,EAAA5B,KAAA8B,OAEAC,MAAA,SAAAH,GACApE,KAAAwE,QAAAC,MAAA,CAAAC,IAAAN,EAAAO,WCrEuWC,EAAA,ECOnWC,EAAYlC,OAAAC,EAAA,KAAAD,CACdiC,EACA9E,EACAoB,GACF,EACA,KACA,KACA,MAIe4D,EAAA,WAAAD","file":"h5/js/chunk-2d21f45b.1f9ad535.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"quality-recommend\"},[_c('div',{staticClass:\"slider-banner swiper\"},[_c('swiper',{staticClass:\"swiper-wrapper\",attrs:{\"options\":_vm.RecommendSwiper}},_vm._l((_vm.imgUrls),function(item,index){return _c('swiperSlide',{key:index,staticClass:\"swiper-slide\"},[_c('img',{staticClass:\"slide-image\",attrs:{\"src\":item.img}})])}),1),_c('div',{staticClass:\"swiper-pagination\"})],1),_vm._m(0),_c('Promotion-good',{attrs:{\"benefit\":_vm.goodsList}})],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('div',{staticClass:\"line\"}),_c('div',{staticClass:\"name\"},[_c('span',{staticClass:\"iconfont icon-cuxiaoguanli\"}),_vm._v(\"促销单品\\n \")]),_c('div',{staticClass:\"line\"})])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.benefit.length > 0)?_c('div',{staticClass:\"promotionGood\"},_vm._l((_vm.benefit),function(item,index){return _c('router-link',{key:index,staticClass:\"item acea-row row-between-wrapper\",attrs:{\"to\":{ path: '/detail/' + item.id }}},[_c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":item.image}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(item.store_name))]),_c('div',{staticClass:\"sp-money acea-row\"},[_c('div',{staticClass:\"moneyCon\"},[_vm._v(\"\\n 促销价: ¥\"),_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(item.price))])])]),_c('div',{staticClass:\"acea-row row-between-wrapper\"},[_c('div',{staticClass:\"money\"},[_vm._v(\"日常价:¥\"+_vm._s(item.ot_price))]),_c('div',[_vm._v(\"仅剩:\"+_vm._s(item.stock)+_vm._s(item.unit_name))])])])])}),1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"promotionGood\" v-if=\"benefit.length > 0\">\r\n <router-link\r\n :to=\"{ path: '/detail/' + item.id }\"\r\n class=\"item acea-row row-between-wrapper\"\r\n v-for=\"(item, index) in benefit\"\r\n :key=\"index\"\r\n >\r\n <div class=\"pictrue\">\r\n <img :src=\"item.image\" class=\"image\" />\r\n </div>\r\n <div class=\"text\">\r\n <div class=\"name line1\">{{ item.store_name }}</div>\r\n <div class=\"sp-money acea-row\">\r\n <div class=\"moneyCon\">\r\n 促销价: ¥<span class=\"num\">{{ item.price }}</span>\r\n </div>\r\n </div>\r\n <div class=\"acea-row row-between-wrapper\">\r\n <div class=\"money\">日常价:¥{{ item.ot_price }}</div>\r\n <div>仅剩:{{ item.stock }}{{ item.unit_name }}</div>\r\n </div>\r\n </div>\r\n </router-link>\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"PromotionGood\",\r\n props: {\r\n benefit: {\r\n type: Array,\r\n default: () => []\r\n }\r\n },\r\n data: function() {\r\n return {};\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!./PromotionGood.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!./PromotionGood.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PromotionGood.vue?vue&type=template&id=fb8618fa&\"\nimport script from \"./PromotionGood.vue?vue&type=script&lang=js&\"\nexport * from \"./PromotionGood.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","<template>\r\n <div class=\"quality-recommend\">\r\n <div class=\"slider-banner swiper\">\r\n <swiper class=\"swiper-wrapper\" :options=\"RecommendSwiper\">\r\n <swiperSlide\r\n class=\"swiper-slide\"\r\n v-for=\"(item, index) in imgUrls\"\r\n :key=\"index\"\r\n >\r\n <img :src=\"item.img\" class=\"slide-image\" />\r\n </swiperSlide>\r\n </swiper>\r\n <div class=\"swiper-pagination\"></div>\r\n </div>\r\n <div class=\"title acea-row row-center-wrapper\">\r\n <div class=\"line\"></div>\r\n <div class=\"name\">\r\n <span class=\"iconfont icon-cuxiaoguanli\"></span>促销单品\r\n </div>\r\n <div class=\"line\"></div>\r\n </div>\r\n <Promotion-good :benefit=\"goodsList\"></Promotion-good>\r\n </div>\r\n</template>\r\n<script>\r\nimport { swiper, swiperSlide } from \"vue-awesome-swiper\";\r\nimport \"@assets/css/swiper.min.css\";\r\nimport PromotionGood from \"@components/PromotionGood\";\r\nimport { getGroomList } from \"@api/store\";\r\nexport default {\r\n name: \"GoodsPromotion\",\r\n components: {\r\n swiper,\r\n swiperSlide,\r\n PromotionGood\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n imgUrls: [],\r\n goodsList: [],\r\n RecommendSwiper: {\r\n pagination: {\r\n el: \".swiper-pagination\",\r\n clickable: true\r\n },\r\n autoplay: {\r\n disableOnInteraction: false,\r\n delay: 2000\r\n },\r\n loop: true,\r\n speed: 1000,\r\n observer: true,\r\n observeParents: true\r\n }\r\n };\r\n },\r\n mounted: function() {\r\n this.getIndexGroomList();\r\n },\r\n methods: {\r\n getIndexGroomList: function() {\r\n let that = this;\r\n getGroomList(4)\r\n .then(res => {\r\n that.imgUrls = res.data.banner;\r\n that.goodsList = res.data.list;\r\n })\r\n .catch(function(res) {\r\n this.$dialog.toast({ mes: res.msg });\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!./GoodsPromotion.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!./GoodsPromotion.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsPromotion.vue?vue&type=template&id=0731b1bd&\"\nimport script from \"./GoodsPromotion.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsPromotion.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"],"sourceRoot":""}