1 |
- import{d as b,r as P,l as U,a as w,o as e,c as s,q as z,g as t,t as l,f as j,P as E,n as S,F as C,av as q,p as L,k as O,_ as A,__tla as B}from"./index-bd9277a1.js";import{E as G,__tla as H}from"./el-image-c6b72263.js";import{__tla as J}from"./el-image-viewer-995341ab.js";import{b as K,__tla as M}from"./spu-1de6da31.js";import{c as Q,__tla as R}from"./index-b80ba4d7.js";import{u as T,__tla as V}from"./useMessage-274788d4.js";let D,W=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return R}catch{}})(),(()=>{try{return V}catch{}})()]).then(async()=>{let _,m,u,d,y,f,g,h,v;_={key:0,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},m={class:"rating-title"},u={class:"content"},d={key:0,class:"content-image"},y={class:"image"},f={class:"details"},g={class:"product-model"},h=(r=>(L("data-v-aa900e72"),r=r(),O(),r))(()=>t("p",{class:"first-review"},"\u9996\u8BC4",-1)),v=["title"],D=A(b({__name:"Comment",props:{propFormData:{type:Object,default:()=>({})}},setup(r){const k=r,c=P({logs:[]}),x=k.propFormData.id,F=T();return U(async()=>{console.log(k.propFormData),(async()=>{if(x){const i=await K({pageNo:1,pageSize:100,spuId:x});i||F.error("\u4EA4\u6613\u5546\u54C1\u4E0D\u5B58\u5728"),c.value.list=i.list}})()}),(i,X)=>{const I=G;return w(c).list==""?(e(),s("div",_," \u8BE5\u5546\u54C1\u6682\u65E0\u8BC4\u8BBA ")):(e(!0),s(C,{key:1},z(w(c).list,a=>(e(),s("div",{class:"container",key:a},[t("h3",m,l(a.descriptionScores)+"\u661F",1),t("div",u,[a.picUrls!=""?(e(),s("div",d,[t("div",y,[j(I,{src:a.picUrls[0],class:"image",onClick:o=>(n=>{const p=[];q(n)?n.forEach(N=>{p.push(N)}):p.push(n),Q({urlList:p,zIndex:9999})})(a.picUrls),style:{width:"100%",height:"100%"}},null,8,["src","onClick"])])])):E("",!0),t("div",f,[t("p",g,[S("\u578B\u53F7\uFF1A"+l(a.spuName)+"-",1),(e(!0),s(C,null,z(a.skuProperties,o=>(e(),s("span",{key:o.propertyId},l(o.propertyName)+"-"+l(o.valueName),1))),128))]),h,t("p",{class:"comment",title:a.content},"\u8BC4\u8BED\uFF1A"+l(a.content),9,v)])])]))),128))}}}),[["__scopeId","data-v-aa900e72"],["__file","D:/zhongxing/mall-newfeifan-zx-admin/src/views/mall/product/spu/components/Comment.vue"]])});export{W as __tla,D as default};
|