You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.2 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/activity/index"],{"126b":function(t,n,i){"use strict";i.r(n);var e=i("b554"),a=i.n(e);for(var c in e)"default"!==c&&function(t){i.d(n,t,(function(){return e[t]}))}(c);n["default"]=a.a},"18c6":function(t,n,i){"use strict";var e=i("c3a3"),a=i.n(e);a.a},"1d3d":function(t,n,i){"use strict";(function(t){i("0371");e(i("66fd"));var n=e(i("4059"));function e(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,i("543d")["createPage"])},"23d7":function(t,n,i){"use strict";var e;i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return c})),i.d(n,"a",(function(){return e}));var a=function(){var t=this,n=t.$createElement;t._self._c},c=[]},4059:function(t,n,i){"use strict";i.r(n);var e=i("23d7"),a=i("126b");for(var c in a)"default"!==c&&function(t){i.d(n,t,(function(){return a[t]}))}(c);i("18c6");var o,u=i("f0c5"),r=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],o);n["default"]=r.exports},b554:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a(i("f431"));function a(t){return t&&t.__esModule?t:{default:t}}var c=getApp(),o={data:function(){return{active:0,activityList:[]}},components:{},props:{},onLoad:function(t){},onReady:function(){},onShow:function(){this.getActivityList()},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{getActivityList:function(){var n=this;c.http("POST","activity/activityList",{status:this.active}).then((function(i){i.data.success?(i.data.data.content.forEach((function(t){t.activityStartTime=e.default.getWeek(t.activityStartTime),t.activityEndTime=e.default.getWeek(t.activityEndTime)})),n.setData({activityList:i.data.data.content})):t.showToast({title:i.data.msg,icon:"none"})}))},toDetail:function(n){var i=n.currentTarget.dataset.id;t.navigateTo({url:"./detail/index?id="+i})},tabClick:function(t){var n=Number(t.currentTarget.dataset.i);this.setData({active:n}),this.getActivityList()}}};n.default=o}).call(this,i("543d")["default"])},c3a3:function(t,n,i){}},[["1d3d","common/runtime","common/vendor"]]]);