|
|
-import{d as F,r as N,l as P,a as b,o as e,c as s,q as h,g as t,t as r,Q as I,n as j,F as w,p as C,k as S,_ as U,__tla as q}from"./index-7c994195.js";import{b as O,__tla as Q}from"./spu-91690476.js";import{u as A,__tla as B}from"./useMessage-c16514a8.js";let z,E=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return B}catch{}})()]).then(async()=>{let n,p,m,_,u,d,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"},u={class:"image"},d=["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=A();return P(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,G)=>b(o).list==""?(e(),s("div",n," \u8BE5\u5546\u54C1\u6682\u65E0\u8BC4\u8BBA ")):(e(!0),s(w,{key:1},h(b(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",u,[t("img",{src:a.skuPicUrl,alt:"\u8BC4\u4EF7\u56FE\u7247"},null,8,d)])])):I("",!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-business/src/views/mall/product/spu/components/Comment.vue"]])});export{E as __tla,z as default};
|