webpackJsonp([37],{"1S1B":function(t,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e=a("4YfN"),n=a.n(e),s=a("LzJq"),o=a("HKg4"),c=a("9rMa"),r=a("I3h8"),v={components:{sailPage:s.a,StatusCard:o.a},computed:n()({},Object(c.b)({activityList:function(t){return t.allActivityModule.activityList}})),asyncData:function(t){var i=t.store;t.route;return i.dispatch("allActivityModule/activityApplyList").then(function(t){})},data:function(){return{statusMap:{1:"待付款",2:"已支付",3:"订单关闭",4:"已结束"}}},methods:{back:function(){this.$router.push("/MyPage")},deleteActivity:function(t,i,a){var e=this;t.preventDefault(),r.c.confirm({title:"删除报名",message:"确定删除该报名?"}).then(function(){var t=i.id;e.$store.dispatch("allActivityModule/deleteApply",t).then(function(t){t&&e.activityList.splice(a,1)})}).catch(function(){})}}},l={render:function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("sail-page",{attrs:{type:"activityList",title:"我的活动"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("van-nav-bar",{attrs:{title:"我的活动","left-arrow":""},on:{"click-left":t.back}}),t._v(" "),a("div",{staticClass:"activity-list-wrapper"},t._l(t.activityList,function(i,e){return a("StatusCard",{key:e,attrs:{targetUrl:"/activitydetail/"+i.id+"/normal",iconType:"activity",code:i.payNo,statusDesc:t.statusMap[i.status]}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",[t._v("活动名称："+t._s(i.activityName))]),t._v(" "),a("p",[t._v("开始时间："+t._s(i.activityStartTime))]),t._v(" "),a("p",[t._v("活动地点："+t._s(i.actiivtyAddres))]),t._v(" "),a("p",[t._v("报名人数："+t._s(i.activityParticipants)+"人")])]),t._v(" "),a("span",{attrs:{slot:"footer"},slot:"footer"},[t._v("\n              费用："),a("span",{staticClass:"status-fee"},[t._v(t._s(t._f("currency")(i.activityCost))+" 元")]),t._v(" "),"订单关闭"===t.statusMap[i.status]?a("div",{staticClass:"activity-cancel-btn",on:{click:function(a){t.deleteActivity(a,i,e)}}},[t._v("删除报名")]):t._e()])])}))],1)])},staticRenderFns:[]};var u=a("Z0/y")(v,l,!1,function(t){a("82Zj"),a("Nv8O")},"data-v-6aa0e353",null);i.default=u.exports},"82Zj":function(t,i,a){var e=a("GKjU");"string"==typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);a("FIqI")("af381438",e,!0,{})},GKjU:function(t,i,a){(t.exports=a("UTlt")(!0)).push([t.i,"","",{version:3,sources:[],names:[],mappings:"",file:"activityList.vue",sourceRoot:""}])},Nv8O:function(t,i,a){var e=a("zgPi");"string"==typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);a("FIqI")("566a152e",e,!0,{})},zgPi:function(t,i,a){(t.exports=a("UTlt")(!0)).push([t.i,'\n.activity-list-wrapper[data-v-6aa0e353]{margin-top:3.2vw;content:"viewport-units-buggyfill; margin-top: 3.2vw"\n}\n.activity-cancel-btn[data-v-6aa0e353]{width:27.733vw;display:inline-block;height:6.667vw;border-radius:4.8vw;border:1px solid #adadad;color:#adadad;line-height:6.667vw;text-align:center;margin:0 auto;position:absolute;right:2.667vw;bottom:1.333vw;content:"viewport-units-buggyfill; width: 27.733vw; height: 6.667vw; border-radius: 4.8vw; line-height: 6.667vw; right: 2.667vw; bottom: 1.333vw"\n}',"",{version:3,sources:["/Users/gongyifeng/workcode/futureFed/sailClientApp/src/pages/activity/activityList.vue"],names:[],mappings:";AACA,wCAAwC,iBAAiB,qDAAqD;CAC7G;AACD,sCAAsC,eAAe,qBAAqB,eAAe,oBAAoB,yBAAyB,cAAc,oBAAoB,kBAAkB,cAAc,kBAAkB,cAAc,eAAe,iJAAiJ;CACvY",file:"activityList.vue",sourcesContent:['\n.activity-list-wrapper[data-v-6aa0e353]{margin-top:3.2vw;content:"viewport-units-buggyfill; margin-top: 3.2vw"\n}\n.activity-cancel-btn[data-v-6aa0e353]{width:27.733vw;display:inline-block;height:6.667vw;border-radius:4.8vw;border:1px solid #adadad;color:#adadad;line-height:6.667vw;text-align:center;margin:0 auto;position:absolute;right:2.667vw;bottom:1.333vw;content:"viewport-units-buggyfill; width: 27.733vw; height: 6.667vw; border-radius: 4.8vw; line-height: 6.667vw; right: 2.667vw; bottom: 1.333vw"\n}'],sourceRoot:""}])}});
//# sourceMappingURL=37.ddcdce22c792289ccd02.js.map