1 |
- {"version":3,"sources":["webpack:///./pages/category/_firstCategory/index.vue?1041","webpack:///./pages/category/_firstCategory/index.vue?956f","webpack:///./pages/category/_firstCategory/index.vue?2ac4","webpack:///./pages/category/_firstCategory/index.vue","webpack:///./pages/category/_firstCategory/index.vue?01f9"],"names":["module","exports","components","InfiniteLoading","mixins","categoryMixin","data","total","listQuery","page","limit","listLoading","shopCarBall","shopCarBallEl","ss","watch","created","_asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_context","prev","next","stop","methods","addCompareList","target","this","beforeEnter","el","dom","getBoundingClientRect","comparePosition","document","querySelector","offsetX","left","offsetY","top","style","display","transform","concat","enter","done","body","offsetHeight","addEventListener","afterEnter","component","_vm$cate$","_vm","_c","_self","directives","name","rawName","value","expression","staticClass","attrs","productsList","cate_img","$mediaRegExp","test","$OSS_PREFIX","_e","_v","cate","length","_l","item","key","id","params","firstCategory","$route","secondCategory","replace","toLowerCase","_s","on","handleCommand","command","slot","commandList","label","leadTimeList","colourList","collectionsList","complianceList","featureList","decorationList","priceRange1","priceRange2","reset","getList","handleChangeColor","handleChangeFeature","handleChangePrice","handleChangeCollection","handleChangeCompliance","handleChangeDecoration","handleChangeLeadtime","handleChangeQuantity","cardList","index","parseInt","ref","computedProductList","infiniteHandler","scopedSlots","_u","fn","_ref","trigger","installComponents","CategoryFilter","default","Card","CategoryNoData"],"mappings":"8EACAA,EAAOC,QAAU,CAAC,C,mCCDlB,M,iHCAoQ,ECGrP,CACbC,WAAY,CACVC,qBAEFC,OAAQ,CAACC,KACTC,KAAI,WACF,MAAO,CACLC,MAAO,EACPC,UAAW,CACTC,KAAM,EACNC,MAAO,IAETC,aAAa,EACbC,aAAa,EACbC,cAAe,KACfC,GAAI,KAER,EACAC,MAAO,CAAC,EAEFC,QAAO,WAAG,OAAAC,YAAAC,mBAAAC,MAAA,SAAAC,IAAA,OAAAF,mBAAAG,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,wBAAAF,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C,SAAiBlB,EAAI1C,YAAaiD,WAAW,0CAA0CC,YAAY,kCAAkC,CAACP,EAAG,qBAAqB,UACn4G,GACsB,ICHpB,EACA,KACA,WACA,MAIa,UAAAH,UAAiB,QAGhCmE,kBAAkBnE,UAAW,CAACoE,eAAgB,EAAQ,KAAgEC,QAAQC,KAAM,EAAQ,KAAsDD,QAAQE,eAAgB,EAAQ,KAAgEF,S","file":"39a7cd6.js","sourcesContent":["// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=03ea91ca&prod&lang=scss&scoped=true\"","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--2-0!../../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--2-0!../../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"","\nimport InfiniteLoading from 'vue-infinite-loading'\nimport categoryMixin from '@/mixins/category'\nexport default {\n components: {\n InfiniteLoading,\n },\n mixins: [categoryMixin],\n data() {\n return {\n total: 0,\n listQuery: {\n page: 1,\n limit: 12,\n },\n listLoading: true,\n shopCarBall: false,\n shopCarBallEl: null,\n ss: null,\n }\n },\n watch: {},\n\n async created() {},\n methods: {\n addCompareList(target) {\n this.shopCarBallEl = target\n this.shopCarBall = true\n },\n\n // 动画开始\n beforeEnter(el) {\n // 获取元素的大小及其相对于视口的位置\n if (process.client) {\n const dom = this.shopCarBallEl.getBoundingClientRect()\n const comparePosition = document\n .querySelector('.compare-list')\n .getBoundingClientRect()\n const offsetX = comparePosition.left - dom.left\n const offsetY = dom.top - comparePosition.top - 20\n el.style.display = ''\n // y轴是曲直向上的,x轴是蜿蜒的向右的\n el.style.transform = `translate3D( -${offsetX}px,${offsetY}px,0)`\n }\n },\n enter(el, done) {\n // 触发重绘,来实现动画的移动过程\n if (process.client) {\n this.ss = document.body.offsetHeight\n el.style.transform = `translate3D( 0,0,0)`\n el.addEventListener('transitionend', done)\n }\n },\n afterEnter(el) {\n this.shopCarBall = false\n el.style.display = 'none'\n },\n },\n}\n","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=03ea91ca&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=03ea91ca&prod&lang=scss&scoped=true\"\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 \"03ea91ca\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {CategoryFilter: require('/Users/wu67/Projects/shop_site/components/CategoryFilter.vue').default,Card: require('/Users/wu67/Projects/shop_site/components/Card.vue').default,CategoryNoData: require('/Users/wu67/Projects/shop_site/components/CategoryNoData.vue').default})\n"],"sourceRoot":""}
|