"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[6288],{6288:function(t,e,a){a.r(e),a.d(e,{default:function(){return x}});var s=a(66252),i=a(49963),l=a(3577);const o={class:"account_follow"},n={class:"account_generalMessage_title modal_title_text"},r={class:"account_generalMessage_title_seach"},c=["placeholder"],g={class:"account_generalMessage_center modal_title_text"},_={class:"account_generalMessage_item_right"},d=["onClick"],u=["src"],w={class:"account_generalMessage_item_right_title"},h={class:""},p={class:"modal_title_text_intro"},D={class:"account_generalMessage_item_left"},L=["onClick"],v={key:0,class:"account_generalMessage_item",style:{"justify-content":"center"}},m={class:"page_loading_box"},k={class:"page_loading",ref:"loadingDom"};function F(t,e,a,F,f,M){const y=(0,s.up)("a-badge"),C=(0,s.up)("a-spin");return(0,s.wg)(),(0,s.iD)("div",o,[(0,s._)("div",n,[(0,s._)("span",r,[(0,s.wy)((0,s._)("input",{class:"gallery_input",type:"text",placeholder:t.$t("LibraryPage.jsContent7"),onKeydown:e[0]||(e[0]=(0,i.D2)(((...e)=>t.searchFollowFansList&&t.searchFollowFansList(...e)),["enter"])),"onUpdate:modelValue":e[1]||(e[1]=e=>t.getListData.seachContent=e)},null,40,c),[[i.nr,t.getListData.seachContent]]),(0,s._)("div",{class:"gallery_btn",style:{"margin-left":"2rem"},onClick:e[2]||(e[2]=(...e)=>t.searchFollowFansList&&t.searchFollowFansList(...e))},"Search")])]),(0,s._)("div",g,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(t.dataList,(e=>((0,s.wg)(),(0,s.iD)("div",{class:"account_generalMessage_item",key:e.id},[(0,s.Wm)(y,{dot:0==e.isRead},null,8,["dot"]),(0,s._)("div",_,[(0,s._)("div",{class:"account_generalMessage_item_right_img",onClick:(0,i.iM)((a=>t.openOtherUsers(e)),["stop"])},[(0,s._)("img",{src:e.avatar,alt:""},null,8,u)],8,d),(0,s._)("div",w,[(0,s._)("div",h,(0,l.zw)(e.userName),1),(0,s._)("div",p,(0,l.zw)(e.createTime),1)])]),(0,s._)("div",D,[(0,s._)("div",{onClick:(0,i.iM)((a=>t.setFollow(e)),["stop"])},(0,l.zw)(t.$t("newScaleImage.Unfollow")),9,L)])])))),128)),0==t.dataList.length&&t.getListData.isNoData?((0,s.wg)(),(0,s.iD)("div",v,(0,l.zw)(t.$t("account.dataNull")),1)):(0,s.kq)("",!0),(0,s.wy)((0,s._)("div",m,[(0,s.wy)((0,s._)("span",k,null,512),[[i.F8,!t.getListData.isShowMark]]),(0,s.wy)((0,s._)("span",null,[(0,s.Wm)(C,{size:"large"})],512),[[i.F8,t.getListData.isShowMark]])],512),[[i.F8,!t.getListData.isNoData]])])])}var f=a(2262),M=a(74961),y=a(22201),C=a(33907),b=(0,s.aZ)({components:{},props:[""],setup(t,{emit:e}){const a=(0,y.tv)();(0,C.oR)();let i=(0,f.qj)({getListData:{page:1,size:10,seachContent:"",isNoData:!1,isShowMark:!1},dataList:(0,f.iH)([])}),l=(0,f.iH)(null),o=()=>{i.getListData.page=1,n()},n=()=>{i.getListData.isShowMark=!0;let t=i.getListData;M.V.axiosPost(M.V.httpUrls.porfolioGetFolloweeList,t).then((t=>{if(t){if(i.getListData.isShowMark=!1,0==t.length)return void(i.getListData.isNoData=!0);i.dataList=t}})).catch((()=>{i.getListData.isShowMark=!1,i.getListData.isNoData=!0}))},r=t=>{let e=M.V.httpUrls.porfolioCancelFollow;M.V.axiosGet(e,{params:{followeeId:t.senderId}}).then((t=>{o()}))},c=t=>{const e=a.resolve({path:"/home/otherUsers",query:{userId:t.senderId}});window.open(e.href,"_blank")};return(0,s.bv)((()=>{i.getListData.isNoData=!1,i.getListData.page=0,new IntersectionObserver(((t,e)=>{t[0].intersectionRatio&&(i.getListData.page+=1,n())})).observe(l.value)})),{...(0,f.BK)(i),searchFollowFansList:o,getFollowFansList:n,loadingDom:l,setFollow:r,openOtherUsers:c}},data(){return{}}}),N=a(83744);const S=(0,N.Z)(b,[["render",F],["__scopeId","data-v-1ac2c314"]]);var x=S}}]);