|
|
-import{d as F,r as N,l as I,a as P,o as e,c as s,q as h,g as t,t as r,P as b,n as j,F as w,p as C,k as S,_ as U,__tla as q}from"./index-5b58432d.js";import{b as O,__tla as A}from"./spu-4c95f857.js";import{u as B,__tla as E}from"./useMessage-b110eee2.js";let z,G=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return E}catch{}})()]).then(async()=>{let n,p,m,_,d,u,y,v,f,g;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"],y={class:"details"},v={class:"product-model"},f=(l=>(C("data-v-aa900e72"),l=l(),S(),l))(()=>t("p",{class:"first-review"},"\u9996\u8BC4",-1)),g=["title"],z=U(F({__name:"Comment",props:{propFormData:{type:Object,default:()=>({})}},setup(l){const k=l,o=N({logs:[]}),x=k.propFormData.id,D=B();return I(async()=>{console.log(k.propFormData),(async()=>{if(x){const c=await O({pageNo:1,pageSize:100,spuId:x});c||D.error("\u4EA4\u6613\u5546\u54C1\u4E0D\u5B58\u5728"),o.value.list=c.list}})()}),(c,H)=>P(o).list==""?(e(),s("div",n," \u8BE5\u5546\u54C1\u6682\u65E0\u8BC4\u8BBA ")):(e(!0),s(w,{key:1},h(P(o).list,a=>(e(),s("div",{class:"container",key:a},[t("h3",p,r(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)])])):b("",!0),t("div",y,[t("p",v,[j("\u578B\u53F7\uFF1A"+r(a.spuName)+"-",1),(e(!0),s(w,null,h(a.skuProperties,i=>(e(),s("span",{key:i.propertyId},r(i.propertyName)+"-"+r(i.valueName),1))),128))]),f,t("p",{class:"comment",title:a.content},"\u8BC4\u8BED\uFF1A"+r(a.content),9,g)])])]))),128))}}),[["__scopeId","data-v-aa900e72"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/product/spu/components/Comment.vue"]])});export{G as __tla,z as default};
|