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
6.9 KiB
1 lines
6.9 KiB
{"version":3,"sources":["webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/ProductConSwiper.vue?fb97","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/ProductConSwiper.vue?8034","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/ProductConSwiper.vue?3fb1","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/ProductConSwiper.vue?f0e9","uni-app:///components/ProductConSwiper.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AAC6M;AAC7M,gBAAgB,iNAAU;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;AAA+zB,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsBn1B;;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 \"!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./ProductConSwiper.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"slider-banner product-bg\">\n <swiper\n class=\"swiper-wrapper\"\n @change=\"handleChange\"\n v-if=\"imgUrls.length > 0\"\n >\n <block v-for=\"(item, imgUrlsIndex) in imgUrls\" :key=\"imgUrlsIndex\">\n <swiper-item>\n <image :src=\"item\" @tap=\"previewImage(imgUrlsIndex)\" mode=\"aspectFit\" class=\"slide-image\" />\n </swiper-item>\n </block>\n </swiper>\n <!-- <swiper class=\"swiper-wrapper\" :options=\"ProductConSwiper\" v-if=\"imgUrls.length > 0\">\n <swiperSlide class=\"swiper-slide\" v-for=\"item in imgUrls\" :key=\"item\" ref=\"goodSwiper\">\n <image :src=\"item\" class=\"slide-image\" />\n </swiperSlide>\n </swiper>-->\n <view class=\"pages\">{{ currents || 1 }}/{{ imgUrls.length || 1 }}</view>\n </view>\n</template>\n<script>\n// import { swiper, swiperSlide } from \"vue-awesome-swiper\";\n\nexport default {\n name: \"ProductConSwiper\",\n components: {\n // swiper,\n // swiperSlide\n },\n props: {\n imgUrls: {\n type: Array,\n default: () => [],\n },\n },\n data: function () {\n let that = this;\n return {\n currents: 1,\n ProductConSwiper: {\n autoplay: {\n disableOnInteraction: false,\n delay: 2000,\n },\n loop: true,\n speed: 1000,\n observer: true,\n observeParents: true,\n on: {\n slideChangeTransitionStart: function () {\n that.currents = this.realIndex + 1;\n },\n },\n },\n };\n },\n mounted: function () {},\n methods: {\n handleChange(event) {\n this.currents = event.mp.detail.current + 1;\n },\n previewImage(current) {\n uni.previewImage({\n current,\n urls: this.imgUrls,\n });\n },\n },\n};\n</script>\n"],"sourceRoot":""} |