import{a as x,_ as C}from"./index-sxX6oYqj.js";/* empty css                   *//* empty css                        *//* empty css                  */import{d as w,b as l,r as y,c as z,M as S,O as t,aS as B,a1 as e,$ as u,W as d,N as E,_ as N}from"./vue-ChXMuCsz.js";import{o as m,y as q,r as D,k as P}from"./element-plus-xvP3-5Ws.js";import"./vue-router-CTTnLdLz.js";import"./element-plus/icons-vue-2sk4hdpg.js";const T="/plugins/zxl_pm/assets/qrcode-C9AHtBgT.png",V="/plugins/zxl_pm/assets/link-jvXGqcyR.png",A={class:"app-container"},U={class:"share-container"},$={class:"invited-users"},j={class:"invited-summary"},M=w({__name:"index",setup(G){const p=l(1),r=l(10),v=l(0);l(1);const i=y([{phone:"135****1452",name:"张三",date:"2025-04-18 16:20:00",points:150},{phone:"134****6587",name:"李四",date:"2025-04-18 16:20:00",points:100},{phone:"131****4714",name:"王五",date:"2025-04-18 16:20:00",points:20}]),c=()=>{},_=z(()=>i.reduce((o,a)=>o+a.points,0)),g=()=>{m.success("链接已复制")},h=o=>{m.success(`下载用户 ${o.name} 的邀请信息`)};return(o,a)=>{const n=D,b=P,f=q,k=x;return E(),S("div",A,[t("div",U,[a[6]||(a[6]=B('<div class="share-header" data-v-70269d99><h2 data-v-70269d99>ADAP邀请礼</h2><p data-v-70269d99>本月邀请二位加赠100积分</p></div><div class="invite-card" data-v-70269d99><p data-v-70269d99><span class="highlight" data-v-70269d99>每邀请一位用户可得100积分</span><br data-v-70269d99><span class="description" data-v-70269d99>邀请后需转发人入户分享金额，可用于积分商城兑换服务。</span><br data-v-70269d99><span class="description" data-v-70269d99>最高可获得5000积分。</span></p></div>',2)),t("div",{class:"share-actions"},[a[4]||(a[4]=t("div",{class:"qr-code-container"},[t("div",{class:"qr-code-placeholder"},[t("img",{src:T,alt:""})]),t("p",null,"二维码分享")],-1)),t("div",{class:"link-container"},[t("div",{class:"link-placeholder",onClick:g},[...a[2]||(a[2]=[t("img",{src:V,alt:""},null,-1)])]),a[3]||(a[3]=t("p",null,"复制链接",-1))])]),t("div",$,[t("div",j,[t("span",null,"已邀请人数: "+u(i.length),1),t("span",null,"已获得积分: "+u(_.value),1)]),e(f,{data:i,style:{width:"100%"},border:""},{default:d(()=>[e(n,{prop:"phone",label:"手机号",width:"120",align:"center"}),e(n,{prop:"name",label:"用户昵称",width:"120",align:"center"}),e(n,{prop:"date",label:"注册日期","min-width":"180",align:"center"}),e(n,{prop:"points",label:"获得积分",width:"100",align:"center"}),e(n,{label:"操作",width:"80",align:"center"},{default:d(s=>[e(b,{link:"",type:"primary",onClick:H=>h(s.row)},{default:d(()=>[...a[5]||(a[5]=[N("下载",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"]),t("div",null,[e(k,{"current-page":p.value,"onUpdate:currentPage":a[0]||(a[0]=s=>p.value=s),"page-size":r.value,"onUpdate:pageSize":a[1]||(a[1]=s=>r.value=s),"page-sizes":[10,20,30,40],layout:"total, prev, pager, next, sizes, jumper",total:v.value,onCurrentChange:c,onSizeChange:c},null,8,["current-page","page-size","total"])])])])])}}}),K=C(M,[["__scopeId","data-v-70269d99"]]);export{K as default};
