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
1 line
2.2 KiB
3 years ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/activity/index"],{"693f":function(t,n,e){"use strict";(function(t){e("ef82");a(e("66fd"));var n=a(e("874f"));function a(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"874f":function(t,n,e){"use strict";e.r(n);var a=e("f5df"),i=e("9adc");for(var c in i)"default"!==c&&function(t){e.d(n,t,(function(){return i[t]}))}(c);e("e487");var o,u=e("f0c5"),f=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);n["default"]=f.exports},"8d5a":function(t,n,e){},"9adc":function(t,n,e){"use strict";e.r(n);var a=e("eaaf"),i=e.n(a);for(var c in a)"default"!==c&&function(t){e.d(n,t,(function(){return a[t]}))}(c);n["default"]=i.a},e487:function(t,n,e){"use strict";var a=e("8d5a"),i=e.n(a);i.a},eaaf:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("514b"));function i(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(e){e.data.success?(e.data.data.content.forEach((function(t){t.activityStartTime=a.default.getWeek(t.activityStartTime),t.activityEndTime=a.default.getWeek(t.activityEndTime)})),n.setData({activityList:e.data.data.content})):t.showToast({title:e.data.msg,icon:"none"})}))},toDetail:function(n){var e=n.currentTarget.dataset.id;t.navigateTo({url:"./detail/index?id="+e})},tabClick:function(t){var n=Number(t.currentTarget.dataset.i);this.setData({active:n}),this.getActivityList()}}};n.default=o}).call(this,e("543d")["default"])},f5df:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return a}));var i=function(){var t=this,n=t.$createElement;t._self._c},c=[]}},[["693f","common/runtime","common/vendor"]]]);
|