import{_ as e,c as a,f as i}from"./index-4c745ab9.js";import{o as t,a as s,g as l,e as d,h as m,t as r,k as c,F as o,u as n}from"./vendor-edc0678f.js";const v={class:"header"},u={key:0,class:"headerImg"},p={class:"fw-bold"},f={class:"headerList"},h={class:"item"},b={class:"itemName"},N={class:"item"},j={class:"itemNum fw-num"},_={class:"itemName"},O={class:"item"},D={class:"itemNum fw-num"},g={class:"itemName"},w=e({__name:"detailHeader",props:{headerObj:{type:Object,default:{}}},setup:e=>(i,n)=>{const w=a;return t(),s(o,null,[l("div",v,[e.headerObj.icon?d("",!0):(t(),s("div",u)),e.headerObj.icon?(t(),m(w,{key:1,filePath:e.headerObj.icon,class:"itemImg"},null,8,["filePath"])):d("",!0),l("div",p,r(e.headerObj.title),1)]),l("div",f,[l("div",h,[l("div",{class:"itemNum fw-num",style:c(e.headerObj.leftColor?"color: ".concat(e.headerObj.leftColor):"")},r(e.headerObj.leftNum),5),l("div",b,r(e.headerObj.leftName),1)]),l("div",N,[l("div",j,r(e.headerObj.centerNum),1),l("div",_,r(e.headerObj.centerName),1)]),l("div",O,[l("div",D,r(e.headerObj.rightNum),1),l("div",g,r(e.headerObj.rightName),1)])])],64)}},[["__scopeId","data-v-39b63324"]]),y={class:"detail"},I={class:"title fw-bold"},k={class:"item"},C={class:"itemName"},L={class:"item"},P={class:"itemName ff-num"},x={class:"item"},A={class:"itemName ff-num"},F={class:"item"},H={class:"itemName ff-num"},R={class:"item"},q={class:"itemName fw-num"},z={class:"item"},B={class:"itemName fw-num hightColor"},E=e({__name:"productDetail",props:{proDetail:{type:Object,default:{}}},setup:e=>(a,d)=>(t(),s("div",y,[l("div",I,r(n(i)("product_details")),1),l("div",k,[l("div",null,r(n(i)("product-details")),1),l("div",C,r(e.proDetail.title),1)]),l("div",L,[l("div",null,r(n(i)("project_progress")),1),l("div",P,r(e.proDetail.process)+"%",1)]),l("div",x,[l("div",null,r(n(i)("total_project")),1),l("div",A,r(e.proDetail.totalInvestAmount)+" "+r(e.proDetail.coin),1)]),l("div",F,[l("div",null,r(n(i)("balance")),1),l("div",H,r(e.proDetail.remainAmount)+" "+r(e.proDetail.coin),1)]),l("div",R,[l("div",null,r(n(i)("limit_number")),1),l("div",q,r(Number(e.proDetail.timeLimit)?Number(e.proDetail.timeLimit):n(i)("unlimited_purchase")),1)]),l("div",z,[l("div",null,r(n(i)("average_daily_income")),1),l("div",B,r(e.proDetail.avgRate)+"%",1)])]))},[["__scopeId","data-v-dd259de3"]]);export{w as D,E as P};
