OrderComment-8fd64ccb.js 2.2 KB

1
  1. import{d as E,ah as g,b as j,e as M,r as F,z as L,a as b,o as a,c as s,C as x,F as U,k as e,t as l,i as O,l as S,m as $,a$ as q,v as A,x as B,__tla as D}from"./index-1e808f2e.js";import{E as G,__tla as H}from"./el-image-263fb014.js";import{__tla as J}from"./el-image-viewer-dddb6285.js";import{i as K,__tla as Q}from"./index-b776b94b.js";import{c as R,__tla as T}from"./index-b59955b6.js";import{u as V,__tla as W}from"./useMessage-5f9e8917.js";import{_ as X}from"./_plugin-vue_export-helper-1b428a4d.js";let w,Y=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return W}catch{}})()]).then(async()=>{let p,m,d,u,y,h,f,v;p={key:0,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},m={class:"rating-title"},d={class:"content"},u={key:0,class:"content-image"},y={class:"details"},h={class:"product-model"},f=(r=>(A("data-v-24b31175"),r=r(),B(),r))(()=>e("p",{class:"first-review"},"\u9996\u8BC4",-1)),v=["title"],w=X(E({__name:"OrderComment",props:{id:g.number.def(void 0),showPickUp:g.bool.def(!0)},setup(r){const C=j();M(()=>C.getMobile);const P=r,o=F({logs:[]}),k=P.id,z=V();return L(async()=>{(async()=>{if(k){const i=await K(k);i||z.error("\u4EA4\u6613\u8BA2\u5355\u4E0D\u5B58\u5728"),o.value=i}})()}),(i,Z)=>{const I=G;return b(o).total?(a(!0),s(U,{key:1},x(b(o).list,t=>(a(),s("div",{class:"container",key:t},[e("h3",m,l(t.descriptionScores)+"\u661F",1),e("div",d,[t.picUrls!=""&&t.picUrls!=null?(a(),s("div",u,[O(I,{src:t.picUrls[0],class:"image",onClick:c=>(n=>{const _=[];q(n)?n.forEach(N=>{_.push(N)}):_.push(n),R({urlList:_,zIndex:2050})})(t.picUrls),style:{width:"100%",height:"100%"}},null,8,["src","onClick"])])):S("",!0),e("div",y,[e("p",h,[$("\u578B\u53F7\uFF1A"+l(t.spuName)+"-",1),(a(!0),s(U,null,x(t.skuProperties,c=>(a(),s("span",{key:c.propertyId},l(c.propertyName)+"-"+l(c.valueName),1))),128))]),f,e("p",{class:"comment",title:t.content},"\u8BC4\u8BED\uFF1A"+l(t.content||"\u65E0"),9,v)])])]))),128)):(a(),s("div",p," \u8BE5\u8BA2\u5355\u6682\u65E0\u8BC4\u8BBA "))}}}),[["__scopeId","data-v-24b31175"]])});export{Y as __tla,w as default};