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