zx/public/static/js/pages-plantGrass-plant_feat...

1 line
16 KiB
JavaScript
Raw Permalink Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_featured-index~pages-plantGrass-plant_search_list-index~pages-plantGrass-plan~9cdfefc2"],{"17be":function(t,e,i){"use strict";var a=i("e613"),n=i.n(a);n.a},2743:function(t,e,i){"use strict";i.r(e);var a=i("99af"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"2c39":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("9b1b")),s=a(i("23ab")),o=i("8f59"),u={components:{easyLoadimage:s.default},computed:(0,n.default)({},(0,o.mapGetters)(["viewColor"])),props:{item:{type:Object,require:!0},type:{type:Number,default:0},isAuth:{type:Number||String,default:0},uid:{type:Number||String,default:0},tab:{type:Number,default:1},isFind:{type:Boolean,default:!1},isShow:{type:Boolean,default:!1}},data:function(){return{}},methods:{likeToggle:function(t){this.$emit("likeToggle",t)},goDetail:function(t){this.isFind?uni.navigateTo({url:"/pages/plantGrass/plant_featured/index?id="+t.topic_id}):this.plantDeail(t)},plantDeail:function(t){if(1==t.is_type)uni.navigateTo({url:"/pages/plantGrass/plant_detail/index?id="+t.community_id});else{var e=this.isAuth?1:0;uni.navigateTo({url:"/pages/short_video/nvueSwiper/index?id="+t.community_id+"&user="+e+"&uid="+this.uid+"&tab="+this.tab})}}}};e.default=u},"466a":function(t,e,i){"use strict";var a=i("e6cc"),n=i.n(a);n.a},"5c3b":function(t,e,i){t.exports=i.p+"static/images/stop.png"},"5eb5":function(t,e,i){"use strict";i.r(e);var a=i("2c39"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"643d":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var a={easyLoadimage:i("23ab").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.item?a("v-uni-view",{staticClass:"wf-page2",style:t.viewColor,on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(t.item)}}},[a("v-uni-view",{staticClass:"pictrue skeleton-rect"},[a("easy-loadimage",{staticClass:"image",attrs:{mode:"widthFix","image-src":t.item.image[0]}}),t.isShow?a("v-uni-view",{staticClass:"plant-show"},[1==t.item.is_type?a("v-uni-text",{staticClass:"iconfont icon-tuwen1"}):2==t.item.is_type?a("v-uni-text",{staticClass:"iconfont icon-shipin1"}):t._e()],1):2==t.item.is_type?a("v-uni-view",{staticClass:"video_img"},[a("v-uni-image",{staticClass:"image",attrs:{src:i("5c3b"),mode:""}})],1):t._e(),t.isAuth&&0==t.tab&&1!=t.item.status?a("v-uni-view",{staticClass:"approval_status"},[-1==t.item.status?a("v-uni-view",{staticClass:"approval_title"},[t._v("审核未通过")]):-2==t.item.status?a("v-uni-view",{staticClass:"approval_title"},[t._v("已下架")]):0==t.item.status?a("v-uni-view",{staticClass:"approval_title"},[t._v("正在审核")]):t._e(),-1==t.item.status||-2==t.item.status?a("v-uni-text",{staticClass:"approval_info"},[t._v("查看未通过原因")]):t._e(),0==t.item.status?a("v-uni-text",{staticClass:"approval_info"},[t._v("通过后将展示在列表")]):t._e()],1):t._e()],1),a("v-uni-view",{staticClass:"text"},[a("v-uni-view",{staticClass:"name skeleton-rect"},[a("v-uni-text",{staticClass:"text_name line2"},[t._v(t._s(t.item.title))])],1),a("v-uni-view",{staticClass:"count acea-row skeleton-rect"},[t.isAuth?a("v-uni-view",{staticClass:"author acea-row"},[a("v-uni-text",{staticClass:"author_time"},[t._v(t._s(t.item.time))])],1):a("v-uni-view",{staticClass:"author acea-row"},[a("v-uni-image",{staticClass:"image",attrs:{src:t.item.author&&t.item.author.avatar||"/static/images/f.png"}}),a("v-uni-text",{staticClass:"author_name line1"},[t._v(t._s(t.item.author&&t.item.author.nickname))])],1),a("v-uni-view",{staticClass:"like"},[a("v-uni-button",{staticClass:"like_count",attrs:{"hover-class":"none"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.likeToggle(t.item)}}},[a("v-uni-text",{staticClass:"