12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1fe1119b"],{"15e4":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABNpJREFUaEPtmVtoHFUYx//fSTZgYjNnN2stoa31gqHexUtRCRVrq/ZNqUJfimKhj9X6IApeKioiXp9EqKjok9cXwaKtFpFqUbCipjRQ1EbBarr7TZpWyu7OJzN7tt3L7M6cmWlDJecp2T2X/+9857ucs4QzvNEZrh/zAHNtwXkL/C8tIIODoxgYuB0iFwHwQHQASu2gUmkqa+BMj1AgPJd7AUT3AOhrE1uFyHvwvM105Mh0ViCZAUg+fzlEtgMYjRA3BaK1VC7/nAVEJgDiOHkQ7QWwNBAlMg2i16DUblSrgFI3QWQTiM4xog8AuJaYOS1ENgBavwngXiPme1Sra2l29p9mcTI0tAi53CcArjGfv0XM9805gAwPrwh2GlAAXCh1GZVKf4QJk0JhCTzvJwBO4NyedyPNzOxJA5HKAgIQHGcPiK4zIrYQ88u9BInWDwJ4yRy17+C6KwiQpBDpABznfhBtM4tPgPkqAio9AYActPb95RIDsZFc943TDiBaa4jsB9FCI2QNue7ncYSI46wG0Wdm3N8gGkvq0IktIFq/AmCzEfwxMd8VR3yjj2j9EYA7zf+vEvMDNuMbfRMBSKFwKWq1vSDqB/CvfxyI+TcbAaL1MgATAM6CSAV9fVdTqfSLzRx+32QAWu8EcItZbCsxP2m7cJAutPbHPWHGfkHMq2znsQYQx1kHovfNQr+DeTnVrWDdxN99rfcBOM/4w93kuh/YTGQFELLgOnLdD20WbO+bdkPsALTeCuBxI2InMd/aTbwMD98BpV4Pvve8TTQz82nXvlrvANA4Pk8Rc+NYRe5NbABbpxOtDwJYYhRMEXO9TgppJij8AKKcbVCwAbAKe6J1S3Yl5p5rJQ3LsQCkUFgNzzuZeJS6mMplt5d9rQHyeQeeN3kiMSq1hkqlyMQYCSB+6necH0G03ESKWKnfFiAIq82licg+uO6VUaVJNIDWWwC8aMTHLr4SAXQWhw8Rc73w69J6n8uhoXORy+1PUv4mAQis0F6eVypjdPTooWQArRcVqwtIUoAAwmLdrhaw3YmOBGURRjvGWlg+FCDkohJ5FjtEWCSy0NwQ0/fCARJEg8iUadkhbvTrAOi4qMSMx5b6YnXvyD8hF58wgFQXlYYym1ooIiH2rABaAMRxzgfgXxOta5Isnbh5rpAa7MLmJ8pWgHz+WYg8YpLWc+S69b8TNJtiLmp6cZxnQPSo6fc0MT/WGNNugd0guiH4UqmlaR5jszpCQV4oFkdRrfpvTb7er4l5PBzgZOwuE3MhamdO5/eitf/SVwTwKzFf0M0CE6ZoOwbms9M8OGUJF+QlrWcBDAKYJOaxbhZo9viVxPxVlkKSziX5/DhEGlpannBafUDrDQDeNk78DVx3ZVQ5m1RU3HECDMBxdp3wTWADMb8TboH6s5//VuP/sgIQbYdSG+nw4T/jLphlPykUFkNkG0RuM/NOgvkKAo6HAgQePzJyPWq1XcGDU/CBHAeRb76DIKplKbDrXCL+g9kyiIybnOR3PQalVlGp9G3zuPBaSOubAfhvP77Xz30TOQSi9cT8ZbuY7uX0ggUj6O9/GCLrASyeEwqRv6DUu6hUnm//waTrEWoXGoSwYnERqtWFqJv21DciD0pNx0mkkXfiU6823QrzAOn2L/3o/wDgPUJPx17eQwAAAABJRU5ErkJggg=="},1734:function(t,a,i){"use strict";i("ef55")},"1c4e":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABKtJREFUWEe1l2toXEUUx//n7s2SgEoTaUliq2CNWvWL4qOIaUOIWCrSL0YpWMjj3rO71kVFEaHoulZaFRQlNcmdiZtAFGrXfKkShGITiWALShFaK0F8lmysSGJ95LV7RybMhk2yyWbzmA/LcufMOb85c86ZM4SVDXJddxcR7VFK7SSiGgAVAGwAfwP4GcC3RHQ6GAyebGtru7IytQAtJ9jU1FRaUlISIqJnAdywQqUTAD4MBA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tcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzYyMjhCRjlERTI2MTFFQzkyRjc4RDU4RkRFNDI5RTMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzYyMjhCRkFERTI2MTFFQzkyRjc4RDU4RkRFNDI5RTMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozNjIyOEJGN0RFMjYxMUVDOTJGNzhENThGREU0MjlFMyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozNjIyOEJGOERFMjYxMUVDOTJGNzhENThGREU0MjlFMyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkaEfFQAAAF2SURBVHjalFIxq4JgFO2JREVEYoRgRKOQY0ize/QDorU5HBxrUBrCuaDFoYamhkJoaMhf4BJN1ZAtBeISJBn1zqNHr9eL6J1BDvd+55z73c/A6XSyLMtxnMs/sVwuJ5PJ4XAgDcPo9XrBYLBareZyucB7ME2z3W6fz2fXdQmO40Kh0PF41DRtOp2+o0d4q9WCPhaL5fP5D4y0WCwajcZ+v0e7XC4XCoUX+vF4rOs6VBRF1Wo1lmW/LNDYbDaKomAq8GKxWCqVnuqHwyFuDULTdL1eZxgG/NsC2O12cNlut+CiKFYqFYIg7vWDwaDf74Mkk0nk43ut/1gAmEJVVdu2wQVBwIJJkry2IIYFCJKRjyluql8WADaCvWA74NlsVpblcDjc7XZHoxEqqVQK+fF4/F7yaAF4ntdsNmezGXgikYhEIuv1GjydTkOPV3g4/8QC8H2/0+ng8W8VnuclSYpGo38PP7e4YrVazedzDJXJZF78dZ8CDABpWeKbD1ENwwAAAABJRU5ErkJggg=="},c629:function(t,a,i){"use strict";i.r(a);i("a481");var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"wrap"},[a("div",{staticClass:"header-wrap"},[a("div",{staticClass:"header"},[a("img",{staticClass:"return-img",attrs:{src:i("f5a4")},on:{click:function(a){return t.$router.back()}}}),a("p",{staticClass:"header-title"},[t._v("搜索活动")])]),a("div",{staticClass:"search-box"},[a("div",{staticClass:"search-bar",on:{click:function(a){return t.$router.back()}}},[a("img",{staticClass:"search-icon",attrs:{src:i("1c4e")}}),a("input",{ref:"searchInput",staticClass:"search-input",attrs:{type:"search",placeholder:"请输入关键字进行搜索",disabled:""},domProps:{value:t.params.title}})])]),a("ul",{staticClass:"sub-tab-list"},[a("li",{class:{active:1===t.params.sort_type},on:{click:function(a){return t.checkSortTab(1)}}},[t._v("默认排序")]),a("li",{class:{active:2===t.params.sort_type||3===t.params.sort_type},on:{click:function(a){return t.checkSortTab(3===t.params.sort_type?2:3)}}},[t._v("\n 时间\n "),a("img",{staticClass:"tab-icon",style:{transform:"rotate(".concat(3===t.params.sort_type||1===t.params.sort_type?0:180,"deg)")},attrs:{src:i("45b0")}})])])]),a("van-list",{staticStyle:{width:"100%"},attrs:{finished:t.finished,"immediate-check":!1,"finished-text":t.list.length>0?"没有更多了":""},on:{load:t.getList},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},[a("ul",{staticClass:"list"},[t._l(t.list,(function(i,s){return a("li",{key:s,on:{click:function(a){return t.$router.push("/activity-sign-up?activity_id=".concat(i.id))}}},[a("img",{staticClass:"img",attrs:{src:i.cover_arr[0]}}),a("div",{staticClass:"item-sidebar"},[a("p",{staticClass:"item-name",domProps:{innerHTML:t._s(i.title)}}),a("p",{staticClass:"item-msg"},[t._v(t._s(i.address)+" · "+t._s(i.start_time)+" - "+t._s(i.end_time))]),a("ul",{staticClass:"tag-list"},t._l(i.label_name,(function(i,s){return a("li",{key:s},[t._v(t._s(i))])})),0),a("div",{staticClass:"item-between"},[a("span",{staticClass:"price"},[t._v("¥"+t._s(i.price)+"起")]),2===i.status?a("button",{staticClass:"btn",attrs:{type:"button"}},[t._v("已取消")]):1===i.is_apply?a("button",{staticClass:"btn",attrs:{type:"button"}},[t._v("已报名")]):2===i.isEnd?a("button",{staticClass:"btn",attrs:{type:"button"}},[t._v("进行中")]):3===i.isEnd?a("button",{staticClass:"btn",attrs:{type:"button"}},[t._v("已结束")]):a("button",{staticClass:"btn",attrs:{type:"button"}},[t._v("查看详情")])])])])})),0===t.list.length?a("div",{staticClass:"normal-box-small"},[a("img",{attrs:{src:i("e18b")}}),t._v("\n 暂无数据\n ")]):t._e()],2)]),a("div",{staticClass:"float-box"},[a("button",{attrs:{type:"button"},on:{click:function(a){return t.$router.replace("/contact-online")}}},[t._v("没找到?点我反馈")])]),a("van-popup",{attrs:{round:"",position:"bottom"},model:{value:t.showReport,callback:function(a){t.showReport=a},expression:"showReport"}},[a("div",{staticClass:"window",staticStyle:{position:"relative!important"}},[a("div",{staticClass:"window-top"},[a("button",{staticClass:"window-btn del",staticStyle:{"justify-content":"flex-start"},attrs:{type:"button"},on:{click:function(a){a.stopPropagation(),t.showReport=!1,t.$router.push("/report?type=".concat(t.reportParams.type,"&id=").concat(t.reportParams.report_id))}}},[a("img",{attrs:{src:i("15e4")}}),t._v("举报\n\t\t\t\t\t")])]),a("div",{staticClass:"window-btn-box",on:{click:function(a){t.showReport=!1}}},[a("button",{attrs:{type:"button"}},[t._v("取消")])])])]),a("van-overlay",{attrs:{show:t.showOpenVip,"z-index":"99999"},on:{click:function(a){t.showOpenVip=!1}}},[a("div",{staticClass:"open-vip"},[a("p",[t._v("仅支持VIP查看")]),a("p",[t._v("开通VIP查看本材料")]),a("button",{on:{click:function(a){return t.$router.push("/member")}}},[t._v("开通VIP会员")])])])],1)},e=[],n=i("2909"),A=(i("3b2b"),i("6d67"),i("f523")),c={components:{},data:function(){return{showReport:!1,showOpenVip:!1,status:0,params:{title:"",sort_type:1,page:1,page_num:20},list:[],loading:!1,finished:!1}},mounted:function(){var t=this.$route.query;this.params.title=t.key||"",this.getList()},methods:{checkSortTab:function(t){this.loading||(this.params.page=1,this.finished=!1,this.params.sort_type=t,this.getList())},getList:function(){var t=this;this.loading=!0,A["a"].getActivityList(this.params).then((function(a){var i=a.data,s=i.list.map((function(a){a.title=a.title.replace(RegExp(t.params.title,"g"),'<span style="color: #FF6700">'.concat(t.params.title,"</span>"));var i=1,s=(new Date).getTime(),e=new Date(a.start_time.replace(/-/g,"/")).getTime(),n=new Date(a.end_time.replace(/-/g,"/")).getTime();return s<e?i=1:s>=e&&s<n?i=2:s>=n&&(i=3),a["isEnd"]=i,a}));t.list=1===t.params.page?s:[].concat(Object(n["a"])(t.list),Object(n["a"])(s)),s.length<t.params.page_num?t.finished=!0:t.params.page++})).finally((function(){t.loading=!1,t.refreshLoading=!1})).catch((function(){return t.finished=!0}))}}},r=c,o=(i("1734"),i("2877")),l=Object(o["a"])(r,s,e,!1,null,"2405364f",null);a["default"]=l.exports},e18b:function(t,a,i){t.exports=i.p+"img/normal.bfd5e89f.png"},ef55:function(t,a,i){},f5a4:function(t,a){t.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="}}]);
- //# sourceMappingURL=chunk-1fe1119b.a95ccc6e.js.map
|