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,mn as f,t as p}from"./_plugin-vue_export-helper-C0lsYS1a.js";import"./style-Bvb0L3Ww.js";import{i as m,r as h,t as g}from"./GxPagination-DaT0MOF0.js";import{t as _}from"./message-Bn2oVZM9.js";import{t as v}from"./button-CTBy3KbX.js";/* empty css            *//* empty css            *//* empty css            */var y={class:`app-container`},b={class:`share-container`},x={class:`invited-users`},S={class:`invited-summary`},C=p(r({__name:`index`,setup(r){let f=o(1),p=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=()=>{_.success(`链接已复制`)},O=e=>{_.success(`下载用户 ${e.name} 的邀请信息`)};return(r,a)=>{let o=m,c=v,_=h,k=g;return s(),n(`div`,y,[t(`div`,b,[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`,x,[t(`div`,S,[t(`span`,null,`已邀请人数: `+l(w.length),1),t(`span`,null,`已获得积分: `+l(E.value),1)]),e(_,{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":p.value,"onUpdate:pageSize":a[1]||=e=>p.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{C as default};