Files
huangjingfen/pro_v3.5.1/public/statics/mp_view/components/discoverWaterfall/WaterfallsFlowItem.js

11 lines
3.1 KiB
JavaScript
Raw Normal View History

2026-03-07 22:29:07 +08:00
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/discoverWaterfall/WaterfallsFlowItem"],{6277:function(e,t,n){"use strict";n.r(t);var i=n("b73c"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=r.a},a02c:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={easyLoadimage:function(){return n.e("components/easy-loadimage/easy-loadimage").then(n.bind(null,"94dd"))}},r=function(){var e=this.$createElement,t=(this._self._c,1==this.item.content_type?this.item.slider_image.length:null),n=[0,-1,-2].includes(this.item.is_verify);this.$mp.data=Object.assign({},{$root:{g0:t,g1:n}})},o=[]},b73c:function(e,t,n){"use strict";(function(e){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("7ca3")),o=n("eb8a"),a=n("8f59"),c=n("4d38");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var s={components:{easyLoadimage:function(){n.e("components/easy-loadimage/easy-loadimage").then(function(){return resolve(n("94dd"))}.bind(null,n)).catch(n.oe)}},props:{item:{type:Object,require:!0},border:{type:Boolean,default:!1}},inject:["flowLike"],data:function(){return{domain:c.HTTP_REQUEST_URL}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,a.mapGetters)(["isLogin","uid"])),methods:{toUser:function(){e.navigateTo({url:"/pages/discover/discoverUser/index?id="+this.item.relation_id})},contentLike:function(){var e=this;if(!this.isLogin)return this.$util.Tips({title:"请登录"});var t=1==this.item.is_like?0:1,n=this;(0,o.communityLikeApi)(this.item.id,{status:t}).then((function(e){n.flowLike({id:n.item.id,status:t})})).catch((function(t){return e.$util.Tips({title:t})}))}}};t.default=s}).call(this,n("df3c")["default"])},c952:function(e,t,n){"use strict";n.r(t);var i=n("a02c"),r=n("6277");for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("e1ea");var a=n("828b"),c=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,"65c0134e",null,!1,i["a"],void 0);t["default"]=c.exports},e1ea:function(e,t,n){"use strict";var i=n("ffd5"),r=n.n(i);r.a},ffd5:function(e,t,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/discoverWaterfall/WaterfallsFlowItem-create-component',
{
'components/discoverWaterfall/WaterfallsFlowItem-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("c952"))
})
},
[['components/discoverWaterfall/WaterfallsFlowItem-create-component']]
]);