chunk-2d230838.6cdd9a61.js.map 8.1 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/activity/GoodsGroup.vue?de87","webpack:///src/views/activity/GoodsGroup.vue","webpack:///./src/views/activity/GoodsGroup.vue?2813","webpack:///./src/views/activity/GoodsGroup.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_l","item","index","key","on","click","$event","link","id","attrs","src","image","domProps","textContent","_s","title","people","_v","price","product_price","_m","loaded","status","loading","loadingList","staticRenderFns","GoodsGroupvue_type_script_lang_js_","name","components","Loading","props","data","combinationList","page","limit","mounted","_this","getCombinationList","$scroll","$refs","container","methods","that","Object","activity","then","res","length","push","apply","$router","path","activity_GoodsGroupvue_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,IAAA,YAAAC,YAAA,cAAyC,CAAAH,EAAA,OAAYG,YAAA,WAAqBH,EAAA,OAAYG,YAAA,QAAmB,CAAAP,EAAAQ,GAAAR,EAAA,yBAAAS,EAAAC,GAAoD,OAAAN,EAAA,OAAiBO,IAAAD,EAAAH,YAAA,oCAAAK,GAAA,CAA8DC,MAAA,SAAAC,GAAyB,OAAAd,EAAAe,KAAAN,EAAAO,OAA2B,CAAAZ,EAAA,OAAYG,YAAA,WAAsB,CAAAH,EAAA,OAAYa,MAAA,CAAOC,IAAAT,EAAAU,WAAkBf,EAAA,OAAcG,YAAA,QAAmB,CAAAH,EAAA,OAAYG,YAAA,QAAAa,SAAA,CAA8BC,YAAArB,EAAAsB,GAAAb,EAAAc,UAAkCnB,EAAA,OAAYG,YAAA,YAAuB,CAAAH,EAAA,OAAYG,YAAA,uCAAkD,CAAAH,EAAA,OAAYG,YAAA,0BAAoCH,EAAA,OAAYG,YAAA,MAAAa,SAAA,CAA4BC,YAAArB,EAAAsB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AF,KAAA,CACAG,KAAA,0BAAA3C,OC1EmW4C,EAAA,cCOnWC,EAAgBV,OAAAW,EAAA,KAAAX,CACdS,EACA7D,EACAkC,GACF,EACA,KACA,KACA,MAIe8B,EAAA,WAAAF","file":"h5/js/chunk-2d230838.6cdd9a61.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"group-list\"},[_c('div',{staticClass:\"header\"}),_c('div',{staticClass:\"list\"},[_vm._l((_vm.combinationList),function(item,index){return _c('div',{key:index,staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){return _vm.link(item.id)}}},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":item.image}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"line1\",domProps:{\"textContent\":_vm._s(item.title)}}),_c('div',{staticClass:\"acea-row\"},[_c('div',{staticClass:\"team acea-row row-middle cart-color\"},[_c('div',{staticClass:\"iconfont icon-pintuan\"}),_c('div',{staticClass:\"num\",domProps:{\"textContent\":_vm._s(item.people + '人团')}})])]),_c('div',{staticClass:\"bottom acea-row row-between-wrapper\"},[_c('div',{staticClass:\"money\"},[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\",domProps:{\"textContent\":_vm._s(item.price)}}),_c('span',{staticClass:\"y-money\",domProps:{\"textContent\":_vm._s('¥' + item.product_price)}})]),_vm._m(0,true)])])])}),_c('Loading',{attrs:{\"loaded\":_vm.status,\"loading\":_vm.loadingList}})],2)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"groupBnt bg-color-red\"},[_vm._v(\"\\n 去拼团\"),_c('span',{staticClass:\"iconfont icon-jiantou\"})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"group-list\" ref=\"container\">\r\n <div class=\"header\"></div>\r\n <div class=\"list\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-for=\"(item, index) in combinationList\"\r\n :key=\"index\"\r\n @click=\"link(item.id)\"\r\n >\r\n <div class=\"pictrue\"><img :src=\"item.image\" /></div>\r\n <div class=\"text\">\r\n <div class=\"line1\" v-text=\"item.title\"></div>\r\n <div class=\"acea-row\">\r\n <div class=\"team acea-row row-middle cart-color\">\r\n <div class=\"iconfont icon-pintuan\"></div>\r\n <div class=\"num\" v-text=\"item.people + '人团'\"></div>\r\n </div>\r\n </div>\r\n <div class=\"bottom acea-row row-between-wrapper\">\r\n <div class=\"money\">\r\n ¥<span class=\"num\" v-text=\"item.price\"></span\r\n ><span class=\"y-money\" v-text=\"'¥' + item.product_price\"></span>\r\n </div>\r\n <div class=\"groupBnt bg-color-red\">\r\n 去拼团<span class=\"iconfont icon-jiantou\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <Loading :loaded=\"status\" :loading=\"loadingList\"></Loading>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getCombinationList } from \"@api/activity\";\r\nimport Loading from \"@components/Loading\";\r\n\r\nexport default {\r\n name: \"GoodsGroup\",\r\n components: {\r\n Loading\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n combinationList: [],\r\n status: false, //砍价列表是否获取完成 false 未完成 true 完成\r\n loading: false, //当前接口是否请求完成 false 完成 true 未完成\r\n page: 1, //页码\r\n limit: 20, //数量\r\n loadingList: false\r\n };\r\n },\r\n mounted: function() {\r\n this.getCombinationList();\r\n this.$scroll(this.$refs.container, () => {\r\n !this.loadingList && this.getCombinationList();\r\n });\r\n },\r\n methods: {\r\n getCombinationList: function() {\r\n var that = this;\r\n if (that.loading) return;\r\n if (that.status) return;\r\n getCombinationList({ page: that.page, limit: that.limit }).then(res => {\r\n that.status = res.data.length < that.limit;\r\n that.combinationList.push.apply(that.combinationList, res.data);\r\n that.page++;\r\n that.loading = false;\r\n });\r\n },\r\n link: function(id) {\r\n this.$router.push({\r\n path: \"/activity/group_detail/\" + id\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!./GoodsGroup.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!./GoodsGroup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsGroup.vue?vue&type=template&id=3e59a149&\"\nimport script from \"./GoodsGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsGroup.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":""}