/*!
 *  build: Vue  Admin Plus
 *  copyright: vue-admin-beautiful.com
 *  time: 2024-03-07 17:07:58
 */
"use strict";(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[6561],{46561:function(e,t,i){i.r(t),i.d(t,{default:function(){return d}});var n=i(10661),c=(i(3241),i(35095),i(66252)),a=i(49963),l=i(3577);const s=e=>((0,c.dD)("data-v-36f2c7dc"),e=e(),(0,c.Cn)(),e),r={key:1,class:"ri-heart-3-fill"},o=s((()=>(0,c._)("i",{class:"ri-chat-4-line",title:"评论"},null,-1)));var u={__name:"index",props:{item:{type:Object,default:()=>{}}},emits:["like"],setup(e,{emit:t}){const i=e;function s(){t("like",i.item)}return(t,i)=>{const u=n.Q0;return(0,c.wg)(),(0,c.iD)("div",null,[(0,c.Wm)(u,{class:"box-item",effect:"dark",content:"点赞",placement:"top"},{default:(0,c.w5)((()=>[(0,c._)("span",null,[e.item.like.can?((0,c.wg)(),(0,c.iD)("i",{key:0,class:"cursor-pointer ri-heart-3-line",onClick:i[0]||(i[0]=(0,a.iM)((t=>s(e.item)),["stop"]))})):((0,c.wg)(),(0,c.iD)("i",r))])])),_:1}),(0,c.Uk)(" "+(0,l.zw)(e.item.like.number)+" ",1),(0,c.Wm)(u,{class:"box-item",effect:"dark",content:"评论",placement:"top"},{default:(0,c.w5)((()=>[o])),_:1}),(0,c.Uk)(" "+(0,l.zw)(e.item.replies),1)])}}};function p(e){e.__source="src/components/TopicBar/index.vue"}var f=i(83744);"function"===typeof p&&p(u);const m=(0,f.Z)(u,[["__scopeId","data-v-36f2c7dc"]]);var d=m}}]);