1 |
- {"version":3,"sources":["webpack:///./src/views/shop/GoodsPromotion.vue?b1b5","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","GoodsPromotionvue_type_script_lang_js_","name","components","swiper","vue_awesome_swiper","swiperSlide","PromotionGood","props","data","imgUrls","pagination","el","clickable","autoplay","disableOnInteraction","delay","loop","speed","observer","observeParents","mounted","getIndexGroomList","methods","that","Object","store","then","res","banner","list","catch","$dialog","toast","mes","msg","shop_GoodsPromotionvue_type_script_lang_js_","component","componentNormalizer","__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,GAAAX,EAAA,OAAeE,YAAA,uBAAgC,GAAAN,EAAAgB,GAAA,GAAAZ,EAAA,kBAAqCG,MAAA,CAAOU,QAAAjB,EAAAkB,cAAyB,IACziBC,EAAA,YAAoC,IAAAnB,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,qCAAgD,CAAAF,EAAA,OAAYE,YAAA,SAAmBF,EAAA,OAAYE,YAAA,QAAmB,CAAAF,EAAA,QAAaE,YAAA,+BAAyCN,EAAAoB,GAAA,gBAAAhB,EAAA,OAAmCE,YAAA,6DC4B3Te,EAAA,CACAC,KAAA,iBACAC,WAAA,CACAC,OAAAC,EAAA,UACAC,YAAAD,EAAA,eACAE,gBAAA,MAEAC,MAAA,GACAC,KAAA,WACA,OACAC,QAAA,GACAZ,UAAA,GACAT,gBAAA,CACAsB,WAAA,CACAC,GAAA,qBACAC,WAAA,GAEAC,SAAA,CACAC,sBAAA,EACAC,MAAA,KAEAC,MAAA,EACAC,MAAA,IACAC,UAAA,EACAC,gBAAA,KAIAC,QAAA,WACAxC,KAAAyC,qBAEAC,QAAA,CACAD,kBAAA,WACA,IAAAE,EAAA3C,KACA4C,OAAAC,EAAA,KAAAD,CAAA,GACAE,KAAA,SAAAC,GACAJ,EAAAd,QAAAkB,EAAAnB,KAAAoB,OACAL,EAAA1B,UAAA8B,EAAAnB,KAAAqB,OAEAC,MAAA,SAAAH,GACA/C,KAAAmD,QAAAC,MAAA,CAAAC,IAAAN,EAAAO,WCrEuWC,EAAA,cCOvWC,EAAgBZ,OAAAa,EAAA,KAAAb,CACdW,EACAzD,EACAoB,GACF,EACA,KACA,KACA,MAIewC,EAAA,WAAAF","file":"h5/js/chunk-2d21f45b.a391d049.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 }","<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":""}
|