1import{S}from"./ReviewPanelsService-Dz7xZIos.js";import{_ as k,m as N,o as b,p as E,c as u,h,b as o,t as _,F as A,f as x,u as P,z as R,j as f,g}from"./index-GRB8Jcml.js";/* empty css */import{S as w,a as y,b as O}from"./snap_footer-B9eSqtLO.js";import"./UserService-B39Vk0W_.js";const D={name:"SnapList",components:{SNAP_MENU:w,SNAP_HEADER:y,SNAP_FOOTER:O},setup(){const s=N({data:{order_id:"",brand_name:"",price:0,price_promotion:0,creators:[],creators_count:0},package_id:""}),r=P();let v=()=>{S.readPackage(s.package_id).then(i=>{var l;console.log(i.data);const a=i.data,n=a==null?void 0:a.recommend;s.data.brand_name=(l=a==null?void 0:a.info)==null?void 0:l.brand_name,s.data.price_promotion=a==null?void 0:a.price,n&&(n.forEach(t=>{var p,e,d,c;s.data.order_id=t.order_id,s.data.price+=Number(t.display),s.data.creators.push({photo:(e=(p=t==null?void 0:t.photos)==null?void 0:p.latest_photo)==null?void 0:e.photo,link_id:(d=t==null?void 0:t.creator)==null?void 0:d.link_id,nickname:(c=t==null?void 0:t.creator)==null?void 0:c.nickname})}),s.data.creators_count=n==null?void 0:n.length)}).catch(i=>{console.log(i)})};return b(()=>{console.log("mounted!");let a=R().params;s.package_id=a.id,v()}),{router:r,...E(s)}}},F={class:"dashboard_body flex flex-col"},L={class:"contents_box w-full flex justify-start grow"},M={class:"contents_area grow p-8"},$={class:"con grow"},B={class:"contents_title"},H={class:"box"},T={class:"flex items-center !gap-1"},U={class:"font-bold text-lg"},j={class:"line-through mr-2"},V={class:"font-bold text-xl"},z={class:"listview grid grid-cols-8 gap-2 mt-10"},C=["href"],W=["src"],q={class:"flex flex-col creater_info"},G={style:{color:"white"}};function I(s,r,v,i,a,n){var e,d;const l=f("SNAP_HEADER"),t=f("SNAP_MENU"),p=f("SNAP_FOOTER");return g(),u("div",F,[h(l),o("div",L,[h(t),o("div",M,[o("div",$,[o("div",B,[r[0]||(r[0]=o("h1",null,"ì§í í¬ë¦¬ìì´í°",-1)),o("h2",null,"ì²´íë¨ ë²í¸ "+_(s.data.order_id),1)]),o("div",H,[o("div",T,[r[1]||(r[1]=o("div",null,"ì´",-1)),o("div",U,_(s.data.creators_count),1),r[2]||(r[2]=o("div",null,"ê±´",-1)),r[3]||(r[3]=o("div",{class:"mx-1"},"|",-1)),o("div",j,_((e=s.data.price)==null?void 0:e.toLocaleString())+"ì ",1),o("div",V," â©"+_((d=s.data.price_promotion)==null?void 0:d.toLocaleString()),1)]),o("div",z,[(g(!0),u(A,null,x(s.data.creators,(c,m)=>(g(),u("div",{class:"listview_con",key:m},[o("a",{href:"https://snapbox.ai/@"+c.link_id,target:"_blank"},[o("img",{src:c.photo},null,8,W)],8,C),o("div",q,[o("div",G,_(c.nickname),1)])]))),128))])])]),h(p)])])])}const Z=k(D,[["render",I]]);export{Z as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.