You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
7.3 KiB
1 lines
7.3 KiB
{"version":3,"sources":["webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/ProductConSwiper.vue?61a7","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/ProductConSwiper.vue?8b2f","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/ProductConSwiper.vue?6788","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/ProductConSwiper.vue?9179","uni-app:///components/ProductConSwiper.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA4zB,CAAgB,40BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsBh1B;;AAEA;AACA,0BADA;AAEA;AACA;AACA;AAFA,GAFA;AAMA;AACA;AACA,iBADA;AAEA,+CAFA,EADA,EANA;;;AAYA;AACA;AACA;AACA,iBADA;AAEA;AACA;AACA,qCADA;AAEA,qBAFA,EADA;;AAKA,kBALA;AAMA,mBANA;AAOA,sBAPA;AAQA,4BARA;AASA;AACA;AACA;AACA,WAHA,EATA,EAFA;;;;AAkBA,GAhCA;AAiCA,gCAjCA;AAkCA;AACA,gBADA,wBACA,KADA,EACA;AACA;AACA,KAHA;AAIA,gBAJA,wBAIA,OAJA,EAIA;AACA;AACA,wBADA;AAEA,0BAFA;;AAIA,KATA,EAlCA,E","file":"components/ProductConSwiper.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./ProductConSwiper.vue?vue&type=template&id=5af78446&\"\nvar renderjs\nimport script from \"./ProductConSwiper.vue?vue&type=script&lang=js&\"\nexport * from \"./ProductConSwiper.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/ProductConSwiper.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ProductConSwiper.vue?vue&type=template&id=5af78446&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ProductConSwiper.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ProductConSwiper.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"slider-banner product-bg\">\r\n <swiper\r\n class=\"swiper-wrapper\"\r\n @change=\"handleChange\"\r\n v-if=\"imgUrls.length > 0\"\r\n >\r\n <block v-for=\"(item, imgUrlsIndex) in imgUrls\" :key=\"imgUrlsIndex\">\r\n <swiper-item>\r\n <image :src=\"item\" @tap=\"previewImage(imgUrlsIndex)\" class=\"slide-image\" />\r\n </swiper-item>\r\n </block>\r\n </swiper>\r\n <!-- <swiper class=\"swiper-wrapper\" :options=\"ProductConSwiper\" v-if=\"imgUrls.length > 0\">\r\n <swiperSlide class=\"swiper-slide\" v-for=\"item in imgUrls\" :key=\"item\" ref=\"goodSwiper\">\r\n <image :src=\"item\" class=\"slide-image\" />\r\n </swiperSlide>\r\n </swiper>-->\r\n <view class=\"pages\">{{ currents || 1 }}/{{ imgUrls.length || 1 }}</view>\r\n </view>\r\n</template>\r\n<script>\r\n// import { swiper, swiperSlide } from \"vue-awesome-swiper\";\r\n\r\nexport default {\r\n name: \"ProductConSwiper\",\r\n components: {\r\n // swiper,\r\n // swiperSlide\r\n },\r\n props: {\r\n imgUrls: {\r\n type: Array,\r\n default: () => [],\r\n },\r\n },\r\n data: function () {\r\n let that = this;\r\n return {\r\n currents: 1,\r\n ProductConSwiper: {\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 on: {\r\n slideChangeTransitionStart: function () {\r\n that.currents = this.realIndex + 1;\r\n },\r\n },\r\n },\r\n };\r\n },\r\n mounted: function () {},\r\n methods: {\r\n handleChange(event) {\r\n this.currents = event.mp.detail.current + 1;\r\n },\r\n previewImage(current) {\r\n uni.previewImage({\r\n current,\r\n urls: this.imgUrls,\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n"],"sourceRoot":""} |