OrderComment-3a8c5c60.js 2.2 KB

1
  1. import{d as E,ag as g,Y as M,K as O,r as j,l as q,a as w,o as a,c as e,q as x,F as U,g as s,t as l,f as D,P as F,n as H,av as K,p as L,k as R,_ as S,__tla as X}from"./index-11e4820e.js";import{E as Y,__tla as A}from"./el-image-17e8bc54.js";import{__tla as B}from"./el-image-viewer-c4f5814f.js";import{h as G,__tla as J}from"./index-85087f4c.js";import{c as Q,__tla as T}from"./index-4203485c.js";import{u as V,__tla as W}from"./useMessage-06ddf735.js";let C,Z=Promise.all([(()=>{try{return X}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return W}catch{}})()]).then(async()=>{let p,m,d,u,f,y,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"},f={class:"details"},y={class:"product-model"},h=(r=>(L("data-v-1c4611f4"),r=r(),R(),r))(()=>s("p",{class:"first-review"},"\u9996\u8BC4",-1)),v=["title"],C=S(E({__name:"OrderComment",props:{id:g.number.def(void 0),showPickUp:g.bool.def(!0)},setup(r){const P=M();O(()=>P.getMobile);const b=r,o=j({logs:[]}),k=b.id,z=V();return q(async()=>{(async()=>{if(k){const n=await G(k);n||z.error("\u4EA4\u6613\u8BA2\u5355\u4E0D\u5B58\u5728"),o.value=n}})()}),(n,$)=>{const I=Y;return w(o).total?(a(!0),e(U,{key:1},x(w(o).list,t=>(a(),e("div",{class:"container",key:t},[s("h3",m,l(t.descriptionScores)+"\u661F",1),s("div",d,[t.picUrls!=""&&t.picUrls!=null?(a(),e("div",u,[D(I,{src:t.picUrls[0],class:"image",onClick:c=>(i=>{const _=[];K(i)?i.forEach(N=>{_.push(N)}):_.push(i),Q({urlList:_,zIndex:2040})})(t.picUrls),style:{width:"100%",height:"100%"}},null,8,["src","onClick"])])):F("",!0),s("div",f,[s("p",y,[H("\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,s("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-1c4611f4"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mall/trade/order/components/OrderComment.vue"]])});export{Z as __tla,C as default};