chunk-2d21f45b.700a5680.js.map 6.3 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/shop/GoodsPromotion.vue?fcf9","webpack:///src/views/shop/GoodsPromotion.vue","webpack:///./src/views/shop/GoodsPromotion.vue?fa2a","webpack:///./src/views/shop/GoodsPromotion.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","RecommendSwiper","_l","item","index","key","img","_m","goodsList","staticRenderFns","_v","name","components","swiper","swiperSlide","PromotionGood","props","data","imgUrls","pagination","el","clickable","autoplay","disableOnInteraction","delay","loop","speed","observer","observeParents","mounted","getIndexGroomList","methods","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,SAAS,CAACE,YAAY,iBAAiBC,MAAM,CAAC,QAAUP,EAAIQ,kBAAkBR,EAAIS,GAAIT,EAAW,SAAE,SAASU,EAAKC,GAAO,OAAOP,EAAG,cAAc,CAACQ,IAAID,EAAML,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,cAAcC,MAAM,CAAC,IAAMG,EAAKG,YAAW,GAAGT,EAAG,MAAM,CAACE,YAAY,uBAAuB,GAAGN,EAAIc,GAAG,GAAGV,EAAG,iBAAiB,CAACG,MAAM,CAAC,QAAUP,EAAIe,cAAc,IACxiBC,EAAkB,CAAC,WAAa,IAAIhB,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,qCAAqC,CAACF,EAAG,MAAM,CAACE,YAAY,SAASF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,OAAO,CAACE,YAAY,+BAA+BN,EAAIiB,GAAG,gBAAgBb,EAAG,MAAM,CAACE,YAAY,a,gDC4BvU,GACEY,KAAM,iBACNC,WAAY,CACVC,OAAJ,YACIC,YAAJ,iBACIC,cAAJ,QAEEC,MAAO,GACPC,KAAM,WACJ,MAAO,CACLC,QAAS,GACTV,UAAW,GACXP,gBAAiB,CACfkB,WAAY,CACVC,GAAI,qBACJC,WAAW,GAEbC,SAAU,CACRC,sBAAsB,EACtBC,MAAO,KAETC,MAAM,EACNC,MAAO,IACPC,UAAU,EACVC,gBAAgB,KAItBC,QAAS,WACPnC,KAAKoC,qBAEPC,QAAS,CACPD,kBAAmB,WACjB,IAAN,OACM,OAAN,OAAM,CAAN,GACA,kBACQ,EAAR,sBACQ,EAAR,yBAEA,mBACQ,KAAR,eAAU,IAAV,cCrE2c,I,YCOvcE,EAAY,eACd,EACAxC,EACAiB,GACA,EACA,KACA,KACA,MAIa,aAAAuB,E","file":"h5/js/chunk-2d21f45b.700a5680.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@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!./GoodsPromotion.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!./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@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"],"sourceRoot":""}