1 |
- import{d as F,r as E,b,a as x,o as s,c as e,Q as D,B as a,E as l,f as j,a2 as L,D as P,F as I,dA as S,L as A,M as B,__tla as M}from"./index-a9d538d5.js";import{E as O,__tla as Q}from"./el-image-2dadd73e.js";import{__tla as q}from"./el-image-viewer-2e77a3e7.js";import{e as G,__tla as H}from"./spu-df5e2077.js";import{c as J,__tla as K}from"./index-ab25a150.js";import{u as R,__tla as T}from"./useMessage-d5cbbfad.js";import{_ as V}from"./_plugin-vue_export-helper-1b428a4d.js";let N,W=Promise.all([(()=>{try{return M}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return T}catch{}})()]).then(async()=>{let _,m,u,d,y,f,h,v,g;_={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"},h={class:"product-model"},v=(r=>(A("data-v-c767a034"),r=r(),B(),r))(()=>a("p",{class:"first-review"},"\u9996\u8BC4",-1)),g=["title"],N=V(F({__name:"Comment",props:{propFormData:{type:Object,default:()=>({})}},setup(r){const U=r,i=E({logs:[]}),k=U.propFormData.id,w=R();return b(async()=>{(async()=>{if(k){const o=await G({pageNo:1,pageSize:100,spuId:k});o||w.error("\u4EA4\u6613\u5546\u54C1\u4E0D\u5B58\u5728"),i.value.list=o.list}})()}),(o,X)=>{const z=O;return x(i).list==""?(s(),e("div",_," \u8BE5\u5546\u54C1\u6682\u65E0\u8BC4\u8BBA ")):(s(!0),e(I,{key:1},D(x(i).list,t=>(s(),e("div",{class:"container",key:t},[a("h3",m,l(t.descriptionScores)+"\u661F",1),a("div",u,[t.picUrls!=""&&t.picUrls!=null?(s(),e("div",d,[a("div",y,[j(z,{src:"item.picUrls[0]",class:"image",onClick:c=>(n=>{const p=[];S(n)?n.forEach(C=>{p.push(C)}):p.push(n),J({urlList:p,zIndex:9999})})(t.picUrls),style:{width:"100%",height:"100%"}},null,8,["onClick"])])])):L("",!0),a("div",f,[a("p",h,[P("\u578B\u53F7\uFF1A"+l(t.spuName)+"-",1),(s(!0),e(I,null,D(t.skuProperties,c=>(s(),e("span",{key:c.propertyId},l(c.propertyName)+"-"+l(c.valueName),1))),128))]),v,a("p",{class:"comment",title:t.content},"\u8BC4\u8BED\uFF1A"+l(t.content),9,g)])])]))),128))}}}),[["__scopeId","data-v-c767a034"]])});export{W as __tla,N as default};
|