chunk-61e4faef.333f0397.js.map 14 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/activit-my-collection.vue?471c","webpack:///src/views/activit-my-collection.vue","webpack:///./src/views/activit-my-collection.vue?2b4b","webpack:///./src/views/activit-my-collection.vue","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/nonIterableSpread.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/toConsumableArray.js","webpack:///./src/views/activit-my-collection.vue?e55e","webpack:///./src/assets/normal.png","webpack:///./src/assets/return.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","on","$event","$router","back","_v","staticStyle","finished","list","length","getList","model","value","callback","$$v","loading","expression","_l","item","index","key","push","cover_arr","_s","title","address","start_time","end_time","item2","index2","price","_e","staticRenderFns","components","data","params","page","page_num","mounted","methods","ActivityService","then","finally","catch","component","_arrayWithoutHoles","arr","arrayLikeToArray","_nonIterableSpread","TypeError","_toConsumableArray","iterableToArray","unsupportedIterableToArray","module","exports"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,aAAaC,MAAM,CAAC,IAAM,EAAQ,SAAyBC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAIU,QAAQC,WAAWP,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACN,EAAIY,GAAG,YAAYR,EAAG,WAAW,CAACS,YAAY,CAAC,MAAQ,QAAQN,MAAM,CAAC,SAAWP,EAAIc,SAAS,mBAAkB,EAAM,gBAAgBd,EAAIe,KAAKC,OAAS,EAAI,QAAU,IAAIR,GAAG,CAAC,KAAOR,EAAIiB,SAASC,MAAM,CAAC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ACAR,cAGA+B,QAdA,WAeA,gBAEAC,SACA7B,QADA,WACA,WACA,gBACA8B,uCACAC,MAAA,yBACA,SACA,+EACA,2BACA,cAEA,mBAEAC,SAAA,WACA,aACA,uBACAC,OAAA,sCC7E+V,I,wBCQ3VC,EAAY,eACd,EACApD,EACAwC,GACA,EACA,KACA,WACA,MAIa,aAAAY,E,oHCjBA,SAASC,EAAmBC,GACzC,GAAI,IAAeA,GAAM,OAAO,OAAAC,EAAA,MAAiBD,G,4BCHpC,SAASE,IACtB,MAAM,IAAIC,UAAU,wICGP,SAASC,EAAmBJ,GACzC,OAAO,EAAkBA,IAAQ,OAAAK,EAAA,MAAgBL,IAAQ,OAAAM,EAAA,MAA2BN,IAAQ,M,kCCL9F,W,4CCAAO,EAAOC,QAAU,IAA0B,2B,mBCA3CD,EAAOC,QAAU","file":"js/chunk-61e4faef.333f0397.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"header\"},[_c('img',{staticClass:\"return-img\",attrs:{\"src\":require(\"../assets/return.png\")},on:{\"click\":function($event){return _vm.$router.back()}}}),_c('p',{staticClass:\"header-title\"},[_vm._v(\"我的收藏\")])]),_c('van-list',{staticStyle:{\"width\":\"100%\"},attrs:{\"finished\":_vm.finished,\"immediate-check\":false,\"finished-text\":_vm.list.length > 0 ? '没有更多了' : ''},on:{\"load\":_vm.getList},model:{value:(_vm.loading),callback:function ($$v) {_vm.loading=$$v},expression:\"loading\"}},[_c('ul',{staticClass:\"list\"},[_vm._l((_vm.list),function(item,index){return _c('li',{key:index,on:{\"click\":function($event){return _vm.$router.push((\"/activity-sign-up?activity_id=\" + (item.activity_id)))}}},[_c('img',{staticClass:\"img\",attrs:{\"src\":item.cover_arr[0]}}),_c('div',{staticClass:\"item-sidebar\"},[_c('p',{staticClass:\"item-name\"},[_vm._v(_vm._s(item.title))]),_c('p',{staticClass:\"item-msg\"},[_vm._v(_vm._s(item.address)+\" · \"+_vm._s(item.start_time)+\" - \"+_vm._s(item.end_time))]),_c('ul',{staticClass:\"tag-list\"},_vm._l((item.label_name),function(item2,index2){return _c('li',{key:index2},[_vm._v(_vm._s(item2))])}),0),_c('div',{staticClass:\"item-between\"},[_c('span',{staticClass:\"price\"},[_vm._v(\"¥\"+_vm._s(item.price)+\"起\")])])])])}),(_vm.list.length === 0)?_c('div',{staticClass:\"normal-box-small\"},[_c('img',{attrs:{\"src\":require(\"../assets/normal.png\")}}),_vm._v(\"\\n 暂无数据\\n \")]):_vm._e()],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 活动-我的收藏 -->\n<template>\n\t<div class=\"wrap\">\n\n\t\t<div class=\"header\">\n\t\t\t<img src=\"../assets/return.png\" class=\"return-img\" @click=\"$router.back()\">\n\t\t\t<p class=\"header-title\">我的收藏</p>\n\t\t</div>\n\n <van-list\n style=\"width: 100%\"\n v-model=\"loading\"\n :finished=\"finished\"\n :immediate-check=\"false\"\n :finished-text=\"list.length > 0 ? '没有更多了' : ''\"\n @load=\"getList\"\n >\n <ul class=\"list\">\n <li v-for=\"(item, index) in list\" :key=\"index\" @click=\"$router.push(`/activity-sign-up?activity_id=${item.activity_id}`)\">\n <img :src=\"item.cover_arr[0]\" class=\"img\">\n <div class=\"item-sidebar\">\n <p class=\"item-name\">{{ item.title }}</p>\n <p class=\"item-msg\">{{ item.address }} · {{ item.start_time }} - {{ item.end_time }}</p>\n <ul class=\"tag-list\">\n <li v-for=\"(item2, index2) in item.label_name\" :key=\"index2\">{{ item2 }}</li>\n </ul>\n <div class=\"item-between\">\n <span class=\"price\">¥{{ item.price }}起</span>\n </div>\n </div>\n </li>\n <!-- 暂无数据展示 -->\n <div class=\"normal-box-small\" v-if=\"list.length === 0\">\n <img src=\"../assets/normal.png\">\n 暂无数据\n </div>\n </ul>\n </van-list>\n\n\t</div>\n</template>\n\n<script>\n\timport {ActivityService} from \"@/common/service\";\n\n export default {\n\t\tcomponents: {},\n data() {\n return {\n params: {\n title: '', // 标题\n page: 1, // 页数\n page_num: 10, // 每页数\n },\n list: [],\n loading: false,\n finished: false,\n };\n },\n mounted() {\n this.getList();\n },\n methods: {\n getList() {\n this.loading = true;\n ActivityService.getCollectActivity(this.params)\n .then(({ data }) => {\n const list = data.list;\n this.list = this.params.page === 1 ? list : [...this.list, ...list];\n if (list.length < this.params.page_num) {\n this.finished = true;\n } else {\n this.params.page++;\n }\n }).finally(() => {\n this.loading = false;\n this.refreshLoading = false;\n }).catch(() => this.finished = true);\n },\n }\n\t}\n</script>\n\n<style scoped>\n\t.wrap {\n\t\twidth: 100%;\n\t\tmin-height: 100vh;\n\t\tbackground:linear-gradient(180deg,#FFFFFF,#F3F3F3);\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\tpadding: 44px 0 0;\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* 头部样式 */\n\t.header {\n\t\twidth: 100%;\n\t\theight: 44px;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tbackground-color: #FFFFFF;\n\t\tz-index: 999;\n\t}\n\n\t.return-img {\n\t\tposition: absolute;\n\t\tleft: 15px;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\twidth: 20px;\n\t}\n\n\t.header-title {\n\t\tcolor: #333333;\n\t\tfont-size: 18px;\n\t\tfont-weight: 500;\n\t}\n\n\t.list {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tpadding: 12px 15px;\n\t\tbox-sizing: border-box;\n\t}\n\t\n\t.list>li {\n\t\twidth: 100%;\n\t\tbackground-color: #FFFFFF;\n\t\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\n\t\tborder-radius: 12px;\n\t\tmargin-bottom: 12px;\n\t\tpadding: 10px;\n\t\tbox-sizing: border-box;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\t\n\t.img {\n\t\twidth: 120px;\n\t\theight: 110px;\n\t\tborder-radius: 10px;\n\t\tmargin-right: 10px;\n\t\tobject-fit: cover;\n\t}\n\t\n\t.item-sidebar {\n\t\tflex: 1;\n\t\tmin-height: 100px;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: space-between;\n\t}\n\t\n\t.item-name {\n\t\twidth: 100%;\n\t\tdisplay: -webkit-box;\n\t\t-webkit-line-clamp: 2;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\t-webkit-box-orient: vertical;\n\t\tline-height: 21px;\n\t\tcolor: #222222;\n\t\tfont-size: 15px;\n\t}\n\t\n\t.item-msg {\n\t\twidth: 100%;\n\t\tcolor: #666666;\n\t\tfont-size: 10px;\n\t}\n\t\n\t.tag-list {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\t\n\t.tag-list>li {\n\t\tcolor: #2A63F3;\n\t\tfont-size: 9px;\n\t\tpadding: 0 4px;\n\t\twidth: fit-content;\n\t\theight: 14px;\n\t\tline-height: 14px;\n\t\tborder-radius: 3px;\n\t\tbackground-color: #F3F3F3;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tmargin-right: 6px;\n\t}\n\t\n\t.item-between {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\talign-items: flex-end;\n\t}\n\t\n\t.price {\n\t\tcolor: #FF2828;\n\t\tfont-size: 14px;\n\t\tfont-weight: bold;\n\t}\n\t\n\t.btn {\n\t\tcolor: #FFFFFF;\n\t\tfont-size: 12px;\n\t\theight: 24px;\n\t\tline-height: 24px;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tbackground-color: #2A63F3;\n\t\twidth: fit-content;\n\t\tpadding: 0 11px;\n\t\tborder-radius: 30px;\n\t}\n\t\n\t.normal-box-small {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\tfont-size: 14px;\n\t\tcolor: #999992;\n\t\tpadding: 120px 0;\n\t}\n\t\n\t.normal-box-small>img {\n\t\twidth: 150px;\n\t\tmargin-bottom: 9px;\n\t}\n</style>\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!./activit-my-collection.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!./activit-my-collection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./activit-my-collection.vue?vue&type=template&id=805a9bf4&scoped=true&\"\nimport script from \"./activit-my-collection.vue?vue&type=script&lang=js&\"\nexport * from \"./activit-my-collection.vue?vue&type=script&lang=js&\"\nimport style0 from \"./activit-my-collection.vue?vue&type=style&index=0&id=805a9bf4&scoped=true&lang=css&\"\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 \"805a9bf4\",\n null\n \n)\n\nexport default component.exports","import _Array$isArray from \"@babel/runtime-corejs2/core-js/array/is-array\";\nimport arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (_Array$isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./activit-my-collection.vue?vue&type=style&index=0&id=805a9bf4&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/normal.bfd5e89f.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII=\""],"sourceRoot":""}