import{_ as y,u as k,r as S,a as C,o as I,b as o,c as i,d as s,t as n,F as d,e as c,f as h,g as _,n as P}from"./index-D0Tcm3GV.js";import{g as N,a as w}from"./social-CLU7UOge.js";const x={class:"social-home"},F={class:"hero-shell"},L={class:"topbar"},M={class:"brand"},A={class:"hero-grid"},B={class:"hero-main"},E={class:"tagline"},R={class:"audience"},V={class:"highlight-grid"},D={class:"highlight-badge"},O={class:"hero-side"},U={class:"channel-panel"},Z={class:"channel-list"},z={class:"channel-row"},G={class:"roadmap-panel"},T={class:"roadmap-list"},j={class:"profiles-panel"},K={class:"profile-grid"},Y={key:0},$={class:"profile-meta"},q={class:"profile-bio"},H={key:0,class:"profile-card empty-card"},J={__name:"index",setup(Q){const u=k(),l=S({productName:"Zoumh Social",tagline:"让真实资料、双向匹配和安全审核成为交友产品的基础设施。",audience:"先聚焦城市年轻单身用户，通过小程序拉新、安卓端沉淀、后台运营提效。",channels:[],features:[],roadmap:[]}),r=C([]);function p(){u.push("/login")}function g(){u.push("/register")}function b(e){return e==="M"?"男生":e==="F"?"女生":"未设置"}function v(e){return e==="SERIOUS"?"认真交往":e==="MAKE_FRIENDS"?"先认识看看":e==="ACTIVITY"?"同城活动":"交友中"}function f(e){return e?{backgroundImage:`url(${e})`,backgroundSize:"cover",backgroundPosition:"center"}:{}}return I(async()=>{try{const e=await N();Object.assign(l,e.data||{})}catch{l.channels=[{name:"后台管理端",role:"运营中台",status:"已接入",description:"负责审核、推荐位、活动与风控"},{name:"微信小程序",role:"拉新入口",status:"规划中",description:"用于快速注册、轻互动与分享传播"},{name:"安卓 App",role:"主使用端",status:"规划中",description:"用于推荐、匹配、聊天和会员权益"}],l.features=[{title:"真实资料卡",description:"资料审核、标签系统和交友目标构成核心身份页。",badge:"Profile"},{title:"双向匹配",description:"喜欢与跳过并存，先匹配再深入互动。",badge:"Match"},{title:"运营推荐流",description:"支持城市活动、主题推荐和用户分层运营。",badge:"Growth"}],l.roadmap=[{stage:"第一阶段",goal:"完成项目换壳和运营骨架",status:"进行中"},{stage:"第二阶段",goal:"落资料、推荐、匹配能力",status:"待启动"}]}try{const e=await w();r.value=e.data||[]}catch{r.value=[]}}),(e,a)=>(o(),i("div",x,[a[7]||(a[7]=s("div",{class:"ambient ambient-left"},null,-1)),a[8]||(a[8]=s("div",{class:"ambient ambient-right"},null,-1)),s("section",F,[s("header",L,[s("div",M,[a[1]||(a[1]=s("span",{class:"brand-mark"},"Z",-1)),s("div",null,[s("strong",null,n(l.productName),1),a[0]||(a[0]=s("small",null,"社交交友项目升级中",-1))])]),s("div",{class:"top-actions"},[s("button",{type:"button",class:"ghost-btn",onClick:p},"进入后台"),s("button",{type:"button",class:"primary-btn",onClick:g},"立即体验")])]),s("main",A,[s("article",B,[a[2]||(a[2]=s("p",{class:"eyebrow"},"Social Dating Platform",-1)),s("h1",null,n(l.productName),1),s("p",E,n(l.tagline),1),s("p",R,n(l.audience),1),s("div",{class:"hero-actions"},[s("button",{type:"button",class:"primary-btn",onClick:g},"注册体验"),s("button",{type:"button",class:"ghost-btn",onClick:p},"管理后台")]),s("div",V,[(o(!0),i(d,null,c(l.features,t=>(o(),i("div",{key:t.title,class:"highlight-card"},[s("span",D,n(t.badge),1),s("strong",null,n(t.title),1),s("p",null,n(t.description),1)]))),128))])]),s("aside",O,[s("section",U,[a[3]||(a[3]=s("div",{class:"panel-head"},[s("p",null,"三端结构"),s("span",null,"One Backend")],-1)),s("div",Z,[(o(!0),i(d,null,c(l.channels,t=>(o(),i("div",{key:t.name,class:"channel-card"},[s("div",z,[s("strong",null,n(t.name),1),s("em",null,n(t.status),1)]),s("small",null,n(t.role),1),s("p",null,n(t.description),1)]))),128))])]),s("section",G,[a[4]||(a[4]=s("div",{class:"panel-head"},[s("p",null,"项目路线"),s("span",null,"MVP")],-1)),s("div",T,[(o(!0),i(d,null,c(l.roadmap,t=>(o(),i("div",{key:t.stage,class:"roadmap-item"},[s("strong",null,n(t.stage),1),s("p",null,n(t.goal),1),s("small",null,n(t.status),1)]))),128))])])])]),s("section",j,[a[6]||(a[6]=s("div",{class:"panel-head profiles-head"},[s("div",null,[s("p",null,"Featured Profiles"),s("h2",null,"首页资料卡")]),s("span",null,"已审核通过用户")],-1)),s("div",K,[(o(!0),i(d,null,c(h(r),t=>{var m;return o(),i("article",{key:t.profileId,class:"profile-card"},[s("div",{class:"profile-avatar",style:P(f(t.avatarUrl))},[t.avatarUrl?_("",!0):(o(),i("span",Y,n(((m=t.nickname)==null?void 0:m.slice(0,1))||"Z"),1))],4),s("div",$,[s("strong",null,n(t.nickname),1),s("small",null,n(b(t.gender))+" · "+n(t.cityCode||"城市待完善"),1),s("em",null,n(v(t.relationshipGoal)),1),s("p",null,n(t.profession||"职业待完善"),1),s("p",q,n(t.bio||"这个用户还在完善个人介绍。"),1)])])}),128)),h(r).length?_("",!0):(o(),i("article",H,[...a[5]||(a[5]=[s("div",{class:"profile-meta"},[s("strong",null,"还没有已上架资料"),s("p",{class:"profile-bio"},"先去后台的“资料中心”录入几条审核通过的用户资料，首页这里就会自动展示。")],-1)])]))])])])]))}},ss=y(J,[["__scopeId","data-v-5465d2da"]]);export{ss as default};
