"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[6339],{96339:function(e,t,s){s.r(t),s.d(t,{default:function(){return S}});var l=s(66252),o=s(3577),r=s(49963);const a=e=>((0,l.dD)("data-v-64f7cd5d"),e=e(),(0,l.Cn)(),e),n={class:"otherUsers"},i=a((()=>(0,l._)("div",{class:"otherUsers_page_titleImg"},null,-1))),_={class:"otherUsers_userDetail"},u={class:"otherUsers_userDetail_img"},c=["src"],d={class:"otherUsers_userDetail_center"},w={class:"otherUsers_userDetail_center_name modal_title_text"},v={class:"otherUsers_userDetail_center_data"},m={class:"userDetail_center_data_item modal_title_text"},p={class:"modal_title_text_intro"},h={class:"userDetail_center_data_item modal_title_text"},C={class:"modal_title_text_intro"},f={class:"userDetail_center_data_item modal_title_text"},D={class:"modal_title_text_intro"},U=a((()=>(0,l._)("div",{class:"otherUsers_userDetail_center_signature"},[(0,l._)("div",{class:"modal_title_text"})],-1))),k={class:"otherUser_works"},F={class:"otherUser_works_title modal_title_text"};function I(e,t,s,a,I,g){const x=(0,l.up)("Works");return(0,l.wg)(),(0,l.iD)("div",n,[i,(0,l._)("div",_,[(0,l._)("div",u,[(0,l._)("img",{src:e.userContent.avatar,alt:""},null,8,c)]),(0,l._)("div",d,[(0,l._)("div",w,[(0,l._)("div",null,(0,o.zw)(e.userContent.userName),1),0==e.userContent?.isFollow?((0,l.wg)(),(0,l.iD)("div",{key:0,onClick:t[0]||(t[0]=(0,r.iM)((t=>e.setFollow(e.userContent)),["stop"])),class:"userDetail_center_name_left"},(0,o.zw)(e.$t("newScaleImage.Follow")),1)):((0,l.wg)(),(0,l.iD)("div",{key:1,onClick:t[1]||(t[1]=(0,r.iM)((t=>e.setFollow(e.userContent)),["stop"])),class:"userDetail_center_name_left"},(0,o.zw)(e.$t("newScaleImage.Unfollow")),1))]),(0,l._)("div",v,[(0,l._)("div",m,[(0,l._)("div",null,(0,o.zw)(e.userContent.portfolioCount),1),(0,l._)("span",p,(0,o.zw)(e.$t("account.works")),1)]),(0,l._)("div",h,[(0,l._)("div",null,(0,o.zw)(e.userContent.followerCount),1),(0,l._)("span",C,(0,o.zw)(e.$t("account.Fans")),1)]),(0,l._)("div",f,[(0,l._)("div",null,(0,o.zw)(e.userContent.followeeCount),1),(0,l._)("span",D,(0,o.zw)(e.$t("account.Follow")),1)])]),U])]),(0,l._)("div",k,[(0,l._)("div",F,[(0,l._)("div",null,(0,o.zw)(e.$t("account.hisWorks")),1)]),(0,l.Wm)(x,{isScroll:!1,otherUsers:!0,userId:e.userId},null,8,["userId"])])])}var g=s(2262),x=s(74961),z=s(22201),$=s(33907),V=s(38486),W=(0,l.aZ)({components:{Works:V["default"]},setup(){const e=(0,z.tv)();(0,$.oR)();let t=(0,g.qj)({userId:"0",userContent:{}}),s=e=>{let s={id:e};x.V.axiosGet(x.V.httpUrls.personalHomepage,{params:s}).then((e=>{e&&(t.userContent=e)}))},o=e=>{let s=x.V.httpUrls.porfolioFollow;1==e.isFollow&&(s=x.V.httpUrls.porfolioCancelFollow),x.V.axiosGet(s,{params:{followeeId:t.userId}}).then((t=>{1==e.isFollow?e.isFollow=0:e.isFollow=1}))};return(0,l.bv)((()=>{t.userId=e.currentRoute.value.query?.userId,setTimeout((()=>{s(t.userId)}),2e3)})),{...(0,g.BK)(t),setFollow:o}},data(){return{}}}),b=s(83744);const y=(0,b.Z)(W,[["render",I],["__scopeId","data-v-64f7cd5d"]]);var S=y}}]);