import{A as e,C as t,E as n,M as r,O as i,S as a,St as o,X as s,bt as c,cn as l,dt as u,k as d,t as f}from"./_plugin-vue_export-helper-9JxOV_6y.js";import"./style-uQ45SeWa.js";import{i as p,r as m,t as h}from"./GxPagination-1gJXbpdv.js";import{t as g}from"./message-Df5xzlPy.js";import{t as _}from"./button-CENWFHkZ.js";/* empty css            *//* empty css            *//* empty css            */var v={class:`app-container`},y={class:`share-container`},b={class:`invited-users`},x={class:`invited-summary`},S=f(r({__name:`index`,setup(r){let f=o(1),S=o(10),C=o(0);o(1);let w=c([{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}]),T=()=>{},E=a(()=>w.reduce((e,t)=>e+t.points,0)),D=()=>{g.success(`链接已复制`)},O=e=>{g.success(`下载用户 ${e.name} 的邀请信息`)};return(r,a)=>{let o=p,c=_,g=m,k=h;return s(),n(`div`,v,[t(`div`,y,[a[6]||=i(`<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]||=t(`div`,{class:`qr-code-container`},[t(`div`,{class:`qr-code-placeholder`},[t(`img`,{src:`https://static.adap.com.cn/plugins/zxl_pm/assets/qrcode-C9AHtBgT.png`,alt:``})]),t(`p`,null,`二维码分享`)],-1),t(`div`,{class:`link-container`},[t(`div`,{class:`link-placeholder`,onClick:D},[...a[2]||=[t(`img`,{src:`https://static.adap.com.cn/plugins/zxl_pm/assets/link-jvXGqcyR.png`,alt:``},null,-1)]]),a[3]||=t(`p`,null,`复制链接`,-1)])]),t(`div`,b,[t(`div`,x,[t(`span`,null,`已邀请人数: `+l(w.length),1),t(`span`,null,`已获得积分: `+l(E.value),1)]),e(g,{data:w,style:{width:`100%`},border:``},{default:u(()=>[e(o,{prop:`phone`,label:`手机号`,width:`120`,align:`center`}),e(o,{prop:`name`,label:`用户昵称`,width:`120`,align:`center`}),e(o,{prop:`date`,label:`注册日期`,"min-width":`180`,align:`center`}),e(o,{prop:`points`,label:`获得积分`,width:`100`,align:`center`}),e(o,{label:`操作`,width:`80`,align:`center`},{default:u(t=>[e(c,{link:``,type:`primary`,onClick:e=>O(t.row)},{default:u(()=>[...a[5]||=[d(`下载`,-1)]]),_:1},8,[`onClick`])]),_:1})]),_:1},8,[`data`]),t(`div`,null,[e(k,{"current-page":f.value,"onUpdate:currentPage":a[0]||=e=>f.value=e,"page-size":S.value,"onUpdate:pageSize":a[1]||=e=>S.value=e,"page-sizes":[10,20,30,40],layout:`total, prev, pager, next, sizes, jumper`,total:C.value,onCurrentChange:T,onSizeChange:T},null,8,[`current-page`,`page-size`,`total`])])])])])}}}),[[`__scopeId`,`data-v-70269d99`]]);export{S as default};