Comment-0718ca3a.js 1.7 KB

1
  1. import{d as I,af as h,r as j,k as z,a as P,o as e,c as s,n as x,F as b,g as t,t as l,O as C,m as F,p as O,j as S,__tla as q}from"./index-2eab2d23.js";import{b as A,__tla as B}from"./index-3562b2a3.js";import{u as D,__tla as E}from"./useMessage-171aa63e.js";import{_ as G}from"./_plugin-vue_export-helper-1b428a4d.js";let w,H=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return E}catch{}})()]).then(async()=>{let n,p,m,_,d,u,f,y,v,k;n={key:0,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},p={class:"rating-title"},m={class:"content"},_={key:0,class:"content-image"},d={class:"image"},u=["src"],f={class:"details"},y={class:"product-model"},v=(r=>(O("data-v-a2f07083"),r=r(),S(),r))(()=>t("p",{class:"first-review"},"\u9996\u8BC4",-1)),k=["title"],w=G(I({__name:"Comment",props:{id:h.number.def(void 0),showPickUp:h.bool.def(!0)},setup(r){const N=r,c=j({logs:[]}),g=N.id,U=D();return z(async()=>{(async()=>{if(g){const i=await A(g);i||U.error("\u4EA4\u6613\u5546\u54C1\u4E0D\u5B58\u5728"),c.value=i}})()}),(i,J)=>P(c).total?(e(!0),s(b,{key:1},x(P(c).list,a=>(e(),s("div",{class:"container",key:a},[t("h3",p,l(a.descriptionScores)+"\u661F",1),t("div",m,[a.skuPicUrl!=""?(e(),s("div",_,[t("div",d,[t("img",{src:a.skuPicUrl,alt:"\u8BC4\u4EF7\u56FE\u7247"},null,8,u)])])):C("",!0),t("div",f,[t("p",y,[F("\u578B\u53F7\uFF1A"+l(a.spuName)+"-",1),(e(!0),s(b,null,x(a.skuProperties,o=>(e(),s("span",{key:o.propertyId},l(o.propertyName)+"-"+l(o.valueName),1))),128))]),v,t("p",{class:"comment",title:a.content},"\u8BC4\u8BED\uFF1A"+l(a.content),9,k)])])]))),128)):(e(),s("div",n," \u8BE5\u5546\u54C1\u6682\u65E0\u8BC4\u8BBA "))}}),[["__scopeId","data-v-a2f07083"]])});export{H as __tla,w as default};