OrderComment-9460272e.js 2.2 KB

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