OrderComment-08a8185b.js 2.2 KB

1
  1. import{d as L,ah as g,Z as M,L as P,r as O,l as j,a as x,o as a,c as e,v as w,F as U,h as s,t as l,g as D,Q as F,n as Q,b0 as S,p as Z,k as q,_ as A,__tla as B}from"./index-52b99925.js";import{E as G,__tla as H}from"./el-image-9d9dde0a.js";import{__tla as J}from"./el-image-viewer-8d62bae1.js";import{h as K,__tla as R}from"./index-e4080718.js";import{c as T,__tla as V}from"./index-2375ba8a.js";import{u as W,__tla as X}from"./useMessage-c41e583e.js";let b,Y=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,h,y,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"},h={class:"details"},y={class:"product-model"},f=(r=>(Z("data-v-1c4611f4"),r=r(),q(),r))(()=>s("p",{class:"first-review"},"\u9996\u8BC4",-1)),v=["title"],b=A(L({__name:"OrderComment",props:{id:g.number.def(void 0),showPickUp:g.bool.def(!0)},setup(r){const z=M();P(()=>z.getMobile);const C=r,o=O({logs:[]}),k=C.id,I=W();return j(async()=>{(async()=>{if(k){const n=await K(k);n||I.error("\u4EA4\u6613\u8BA2\u5355\u4E0D\u5B58\u5728"),o.value=n}})()}),(n,$)=>{const N=G;return x(o).total?(a(!0),e(U,{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!=""&&t.picUrls!=null?(a(),e("div",u,[D(N,{src:t.picUrls[0],class:"image",onClick:c=>(i=>{const _=[];S(i)?i.forEach(E=>{_.push(E)}):_.push(i),T({urlList:_,zIndex:2040})})(t.picUrls),style:{width:"100%",height:"100%"}},null,8,["src","onClick"])])):F("",!0),s("div",h,[s("p",y,[Q("\u578B\u53F7\uFF1A"+l(t.spuName)+"-",1),(a(!0),e(U,null,w(t.skuProperties,c=>(a(),e("span",{key:c.propertyId},l(c.propertyName)+"-"+l(c.valueName),1))),128))]),f,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{Y as __tla,b as default};