OrderComment-76d79f28.js 2.2 KB

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