OrderComment-8c4cbe40.js 2.2 KB

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