1 |
- {"version":3,"sources":["webpack:///./src/views/activit-my-release.vue?3471","webpack:///./src/views/activit-my-release.vue","webpack:///src/views/activit-my-release.vue","webpack:///./src/views/activit-my-release.vue?1323","webpack:///./src/views/activit-my-release.vue?0e06","webpack:///./src/assets/normal.png","webpack:///./src/assets/return.png"],"names":["render","_vm","this","_c","_self","staticClass","attrs","require","on","$event","$router","back","_v","staticStyle","finished","list","length","getList","model","value","loading","callback","$$v","expression","_l","item","index","key","stopPropagation","toDetail","cover_arr","_s","title","address","start_time","end_time","label_name","label","split","item2","index2","price","_e","staticRenderFns","components","data","params","page","page_num","mounted","methods","ActivityService","then","component","module","exports"],"mappings":"yIAAA,W,uDCAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,aAAaC,MAAM,CAAC,IAAMC,EAAQ,SAAyBC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,QAAQC,WAAWR,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACJ,EAAIW,GAAG,YAAYT,EAAG,WAAW,CAACU,YAAY,CAAC,MAAQ,QAAQP,MAAM,CAAC,SAAWL,EAAIa,SAAS,mBAAkB,EAAM,gBAAgBb,EAAIc,KAAKC,OAAS,EAAI,QAAU,IAAIR,GAAG,CAAC,KAAOP,EAAIgB,SAASC,MAAM,CAACC,MAAOlB,EAAImB,QAASC,SAAS,SAAUC,GAAMrB,EAAImB,QAAQE,GAAKC,WAAW,YAAY,CAACpB,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACJ,EAAIuB,GAAIvB,EAAIc,MAAM,SAASU,EAAKC,GAAO,OAAOvB,EAAG,KAAK,CAACwB,IAAID,EAAMlB,GAAG,CAAC,MAAQ,SAASC,GAAiC,OAAzBA,EAAOmB,kBAAyB3B,EAAI4B,SA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D,EAAOC,QAAU","file":"js/chunk-02e20891.3b6f56ac.js","sourcesContent":["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-release.vue?vue&type=style&index=0&id=085c0fac&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;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){$event.stopPropagation();return _vm.toDetail(item)}}},[_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 || ((item.label || '').split(',')))),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)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 活动-我的发布 -->\r\n<template>\r\n\t<div class=\"wrap\">\r\n\r\n\t\t<div class=\"header\">\r\n\t\t\t<img src=\"../assets/return.png\" class=\"return-img\" @click=\"$router.back()\">\r\n\t\t\t<p class=\"header-title\">我的发布</p>\r\n\t\t</div>\r\n\r\n <van-list\r\n style=\"width: 100%\"\r\n v-model=\"loading\"\r\n :finished=\"finished\"\r\n :immediate-check=\"false\"\r\n :finished-text=\"list.length > 0 ? '没有更多了' : ''\"\r\n @load=\"getList\"\r\n >\r\n <ul class=\"list\">\r\n <li v-for=\"(item, index) in list\" :key=\"index\" @click.stop=\"toDetail(item)\">\r\n <img :src=\"item.cover_arr[0]\" class=\"img\">\r\n <div class=\"item-sidebar\">\r\n <p class=\"item-name\">{{ item.title }}</p>\r\n <p class=\"item-msg\">{{ item.address }} · {{ item.start_time }} - {{ item.end_time }}</p>\r\n <ul class=\"tag-list\">\r\n <li v-for=\"(item2, index2) in (item.label_name || ((item.label || '').split(',')))\" :key=\"index2\">{{ item2 }}</li>\r\n </ul>\r\n <div class=\"item-between\">\r\n <span class=\"price\">¥{{ item.price }}起</span>\r\n </div>\r\n </div>\r\n </li>\r\n <!-- 暂无数据展示 -->\r\n <div class=\"normal-box-small\" v-if=\"list.length === 0\">\r\n <img src=\"../assets/normal.png\">\r\n 暂无数据\r\n </div>\r\n </ul>\r\n </van-list>\r\n\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport {ActivityService} from \"@/common/service\";\r\n import {Toast} from \"vant\";\r\n\r\n export default {\r\n\t\tcomponents: {},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n params: {\r\n title: '', // 标题\r\n page: 1, // 页数\r\n page_num: 10, // 每页数\r\n },\r\n list: [],\r\n loading: false,\r\n finished: false,\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n this.getList();\r\n\t\t},\r\n\t\tmethods: {\r\n toDetail(item) {\r\n if (item.is_normal === 0) return Toast('已下架');\r\n this.$router.push(`/activity-sign-up?activity_id=${item.id}`);\r\n },\r\n getList() {\r\n this.loading = true;\r\n ActivityService.getMyActivityList(this.params)\r\n .then(({ data }) => {\r\n const list = data.list;\r\n this.list = this.params.page === 1 ? list : [...this.list, ...list];\r\n if (list.length < this.params.page_num) {\r\n this.finished = true;\r\n } else {\r\n this.params.page++;\r\n }\r\n }).finally(() => {\r\n this.loading = false;\r\n this.refreshLoading = false;\r\n }).catch(() => this.finished = true);\r\n },\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped>\r\n\t.wrap {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tbackground:linear-gradient(180deg,#FFFFFF,#F3F3F3);\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tpadding: 44px 0 0;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t/* 头部样式 */\r\n\t.header {\r\n\t\twidth: 100%;\r\n\t\theight: 44px;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tz-index: 999;\r\n\t}\r\n\r\n\t.return-img {\r\n\t\tposition: absolute;\r\n\t\tleft: 15px;\r\n\t\ttop: 50%;\r\n\t\ttransform: translate(0, -50%);\r\n\t\twidth: 20px;\r\n\t}\r\n\r\n\t.header-title {\r\n\t\tcolor: #333333;\r\n\t\tfont-size: 18px;\r\n\t\tfont-weight:bold;\r\n\t}\r\n\r\n\t.list {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tpadding: 12px 15px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t\r\n\t.list>li {\r\n\t\twidth: 100%;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n\t\tborder-radius: 12px;\r\n\t\tmargin-bottom: 12px;\r\n\t\tpadding: 10px;\r\n\t\tbox-sizing: border-box;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\t\r\n\t.img {\r\n\t\twidth: 120px;\r\n\t\theight: 110px;\r\n\t\tborder-radius: 10px;\r\n\t\tmargin-right: 10px;\r\n\t\tobject-fit: cover;\r\n\t}\r\n\t\r\n\t.item-sidebar {\r\n\t\tflex: 1;\r\n\t\tmin-height: 100px;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: space-between;\r\n\t}\r\n\t\r\n\t.item-name {\r\n\t\twidth: 100%;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-line-clamp: 2;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t\t-webkit-box-orient: vertical;\r\n\t\tline-height: 21px;\r\n\t\tcolor: #222222;\r\n\t\tfont-size: 15px;\r\n\t}\r\n\t\r\n\t.item-msg {\r\n\t\twidth: 100%;\r\n\t\tcolor: #666666;\r\n\t\tfont-size: 10px;\r\n\t}\r\n\r\n .tag-list {\r\n width: 100%;\r\n height: 36px;\r\n overflow: hidden;\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n }\r\n\r\n .tag-list>li {\r\n color: #2A63F3;\r\n font-size: 9px;\r\n padding: 0 4px;\r\n width: fit-content;\r\n height: 14px;\r\n line-height: 14px;\r\n border-radius: 3px;\r\n background-color: #F3F3F3;\r\n display: flex;\r\n align-items: center;\r\n margin: 2px 3px;\r\n display: -webkit-box;\r\n -webkit-box-orient: vertical;\r\n -webkit-line-clamp: 1; /*这里设置几行*/\r\n overflow: hidden;\r\n }\r\n\t\r\n\t.item-between {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: flex-end;\r\n\t}\r\n\t\r\n\t.price {\r\n\t\tcolor: #FF2828;\r\n\t\tfont-size: 14px;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\t\r\n\t.btn {\r\n\t\tcolor: #FFFFFF;\r\n\t\tfont-size: 12px;\r\n\t\theight: 24px;\r\n\t\tline-height: 24px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tbackground-color: #2A63F3;\r\n\t\twidth: fit-content;\r\n\t\tpadding: 0 11px;\r\n\t\tborder-radius: 30px;\r\n\t}\r\n\t\r\n\t.normal-box-small {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tfont-size: 14px;\r\n\t\tcolor: #999992;\r\n\t\tpadding: 120px 0;\r\n\t}\r\n\t\r\n\t.normal-box-small>img {\r\n\t\twidth: 150px;\r\n\t\tmargin-bottom: 9px;\r\n\t}\r\n</style>\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!./activit-my-release.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-release.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./activit-my-release.vue?vue&type=template&id=085c0fac&scoped=true&\"\nimport script from \"./activit-my-release.vue?vue&type=script&lang=js&\"\nexport * from \"./activit-my-release.vue?vue&type=script&lang=js&\"\nimport style0 from \"./activit-my-release.vue?vue&type=style&index=0&id=085c0fac&prod&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 \"085c0fac\",\n null\n \n)\n\nexport default component.exports","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":""}
|