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