国外MOSE官网
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 lines
3.2 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/community"],{4759:function(t,n,e){"use strict";var a=e("a661"),i=e.n(a);i.a},"7fb2":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"CommunityPage",data:function(){return{currentTab:"current",postList:[{id:1,username:"猫小姐",avatar:"/static/默认头像.png",time:"2023-12-10 14:15:26",content:"建议社区草地修剪一下,杂草太多了!",images:["/static/bannerImage.png","/static/bannerImage.png","/static/bannerImage.png"],type:"current"},{id:2,username:"猫小姐",avatar:"/static/默认头像.png",time:"2023-12-10 14:15:26",content:"建议社区草地修剪一下,杂草太多了!",images:["/static/bannerImage.png","/static/bannerImage.png","/static/bannerImage.png"],type:"current"},{id:3,username:"邻居小王",avatar:"/static/默认头像.png",time:"2023-12-09 16:30:15",content:"今天在小区里捡到一只小猫,有人丢失了吗?",images:["/static/bannerImage.png"],type:"past"},{id:4,username:"李阿姨",avatar:"/static/默认头像.png",time:"2023-12-08 09:20:30",content:"分享一下我种的花,希望大家喜欢!",images:["/static/bannerImage.png","/static/bannerImage.png"],type:"past"}]}},computed:{filteredPosts:function(){var t=this;return this.postList.filter((function(n){return n.type===t.currentTab}))},actionButtonText:function(){return"current"===this.currentTab?"我要留言":"随手拍"}},methods:{switchTab:function(t){this.currentTab=t},goToPostDetail:function(n){t.navigateTo({url:"/subPages/community/postDetail?id=".concat(n.id)})},previewImage:function(n,e){t.previewImage({current:n,urls:e})},openAction:function(){"current"===this.currentTab?this.goToComment():this.takePhoto()},takePhoto:function(){t.navigateTo({url:"/subPages/community/publishPost?page=photo"})},goToComment:function(){t.navigateTo({url:"/subPages/community/publishPost"})}}};n.default=e}).call(this,e("df3c")["default"])},a661:function(t,n,e){},c849:function(t,n,e){"use strict";e.r(n);var a=e("e66b"),i=e("d9b3");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("4759");var o=e("828b"),u=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"35b85e7e",null,!1,a["a"],void 0);n["default"]=u.exports},d9b3:function(t,n,e){"use strict";e.r(n);var a=e("7fb2"),i=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=i.a},e66b:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return a}));var a={uvIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(e.bind(null,"1509"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__map(t.filteredPosts,(function(n,e){var a=t.__get_orig(n),i=n.images&&n.images.length>0;return{$orig:a,g0:i}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},r=[]},f680:function(t,n,e){"use strict";(function(t,n){var a=e("47a9");e("a476");a(e("3240"));var i=a(e("c849"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])}},[["f680","common/runtime","common/vendor"]]]);