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