(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["myCollections"],{"36ea":function(t,e,a){},"52cf":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"my-activitys"},[e("van-dropdown-menu",[e("van-dropdown-item",{attrs:{options:t.option2},model:{value:t.value2,callback:function(e){t.value2=e},expression:"value2"}})],1),e("van-list",{staticClass:"list",attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.url,(function(a,i){return e("div",{key:i,staticClass:"item",on:{click:function(e){return t.toDetail(a.topic_id,a.type_id)}}},[e("van-image",{staticClass:"img",attrs:{fit:"cover",width:"148",height:"93",radius:"4",src:a.images_url[0]}}),e("div",{staticClass:"title"},[t._v(t._s(a.name))]),e("div",{staticClass:"address"},[t._v(t._s(a.address))]),e("div",{staticClass:"time"},[e("span",{staticClass:"time_content"},[t._v(t._s("--"===a.phone?"":a.phone))])])],1)})),0)],1)},s=[],n=(a("61ae"),a("d314")),l=(a("09d3"),a("2d6d")),o=(a("66b9"),a("b650")),c=(a("bda7"),a("5e46")),d=(a("da3c"),a("0b33")),u=(a("4056"),a("44bf")),r=(a("14d9"),a("9ab4")),h=a("60a3");let p=class extends h["d"]{constructor(){super(...arguments),this.page=1,this.count=0,this.loading=!1,this.finished=!1,this.url=[],this.value2="",this.option2=[{text:"全部",value:""},{text:"地点",value:1},{text:"实物",value:2},{text:"场馆",value:3},{text:"活动",value:4},{text:"游记",value:5}]}get(){this.url=[],this.page=1,this.getList()}getList(){const t={type:this.value2,page:this.page,size:5};this.$request("/wttCms/wxCollect/list",t).then(t=>{this.count=t.data.count,this.loading=!1,this.url.length>=this.count?this.finished=!0:(this.url=this.url.concat(t.data.list),this.page+=1)})}created(){}onLoad(){this.loading=!0,this.getList()}toDetail(t,e){let a="";switch(e){case 1:a="spotDetail?site_id="+t;break;case 2:a="blockDetail?goods_id="+t;break;case 3:a="stadiumDetail?stadium_id="+t;break;case 4:a="activityDetail?activity_id="+t;break;case 5:a="momentDetail?circle_id="+t;break;case 6:wx.miniProgram.navigateTo({url:"/pages/topicInfo/topicInfo?theme_id="+t});break;default:return void this.$toast({type:"fail",message:"当前页面不存在",onClose:()=>{}})}this.$gmRouter.push(a)}};Object(r["a"])([Object(h["e"])("value2")],p.prototype,"get",null),p=Object(r["a"])([Object(h["a"])({components:{[u["a"].name]:u["a"],[d["a"].name]:d["a"],[c["a"].name]:c["a"],[o["a"].name]:o["a"],[l["a"].name]:l["a"],[n["a"].name]:n["a"]}})],p);var v=p,m=v,g=(a("b96c"),a("2877")),b=Object(g["a"])(m,i,s,!1,null,"2e9557a4",null);e["default"]=b.exports},b96c:function(t,e,a){"use strict";a("36ea")}}]);
//# sourceMappingURL=myCollections.7a61f04c.js.map