import{D as e,O as t,S as n,St as r,T as i,Y as a,bt as o,cn as s,dt as c,j as l,k as u,x as d}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import{t as f}from"./GxPagination-DOexUzbO.js";import{n as p,t as m}from"./table-C_Bpc8FZ.js";import{t as h}from"./message-XPlwcXDH.js";import{t as g}from"./button-CHjzS7b0.js";import{t as _}from"./_plugin-vue_export-helper-CnS4QQza.js";import"./css-DunA3L7q.js";import"./css-ropEN6qH.js";import"./css-BrGVMe3H.js";var v={class:`app-container`},y={class:`share-container`},b={class:`invited-users`},x={class:`invited-summary`},S=_(l({__name:`index`,setup(l){let _=r(1),S=r(10),C=r(0);r(1);let w=o([{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=d(()=>w.reduce((e,t)=>e+t.points,0)),D=()=>{h.success(`链接已复制`)},O=e=>{h.success(`下载用户 ${e.name} 的邀请信息`)};return(r,o)=>{let l=p,d=g,h=m,k=f;return a(),i(`div`,v,[n(`div`,y,[o[6]||=e(`<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),n(`div`,{class:`share-actions`},[o[4]||=n(`div`,{class:`qr-code-container`},[n(`div`,{class:`qr-code-placeholder`},[n(`img`,{src:`https://static.adap.com.cn/plugins/zxl_pm/assets/qrcode-C9AHtBgT.png`,alt:``})]),n(`p`,null,`二维码分享`)],-1),n(`div`,{class:`link-container`},[n(`div`,{class:`link-placeholder`,onClick:D},[...o[2]||=[n(`img`,{src:`https://static.adap.com.cn/plugins/zxl_pm/assets/link-jvXGqcyR.png`,alt:``},null,-1)]]),o[3]||=n(`p`,null,`复制链接`,-1)])]),n(`div`,b,[n(`div`,x,[n(`span`,null,`已邀请人数: `+s(w.length),1),n(`span`,null,`已获得积分: `+s(E.value),1)]),u(h,{data:w,style:{width:`100%`},border:``},{default:c(()=>[u(l,{prop:`phone`,label:`手机号`,width:`120`,align:`center`}),u(l,{prop:`name`,label:`用户昵称`,width:`120`,align:`center`}),u(l,{prop:`date`,label:`注册日期`,"min-width":`180`,align:`center`}),u(l,{prop:`points`,label:`获得积分`,width:`100`,align:`center`}),u(l,{label:`操作`,width:`80`,align:`center`},{default:c(e=>[u(d,{link:``,type:`primary`,onClick:t=>O(e.row)},{default:c(()=>[...o[5]||=[t(`下载`,-1)]]),_:1},8,[`onClick`])]),_:1})]),_:1},8,[`data`]),n(`div`,null,[u(k,{"current-page":_.value,"onUpdate:currentPage":o[0]||=e=>_.value=e,"page-size":S.value,"onUpdate:pageSize":o[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};